90 Commits

Author SHA1 Message Date
Lawrence Lee
7abe6c9044 Merge from branch 'dev' 2020-06-18 16:42:17 -07:00
Lawrence Lee
fb5094b6f9 Merge from branch 'dev' 2020-05-04 14:07:45 -07:00
Pandagrapher
cca6b09768 Merge remote-tracking branch 'dev/newlocallab' into newlocallab 2020-04-20 12:54:09 +02:00
Pandagrapher
4ea4663e34 Merge with 'dev/newlocallab'... 2020-04-16 16:01:53 +02:00
Desmis
e573de78b4 merge with dev 2020-03-19 13:40:11 +01:00
Lawrence Lee
357cf5b96a Remove scaling from perspective correction
Scaling is applied at the end of all geometric transformations, so it
would be more appropriate outside of the perspective correction tool.
Such an implementation would also work better with the auto-fit feature.
2020-02-26 22:52:55 -08:00
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
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
Pandagrapher
f51f2f44ec Remove batch mode for Locallab 2019-11-21 20:50:31 +01:00
Desmis
c58d2a1d75 merge with dev 2019-11-14 14:07:04 +01:00
Desmis
00c777a3f0 merge with dev 2019-11-14 10:52:16 +01:00
Ingo Weyrich
3be7016517 Capture sharpening: Remove range adjuster and introduce 2019-11-13 21:05:24 +01:00
Desmis
d9be38e6c2 merge with dev 2019-11-12 17:07:57 +01:00
Ingo Weyrich
e525f5bec1 Capture sharpening: added range-adjuster to exclude bright areas from sharpening 2019-11-12 14:37:15 +01:00
Desmis
61e2e1c4a1 merge with dev 2019-11-12 07:15:29 +01:00
Ingo Weyrich
d32c570383 Capture sharpening: removed gamma 2019-11-10 16:05:24 +01:00
Desmis
d621721ffe merge wit dev 2019-11-07 07:17:19 +01:00
Ingo Weyrich
033d9fe02a Merge branch 'dev' into newlocallab 2019-11-04 23:01:33 +01:00
Ingo Weyrich
b3b1008270 Further reduction of include dependencies 2019-11-02 17:29:26 +01:00
Ingo Weyrich
c1f9120ef4 Further reduction of include dependencies 2019-11-01 21:20:52 +01:00
Desmis
00df4707a8 merge with dev 2019-09-11 11:41:24 +02:00
Desmis
0711373021 Merge with dev 2019-09-11 08:35:25 +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
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
ce3ca966f6 Capture sharpening: some cleanups 2019-08-18 11:16:53 +02:00
Desmis
83f487753c Improve shadows-Highlight Residual 2019-05-27 09:23:56 +02:00
Desmis
fc9867eb2d Improvment to residual image 2019-05-21 07:48:18 +02:00
Desmis
8e0eb97eb6 merge with dev 2019-02-26 17:44:13 +01:00
heckflosse
46aabd2003 Unfix fixed white level, #5187 2019-02-23 14:00:45 +01:00
Pandagrapher
7ccd901ad1 Merge with branch newlocallab... 2019-01-05 18:07:51 +01:00
Pandagrapher
031939e0c3 Remove/Deactivate Locallab debug printf 2019-01-03 11:16:19 +01:00
Pandagrapher
39c53119eb Improve batch mode with Locallab
Batch mode is now correctly managed by Locallab. It works only if the
pictures have the same control spot number with coherent id

Other improvements:
- If there is no control spot, all Locallab tools are now disabled
2018-12-26 10:31:57 +01:00
Desmis
c3bd22f337 merge with dev 2018-12-19 15:16:18 +01:00
Flössie
1ebbe0a096 Resize baBehav on load (#4828) 2018-12-15 15:12:52 +01:00
Desmis
86c03e61d4 merge with dev - I hope no error 2018-11-24 14:18:37 +01:00
Roel Baars
c8300b137c
Add Crop reset button - 2nd attempt (#5015)
Add dedicated reset button for Crop, rearrange some GUI, disable crop buttons in batch mode
2018-11-23 19:10:04 +01:00
U-PC-BUREAU\jacques
b9c7fa80da merge with dev 2018-11-01 08:37:28 +01:00
U-PC-BUREAU\jacques
21292f6db5 merge with dev 2018-10-26 09:00:29 +02:00
heckflosse
2696037cb8 Batch edit is broken, fixes #4886 2018-10-23 15:36:07 +02:00
Alberto Griggio
b50b8dea9f merge with dev 2018-10-27 16:11:17 +02:00
Alberto Griggio
14ac4babec added haze removal tool
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
2018-10-10 10:02:06 +02:00
Pandagrapher
854021cfee Merge with newlocallab... 2018-09-25 23:40:09 +02:00
Pandagrapher
f945466df5 Locallab cleanup #1
Cleanup of Locallab and ControlSpotPanel
Removed also useless LocalListener, useless Locallab options

The following improvments have been introduced:
- All Locallab events are now managed with regular RT logics

The following bugs have been corrected:
- Missing "sensiexclu", "struc" (hidden) and "noisechrodetail" (hidden)
adjusters have been reintroduced
- GUI problems reported by @ganned92 have been corrected
- Tone curve could have some weird behavior when mouse was moving a
curve point outside curve editor
2018-09-15 18:11:42 +02:00
U-PC-BUREAU\jacques
5472673b9e merge with dev 2018-08-05 09:05:47 +02:00
Hombre
180277778a Merge branch 'dev' into testoutputprofile 2018-07-09 22:12:08 +02:00
U-PC-BUREAU\jacques
e65c6786ff merge with dev 2018-07-07 13:46:18 +02:00
Alberto Griggio
7b0383fd2f merge 'soft-light' into 'dev' 2018-06-29 23:34:31 +02:00
Hombre
fb0c95969b Creation of the ICCProfileCreator 2018-06-25 00:43:11 +02:00
Hombre
e2dc8ea2c3 Merge branch 'dev' into testoutputprofile 2018-06-14 21:47:14 +02:00
Desmis
c1463c7edd merge with dev.. 2018-06-14 09:06:29 +02:00