Revise perspective transformation to remove hard-coded angular field of
view and horizontal perspective axis of rotation. Add vertical bias
parameter to retain ability to perform vertical perspective
transformation independent of the horizontal perspective axis of
rotation. Add field of view parameter as a tentative method for
specifying angular field of view.
The current implementation of perspective transformation applies
horizontal perspective transformation in such a way that preserves the
orientation of a horizontal line going through the center of the image.
In common use cases, horizontal lines such as the horizon do not go
through the center of the image. In such cases, the horizontal
perspective axis of rotation should not be parallel to the image's
y-axis. This commit makes the axis of rotation dependent on the vertical
parameter.
The two axes of rotation should be placed at the appropriate distance
from the image in order to prevent stretched or compressed proportions.
In the current implementation, the axes are at a fixed relative distance
from the image. This commit adds the ability to specify the distance in
the form of the diagonal angular field of view.
Commit bba0f7 cleaned up some language keys. Two of them were
consolidated into one as they had an identical label but belonged to a
different section of the CIECAM02 tool.
As a result, Preferences needed to be updated.
Preferences > Image Processing > Crop Edit was vertically centered with
large empty gaps above and below the frame. Now it starts as soon as the
frame above ends.
- UI updated to use grid so that the options nicely align.
- "Clear only cached processing profiles" and "Clear all" buttons are
hidden when Preferences > Image Processing > Processing profile saving
location is set to "next to the input file", #4911
Based on the paper:
"Single Image Haze Removal Using Dark Channel Prior" by He, Sun and Tang
using a guided filter for the "soft matting" of the transmission map
Now the hard-coded default values of the Noise Reduction settings which
were removed from Preferences are used, instead of reading them from
the options file.
Reverted accidentally-deleted "preview demosaicing method" setting.
- Noise Reduction settings removed from
Preferences > Performance & Quality
- Performance & Quality renamed to Performance, container frame renamed
to Threads, since it applies to more than just the NR tool.
- Localization keys removed.
- TP_RETINEX_GAINTRANSMISSION_TOOLTIP key revised, closes#3299