I would like to share with everyone my limitless joy of using a new feature that has been recently added to RawTherapee (a powerful open source raw processor software
www.rawtherapee.com).
As an owner of Mamiya ZD, I've had griefs over the lens cast issues, as, I am sure, many of the medium format users.
The Flat Field correction tool in RawTherapee allows to fully correct the lens cast issue for
any of the currently supported cameras and for any, even misaligned lens.
Below are a few images illustrating the results of using this tool.
Correction is based on a reference Flat Field
raw image - a defocused photograph of a uniformly lit uniformly colored and toned subject, such as a matte piece of white paper.
Flat field data is blurred during the correction process using a user-selectable blur radius.
The calculations are performed on linear raw image data; algorithm is smart to normalize the white balance of the raw image (in the spot of the automatically located projection of the optical center even for misaligned lens mounts).
This allows for the same flat field file to be reused for correction of images shot under varying lighting conditions.
Corrections are done on the fly, without intermediate steps involving copies of the original file; original raw file can be flat-field corrected during the RawTherapee development process itself.
Flat Fields are characterized by the Camera Make & Model, Lens, aperture and Date&Time of the image.
RawTherapee is able to automatically select a closest match from a collection of Flat Field raw files stored in a dedicated folder.
My sincere thanks to Emil Martinec, who wrote the flat field correction algorithm, Fabio Suprani for core of the the auto-selection algorithm and to the entire RawTherapee development team!