[Issue #15916] Mods to scale pixels to support anamorphic lenses.
This commit makes it possible for the user to turn on scale pixels manually. The user is allowed to set the pixel aspect ratio via slider in the range 0.5 - 2.0 (inclusive). It is possible to make a preset for the module with the scaling ratio matching the lens. Moving the slider will have immediate effect.
The previous use case of scale pixels is still covered. For the sensors that need pixel scaling, i.e. those with a pixel_aspect_ratio hint in cameras.xml, the module will switch on automatically, and the appropriate pixel scale will be set.
Scaling for anamorphic lenses in this module is superior the using the rotate and perspective module, as no vertical information of the sensor will be discarded.
@erikvanhamme : Can you please share a RAW needed such control? As you said it is a rare case so I do want to test this myself to better understand what it does. TIA.
Certainly.
Here is a link to a raw file, shot on the Z5 with the Sirui 50mm Anamorphic 1.6. Scale factor is 1.6. https://drive.google.com/file/d/1AGjcTWhUR76W3JpQXo7KlcK8sJQEuuvC/view?usp=sharing
At this link you can find a D1X raw file to make sure I did not break any support for the hints in cameras.xml https://discuss.pixls.us/t/nikon-d1x-darktable-challenge/15928
@erikvanhamme : Thanks for your first contribution. Can you provide a little description for the release notes? TIA.