1323 Commits

Author SHA1 Message Date
Lawrence
f83a62be5b Add back the old perspective tool
Add perspective correction method chooser to allow choice between the
original perspective tool (simple) and the new one (camera-based).
2019-12-28 17:18:59 -08:00
Lawrence
f514a69104 Group perspective adjusters in frames
Divide perspective correction adjusters into three groups: camera
attributes, post-correction adjustments, and perspective distortion
recovery.
2019-12-27 20:50:18 -08:00
Lawrence
f9a8875bb5 Add more perspective correction adjusters
Add camera lens/sensor shift support with horizontal/vertical shift
adjusters.

Add shifting and rotation of corrected image. This allows
post-correction adjustments to be made more easily given the fixed image
canvas size.

Add scaling of final result. This also helps reduce frustrations with
the fixed image canvas size.

Replace field of view with focal length and crop factor. Use of focal
length and crop factor is more common than diagonal angular field of
view. The new adjusters should be more intuitive for most photographers.
The implementation of perspective correction uses a focal length
relative to the image dimensions. The existing code calculates that
focal length with trigonometry. The new code does it by multiplying
by a ratio.

Replace vertical bias with horizontal and vertical perspective
distortion recovery. Vertical bias is not intuitive as it causes
vertical lines to converge off-center if horizontal correction is
applied. The new adjusters perform perspective distortion on the
projection of the corrected image, allowing vertical/horizontal lines to
converge towards the center lines of the image.

Refactor perspective transformation math to use dynamically computed
homogeneous coordinate matrices instead of pre-calculated formulas. This
should add some overhead, but results in more maintainable code and
possible improved performance due to the reduced number of arithmetic
and assignments needed for each pixel.

Integrate new adjusters in the GUI. This includes fine granularity for
batch processing add/set modes and history.
2019-12-27 16:40:41 -08:00
Lawrence
f4c37598ee Generalize perspective correction
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.
2019-12-18 10:22:05 -08:00
Morgan Hardwood
0edbdc8862 Added image/x-canon-cr3 mime type #5319 2019-12-12 12:53:39 +01:00
Morgan Hardwood
164fab28e0 Added Slovenian translation
Translation by Matjaž Jeran / matjazjeran

Closes #5488
2019-12-02 11:25:57 +01:00
Morgan Hardwood
98ac8d5f76 generateTranslationDiffs 2019-12-02 11:24:15 +01:00
Ingo Weyrich
23e60371ed Use capture sharpening for pixelshift profiles 2019-11-24 23:09:23 +01:00
Ingo Weyrich
0cf3f16dfa Basic Canon CR3 support. Only decoding, still no CR3 exif support. Ported from ART. Kudos to agriggio and libraw 2019-11-19 19:19:49 +01:00
Ingo Weyrich
3be7016517 Capture sharpening: Remove range adjuster and introduce 2019-11-13 21:05:24 +01:00
Ingo Weyrich
4857566d25 Capture sharpening: add range label to default file 2019-11-12 18:06:55 +01:00
Ingo Weyrich
174f5e95ff Capture sharpening: revome transations related to gamma! 2019-11-12 00:19:04 +01:00
Morgan Hardwood
9ddd2a2a9b Added FUJIFILM X-T2 dual-illuminant DCP, closes #5513 2019-11-05 23:06:45 +01:00
Ingo Weyrich
5c332663e7 Merge branch 'dev' into flatfield_review 2019-10-26 21:12:23 +02:00
Morgan Hardwood
ff2e5da9e4 generateTranslationDiffs 2019-10-23 20:51:08 +02:00
Morgan Hardwood
dc972ddb21 Film Negative button and tooltip changes 2019-10-23 20:32:41 +02:00
Ingo Weyrich
37e7a705ab Review of flatfield code, own compilation unit, use clip control value 0 when using auto clip control on already clipped image, code review 2019-10-23 20:22:03 +02:00
Morgan Hardwood
6a44170aff Fix shadow/highlight clipping indicator keyboard shortcuts in tooltips
Closes #5493
2019-10-23 18:01:04 +02:00
Ingo Weyrich
8e99401ac7
Merge pull request #5486 from TooWaBoo/dev
Update Deutsch locale
2019-10-21 00:13:14 +02:00
scx
0ede513e3b Update desktop file
- Add StartupNotify entry
2019-10-20 23:30:14 +02:00
Morgan Hardwood
911cc85ffc Added Panasonic DMC-GX7 dual-illuminant DCP, closes #5500 2019-10-13 18:51:27 +02:00
Morgan Hardwood
bbb410fc14 Added RICOH GR III dual-illuminant DCP 2019-10-11 12:21:35 +02:00
TooWaBoo
feb2786087
Update Deutsch locale 2019-10-06 03:43:10 +02:00
Morgan Hardwood
8f0de49d41 Whitespace cleanup
Cleans up whitespace (tab -> space), alignment and DOS line endings.
2019-10-03 11:43:12 +02:00
Morgan Hardwood
984696ed99 generateTranslationDiffs 2019-10-03 10:11:47 +02:00
Morgan Hardwood
9c36345a38 Capture Sharpening history entries 2019-10-03 10:09:13 +02:00
Jala015
8789ef668a
Update Portugues (Brasil) 2019-10-02 15:52:09 -03:00
Morgan Hardwood
b86b7a4af6 Reverted Keywords key in desktop file, #5470 2019-09-25 12:08:43 +02:00
Morgan Hardwood
277c494fef Downgrade desktop file to Version=1.0, #5470
Version=1.1 caused Travis CI builds to fail.

