darktable icon indicating copy to clipboard operation
darktable copied to clipboard

[Issue #15916] Mods to scale pixels to support anamorphic lenses.

Open erikvanhamme opened this issue 2 years ago • 2 comments

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 avatar Dec 20 '23 17:12 erikvanhamme

@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.

TurboGit avatar Dec 29 '23 19:12 TurboGit

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 avatar Dec 30 '23 10:12 erikvanhamme

@erikvanhamme : Thanks for your first contribution. Can you provide a little description for the release notes? TIA.

TurboGit avatar Feb 21 '24 18:02 TurboGit