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
Die perfekte Unterstützung für neue Raw-Formate hinzuzufügen ist relativ einfach. 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 aus 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 Wichtigste davon ist. Wenn sich dabei Informationen eventuell überschneiden, haben die Daten aus camconst.json Vorrang.
camconst.json umfasst folgende Informationen für 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, um einerseits schnell detaillierte Unterstützung neuer Raw-Formate zuzufügen, aber auch um die Unterstützung von Kameras zu verbessern, die in DCRaw nur unvollkommen unterstützt werden.
Needed Photos
To make the required measurements for perfect support, you will need to take several series of photos with specific settings:
- Each photo must be completely overexposed everywhere! Do this by pointing your camera at a bright light (e.g. the sky, a lamp), zooming in as needed, and increasing exposure time until everything is absolutely clipped. Of course shoot in raw mode. If your camera has several raw modes, use the full one, uncropped, lossless compression if possible.
- If your camera has built-in noise reduction, turn it off. Take a series of photos as described above, one photo for every ISO value your camera supports, making sure not to exceed an exposure time of 0.5s, using an aperture of f/8. As an example, for a typical camera you would end up with about 8 photos: ISO100, ISO200, ISO400, ISO800, ISO1600, ISO3200, ISO6400, ISO12800. New cameras often include intermediate ISO values, e.g. ISO160, ISO320, etc. If your camera includes such ISO values, it is important that you shoot them as well.
- If your camera has built-in noise reduction, turn it on. Take a second series of photos as described above, one photo for every ISO value your camera supports 1 stop apart, making sure that the exposure time in all cases is at least 2 seconds, not less, using an aperture of f/5.6. That's another about 8 photos.
- 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