Page 1 of 1

feature request : rotate speck removal settings

Posted: August 7th, 2024, 11:46 pm
by pierrelabreche
Context:
The Speck removal tool is useful for removing dust spots from a camera sensor, especially in uniform areas such as the sky.

Problem: When a series of images contains both landscape and portrait images, the speck removal tool does not follow the rotation of the sensor, and issues an error message for rotated images.

Suggested feature: It would be useful to let the speck removal tool detect a rotated image, and automatically rotate all specks in its settings.

Re: feature request : rotate speck removal settings

Posted: August 8th, 2024, 5:53 am
by jsachs
There is an ambiguity about whether to rotate clockwise or counter-clockwise, so doing this automatically would be a problem.

Re: feature request : rotate speck removal settings

Posted: August 8th, 2024, 10:21 am
by pierrelabreche
Two cases to consider :
If the EXIF data includes sensor orientation, the ambiguity can easily be resolved.
Tag 0x0112 Orientation int16u IFD0
  1. Horizontal (normal)
  2. Mirror horizontal
  3. Rotate 180
  4. Mirror vertical
  5. Mirror horizontal and rotate 270 CW
  6. Rotate 90 CW
  7. Mirror horizontal and rotate 90 CW
  8. Rotate 270 CW
If the EXIF data does not include sensor orientation, the ambiguity can be resolved by asking the user.

It would also be possible to include a user control for rotating the points clockwise or CCW.