Version 1.1 was necessary only to standardize the Keywords key,
but this key is a potential pitfall and unnecessary.
2019-09-25 11:54:30 +02:00
Ingo Weyrich
a11295ef7a Merge branch 'dev' into dehaze_speedup 2019-09-23 20:33:55 +02:00
Ingo Weyrich
57466be795 Capture sharpening: Label and tooltip changes, also renamed key for favorite tab to capturesharpening 2019-09-23 20:33:32 +02:00
Ingo Weyrich
3124e2b801 Merge branch 'dev' into dehaze_speedup 2019-09-23 16:32:48 +02:00
Ingo Weyrich
d1ccf27780 Capture sharpening: add missing history message 2019-09-23 16:32:23 +02:00
Ingo Weyrich
aee11bf367 Merge branch 'dev' into dehaze_speedup 2019-09-23 14:51:15 +02:00
Beep6581
6f1c4a3bfc
Merge pull request #5460 from scx/appdata-20190919
Update XDG files
2019-09-23 01:17:04 +02:00
Ingo Weyrich
0fc0eced5a Merge branch 'dev' into dehaze_speedup 2019-09-22 15:39:19 +02:00
Ingo Weyrich
7ff3192cc9 dehaze: added lumimance mode from ART, #5456, thanks to @agriggio 2019-09-20 14:03:09 +02:00
scx
2415511b70 Update desktop file
- Change order of categories (Main Category before Additional Categories)
2019-09-19 23:55:31 +02:00
scx
e33bee7cea Update desktop file
- Update Version entry (Keyword key was introduced in 1.1)
 - Fix GenericName
 - Add TryExec entry
 - Update Keywords
2019-09-19 23:40:49 +02:00
Ingo Weyrich
6d9e7d5898
Update Standard Film Curve - ISO Low.pp3 2019-09-16 15:52:11 +02:00
Ingo Weyrich
c7400459f0
Update Auto-Matched Curve - ISO Low.pp3 2019-09-16 15:51:47 +02:00
Ingo Weyrich
7956f6f786 Enable Capture sharpening for * ISO Low.pp3, #5412 2019-09-16 15:29:26 +02:00
Ingo Weyrich
f2cdbd0e4d Capture sharpening: experimental radius offset depending on distance to center 2019-09-16 15:09:47 +02:00
Ingo Weyrich
4079bb9920 Capture Sharpening: automatic radius calculation 2019-09-11 18:56:07 +02:00
Ingo Weyrich
ba43437220
Merge pull request #5445 from Beep6581/capture_sharpening
Merge Capture sharpening into dev to get more tests
2019-09-10 19:27:01 +02:00
Morgan Hardwood
b643c90ba7 Changes for merging release 5.7 back into dev 2019-09-10 19:23:02 +02:00
Morgan Hardwood
f335efe6a7 Minor splash screen cleanup 2019-09-10 12:45:01 +02:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Morgan Hardwood
50f9be3e60 Preparing for release 5.7 2019-09-06 22:51:46 +02:00
Morgan Hardwood
b858bfb2c9 Update "Advanced" tab shortcut to Alt-a
Back when it was called the "Wavelet" tab the Alt-w shortcut was used.

Closes #4322
2019-09-06 22:15:37 +02:00