Adding Support for New Raw Formats/de
Created for referencing.
Todo-List / State:
- Translation: open
- Content completely cleared: open
- Expression and didactics checked: open
- Spelling checked: open
Ready for publishing: no
Unterstützung neuer Raw-Formate zufügen
Es ist relativ einfach eine perfekte Unterstützung neuer Kameras hinzuzufügen. Du kannst das selbst erledigen oder du machst die notwendigen Fotos und sendest sie zu uns. Wir können dann die notwendigen Messungen selbst erledigen und die Unterstützung deiner Kamera hinzufügen.
Einführung
Um ein Raw-File richtig lesen zu können, müssen einige Dinge über das verwendete Format bekannt sein. RawTherapee holt sich diese Informationen von drei Orten:
- Aus dem integrierten DCRaw-Code,
- dem Raw-File selbst und
- aus dem Textfile mit der Bezeichnung camconst.json.
Die benötigten Informationen werden aus allen drei Quellen geholt, wobei camconst.json die mit der höchsten Priorität ist. Wenn sich aus den drei Quellen Informationen eventuell überschneiden, haben die Daten aus camconst.json Vorrang.
camconst.json umfasst folgende Informationen für (möglichst) jede Kombination aus Farbkanal, ISO und Blende eines jeden Kameramodells:
- Farbmatrizen für die Standardbeleuchtung D65 im DCRaw-Format
- Weiß- und Schwarzschwellen
- die rohe Ausschnittsgröße und der Offset um ungültige Zeilen und Spalten zu entfernen
- Größe und Offset des maskierten Bereichs aus denen Schwarzschwellen berechnet werden können
Deshalb ist camconst.json der Ort, wo einerseits schnell detaillierte Unterstützung neuer Raw-Formate zugefügt werden kann, aber auch die Unterstützung bereits vorhandener Kameras zu verbessern, falls sie in DCRaw nur unvollkommen unterstützt werden.
Benötigte Fotos
Um die erforderlichen Messungen für eine perfekte Kameraunterstützung zu machen, benötigt man verschiedene Fotoserien mit spezifischen Einstellungen:
- Jedes Foto muss vollständig, über das gesamte Bild hinweg überbelichtet sein! Du erreichst das, indem du die Kamera gegen eine helle Lichtquelle hältst. Zum Beispiel den Himmel oder eine Lampe. Zoome gegebenfalls hinein, falls das erforderlich ist und stelle die Belichtungszeit so groß ein, dass alle Bereiche im Bild vollständig überbelichtet sind. Verwende zum Fotografieren selbstverständlich das Raw-Format. Falls deine Kamera mehrere Raw-Betriebsarten unterstützt, nutze das, wo das Bild im größten Format vorliegt und wähle eine verlustlose Kompression, falls das einstellbar ist.
- Falls deine Kamera eine eingebaute Rauschminderung für das Raw besitzt (JPEG ist egal), dann schalte sie jetzt bitte ab. Mache nun eine Serie von Fotos, wie oben beschrieben (vollständig überbelichtet) für jeden ISO-Wert, der an der Kamera einstellbar ist. Die Blende soll auf 8 stehen und achte darauf, dass du genügend Licht hast, damit du die Überbelichtung deutlich erreichst, dabei aber eine Belichtungszeit von 1/2 Sekunde nicht überschreiten musst. Nehmen wir als Beispiel eine typische Kamera an, die folgende ISO-Einstellungen zulässt: ISO100, ISO200, ISO400, ISO800, ISO1600, ISO3200, ISO6400, ISO12800. Nimm in dem Fall also 8 Fotos auf. Neuere Kameras haben oft auch Zwischenwerte, wie ISO160, ISI320 usw. Nimm in so einem Fall auch für alle diese Zwischenwerte je ein Foto auf.
- Wenn Deine Kamera eine eingebaute Rauschminderung für Raw besitzt, dann schalte sie bitte jetzt ein und nimm eine zweite Serie von Bildern auf. Verfahre dabei wie oben, allerding stelle die Blende auf 5,6 und belichte grundsätzlich mit mindestens 2 Sekunden Belichtungszeit. Beim Beispiel von oben ergibt das weitere 8 Bilder.
- Some cameras scale raw values for larger apertures, particularly Canon and Nikon models. The only way to know whether your camera does this for sure is to take a photo and measure it. Take one photo using your lens's widest aperture, e.g. f/1.7, at ISO100 with long exposure noise reduction turned off, and send it to us along with the rest of the shots. If we detect that there is raw scaling (or if you detect it yourself if you do your own measurements) then we will ask you shoot a series of photos at every ISO value one stop apart, with an exposure time less than 0.5s, from the widest aperture your lens supports down every 1/3 of a stop until such an aperture where raw scaling is no longer performed. This could mean many photos. Handling raw scaling caused by large apertures is not very important so don't feel daunted by it, you don't need to do it even if your camera does do raw scaling, but if you have the time and bandwidth then it would be better to check for it.
At the very least, you should end up with a series of about 8 photos from point 1. It is recommended that you take photos for both points 1 and 2, leading to about 16 photos, plus the one raw scaling test photo from point 3. If it is found that your camera performs raw scaling, you could additionally take the needed series described in point 3, but since this could potentially mean many photos (e.g. 50 or more) it's not expected.
Compress all these photos, upload them to filebin.net and send us the full link either through our GitHub page or in the Forum.
Completely clipped photos can have amazing compression, don't forget to compress them (7-Zip, ZIP, bzip2, whatever) before uploading! As an example, 10 completely clipped Sony 7M2 raw files with long-exposure noise reduction disabled weigh 234MB but if you ZIP them you get a 1MB file.
Details
For exact documentation, detailing the required photos and instructions how to measure them, read the comments inside the camconst.json file: https://github.com/Beep6581/RawTherapee/blob/master/rtengine/camconst.json