Help with flat field correction

Removal of that green cast was what I was looking for. Not sure why I don’t see that happening on my copy…

Also, although I can get the files to load by renaming them to something else, like RAW; when I do that, the EXIF is lost. Exporting as DNG from LR preserves the EXIF.

Looking at dcraw’s supported cameras, the Kodak DCS460 is listed. So RawTherapee should be able to read the raws. I’m going to run them through dcraw directly to verify this, but, any other thoughts on configuration changes to Raw Therapee that could correct this? Or would it be a bug/feature request?

I don’t know if there is a valid way to detect whether a TIFF is a demosaiced or non-demosaiced file… That would be a prerequisite for support

The EXIF tag that would tell that is PhotmetricInterpretation…

Currently, desmosaiced TIFFs can be loaded. Raw TIFFs (at least the DCS460 ones) are not shown at all.

I will also try later with some EOS-1D raw TIFFs to see if those are handled any differently.

In my opinion it’s waste of time to try opening (tiff) raw files in RT. If you can convert them to dng and then open them, that’s fine, but most likely we will not add support for this old format in RT.

I can fork it and add my own, though, right? Seems like it shouldn’t be too bad since dcraw already supports these formats.

Well, if you go to the trouble to create a fully functional fork, you might as well create a pull request.

Did you try simply changing the extension to kdc?

I tried .dcs and .kdc. dcs is ignored, like TIF. kdc is treated like RAW or CR2 - no EXIF.

This seems to be specific to the Kodak DCS460 raw files. The EOS-1D raw .TIF files are read just fine.

You could try art, it uses a different metadata reader, maybe that works…

What’s art?

Oh. I see. It’s a fork. I’ll give that a shot. Thanks.

Same behavior with ART

I see some metadata, but they seem to be all in the “ImageDescription” field:


The DNG converter seems to be able to extract them from there, but neither exiv2 nor exiftool do it.

… on the other hand, the info is there and extracting it isn’t that hard…:


If you use the latest git master you should be able to see the metadata. And the flat-field correction seems to work just fine here…

OK. Thanks. Are there (Windows) builds from that, or just committed source?

Also, does that latest master recognized the files as they are OOC, or they still need to be renamed?

Windows nightly builds: ART-W64NightlyBuilds/ – Keybase.pub

And yes, you still have to rename the files.

HTH

Can you explain more about why the rename is required. RT does not ignore the Canon EOS 1D TIF raws. Here’s one of those, in case it’s helpful.C6CE3158.TIF (4.0 MB)

Because RT does not see it as a raw file but just as an image like a jpeg. You can see this if you try to set the demosaic method