46 Commits

Author SHA1 Message Date
Daniel Gao
55480f40ea Fix framing tool batch mode behavior
* Add adjuster add/set options to preferences
* Update width/height limits
* Trim adjuster values
* Batch mode fixes
  * Display all settings with sensitivity
  * Add "(Unchanged)" option to combo boxes
  * Fix checked button toggle modes
2024-11-18 15:33:55 -05:00
Alexander Brock
f6010c13c6 Add ADDSET functionality for scale parameter 2024-09-08 15:00:49 +02:00
Alexander Brock
23fd9903df Implement requested changes 2024-09-04 00:59:26 +02:00
Alexander Brock
fc78a64066 Move scale option from perspective correction to lens/geometry 2024-07-20 14:56:21 +02:00
Alexander Brock
26ae65ec9e Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-06-10 13:23:33 +02:00
Lawrence Lee
1eb58255ce
Merge branch 'dev' into tone-equalizer 2023-04-15 16:58:52 -07:00
Alexander Brock
79bef50a8e Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-03-29 13:20:28 +02:00
Alexander Brock
f9e2e934df Move de-fish to distortion 2023-03-22 00:19:26 +01:00
Desmis
5481a8bbe1
Ciecam - Fixed issue #6713 and add some batch functions (#6717)
* Try to solve issue 6713 ans add some batch functions

* Missing setAddMode tempout
2023-03-20 07:38:48 +01:00
Alexander Brock
fb90908cbd Add GUI elements for defish and scale in perspective tool. Doesn't work very good yet. 2023-02-11 20:31:08 +01:00
Lawrence Lee
3e2337bfae
Add tone equalizer to batch editor 2022-06-12 16:57:40 -07:00
Lawrence Lee
fb5094b6f9 Merge from branch 'dev' 2020-05-04 14:07:45 -07: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
Desmis
c58d2a1d75 merge with dev 2019-11-14 14:07:04 +01:00
Ingo Weyrich
3be7016517 Capture sharpening: Remove range adjuster and introduce 2019-11-13 21:05:24 +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
d621721ffe merge wit dev 2019-11-07 07:17:19 +01:00
Flössie
add5c790d6 #pragma once for our headers plus drive-by formatting 2019-10-31 10:20:50 +01:00
Desmis
00df4707a8 merge with dev 2019-09-11 11:41:24 +02:00
Ingo Weyrich
506254ce46 capture sharpening: first mockup 2019-08-14 17:19:26 +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
heckflosse
46aabd2003 Unfix fixed white level, #5187 2019-02-23 14:00:45 +01:00
Flössie
e39726dbf7 Return first frame in FramesData on OOB access (#4830) 2019-02-20 20:55:07 +01: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
Hombre
180277778a Merge branch 'dev' into testoutputprofile 2018-07-09 22:12:08 +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
a0b8626b7d Adding ADD/SET mechanism to the raw processing tools
see #4579
2018-05-31 00:44:16 +02:00
heckflosse
1a5545c461 Added contrast threshold adjuster for sharpening tool, #4551 2018-05-20 17:37:42 +02:00
heckflosse
ee5b1dbbc8 Microcontrast: add Contrast threshold adjuster, #4551 2018-05-13 19:07:13 +02:00
Alberto Griggio
112de05700 added SoftLight tool 2018-04-10 09:42:22 +02:00
Alberto Griggio
8a510315c2 Fattal: added anchor parameter 2018-01-25 22:13:17 +01:00
Alberto Griggio
156cb762ec removed local contrast inside the S/H tool (remapped to the new local contrast tool)
See #4247
2017-12-22 23:59:44 +01:00
Alberto Griggio
0aff2f7c6c added partial paste and add/set preferences for local contrast 2017-12-20 16:56:05 +01:00
Hombre
b64707bea6 Adding ADD/SET mechanism to Fattal HDR tool + PartialPaste dialog gui
+ range of Beta limited to 0.7 <> 1.3.

ADD/SET mechanism was missing for EPD tool too, so it's included in this
commit.

see #4168
2017-11-04 21:27:11 +01:00
Hombre57
8df659d2fd Solving issue #4014 : Batch Edit "Transform-Resize" randomly changes
default values in USM

Reidentation in batchtoolpanelcoord.cc for a more compact code
2017-08-29 02:07:58 +02:00
Alberto Griggio
dca0e41f35 added "Auto White Balance temperature bias" feature
This new slider in the White Balance tools allows to alter the computation of
the "auto white balance" by "biasing" it towards warmer or cooler
temperatures. The bias is expressed as a percentage of the computed
temperature, so that the resuling temperature is given by
"computedTemp + computedTemp * bias".
2017-02-12 17:39:52 +01:00
Flössie
296919eb2b Fix #3259, RT fails with ASan
When compiling RT with `-fsanitize=address` it fails early in
`Options::setDefaults()`. To fix it, initialize `baBehav` directly as
permitted with C++11. As a bonus, I converted `addsetids.h` from
defines to an enum.
2016-04-20 20:29:51 +02:00
Beep6581
b98aa2966d Fixes Retinex Method not read from PP3, issue 2833 2015-10-31 21:27:43 +01:00
Desmis
e234bb9278 Batch processing GUI 2015-09-23 11:23:30 +02:00
Desmis
528d85b1f9 Dehaz enhancement HSL GUI bugs partialpaste... 2015-09-09 20:01:27 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00