5250 Commits

Author SHA1 Message Date
Desmis
cc0e941652
Selective editing - modifies the activation of the Laplacian according to the spots with Dehaze (#7122)
* Disable Laplace when others Spot with dehaze

* Disable Laplace when others Spot with dehaze

* appimage and widows yml with drexpos

* Compatibility 5.10 contrast attenuator

* Change control out of boud when using Contrast attenuator

* Comment code

* Comment code

* Comment code and fixed

* Clip original retinex to avoid crash in some cases

* Change tooltip

* Clip only Lapalacian if expose or soft enabled

* Various improvment to avoid crash

* Tonecurve hsv colortoning chmixer not allow negative RGB

* Fattal and black need clip issue 7151

* Disable Fattal

* Clean code

* Disable appimage and windows yml
2024-07-28 07:13:58 +02:00
Alexander Brock
c491a405a4 Add function needsScale() to make sure scale is applied if defish is not active 2024-07-27 15:30:24 +02:00
Alexander Brock
159ebd45e8 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-07-27 12:41:48 +02:00
Lawrence Lee
aaf91fff8f
Add DCPs and camconst.json entries from ART 2024-07-20 17:01:39 -07:00
Alexander Brock
fc78a64066 Move scale option from perspective correction to lens/geometry 2024-07-20 14:56:21 +02:00
Alexander Brock
6d96bfe5cc Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-07-20 00:15:43 +02:00
Lawrence Lee
79aaba1bcb
Refactor isDNG flag 2024-07-18 22:22:27 -07:00
Lawrence Lee
bb44729490
Merge branch 'dev' into libraw-copylib 2024-07-18 21:57:57 -07:00
Simone Gotti
7deb2754d1
Add DNG metadata lens correction 2024-07-17 23:08:50 -07:00
Simone Gotti
c589e9d469
Add Panasonic metadata lens correction 2024-07-17 23:08:44 -07:00
Simone Gotti
3189efddce Add Olympus metadata lens correction 2024-07-10 10:39:17 +02:00
Simone Gotti
b570c70f5b Add Fujifilm metadata lens correction 2024-07-10 10:39:17 +02:00
Simone Gotti
27dc084e81 Add Sony metadata lens correction 2024-07-10 10:39:17 +02:00
Simone Gotti
f64ad13363 lensmetadata: add abstract center radius helper class
Add a CenterRadiusMetadataLensCorrection helper class that will be
implemented by vendor specific corrections based on center radius.
2024-07-10 10:39:17 +02:00
Simone Gotti
2b97de233f Add initial metadata lens correction handling 2024-07-08 10:30:51 +02:00
Simone Gotti
5159de89cb imagedata: report if file is DNG 2024-07-08 10:29:43 +02:00
Simone Gotti
b98fa42857 lens profile: report availability of distortion and vignetting
Beside CA, report also distortion and vignetting availability. Rename
is${CORRECTION}Available methods to has${CORRECTION}.
2024-07-08 10:29:43 +02:00
Simone Gotti
dc0e23c82c iptransform: apply distortion and CA correction in a single pass
Some lens profile methods provides a way to correct distortion and CA in
a single step.

When available, applying distortion and CA correction when both enabled
in a single pass is more precise (see lensfun
ApplySubpixelGeometryDistortion doc) since it's usually how the profile
is done. Instead applying the CA correction in a step after distortion
correction could lead to a bit different (also if not always visible)
correction.

This is also required for future lens correction methods (like DNG
WarpRectilinear or corrections based on vendor metadata) that provides
only merged distortion and CA correction in a single pass.
2024-07-08 09:40:36 +02:00
Simone Gotti
55fd4b975e iptransform: move profile based CA with and after distortion
Doing profile based CA as the really first correction in a separate steps is
probably not useful.

Additionally many lens profile (lensfun) and future one provide
functions to do them in a single step with better precision while other
just provide a single step that does both (i.e. DNG WarpRectilinear).

For the above reasons this patch removes the additional pass for CA correction.
This will also improve the perfomance due to less work.
2024-07-08 09:39:23 +02:00
Simone Gotti
363f3cc2a6 iptransform: correct profile based distortion/CA before rotation
Like perspective correction also rotation correction should be applied
after distortion/CA correction.
2024-07-08 09:32:35 +02:00
Lawrence Lee
6da48b933a
Handle masked area black level with LibRaw
Copied from ART commit 9a24f2567a452f0ca788f51e88b92b479002b149.
2024-07-05 22:21:46 -07:00
Desmis
89c90774af
Selective Editing - compatibility 5.10 - Feather - Log encoding (#7120)
* Fixed pp3 from 5.10 feather and ciecam log encoding

* Fixed 2 wrong typo feather in procparams.cc

* Fixed 2 wrong typo feather in procparams.cc

* Remove unused line in procparams
2024-07-01 09:35:33 +02:00
Lawrence37
cf4be0225a
Merge pull request #6483 from Calandracas606/better_ARQ_support
Better ARQ Support
2024-06-30 18:03:44 -07:00
Desmis
819b65af7f
Keep values scope from 5.10 Selective Editing - for color & light - shadow/highlight - vibrance #7102 (#7107)
* ppversion 351 and keep valus scope for color and light shadow-highligt vibrance

* Change comment in ppversion.h

* Change procparams for colorscope pp<351

* Remove not used isset
2024-06-30 07:47:55 +02:00
Daniel Martinez
b673154531
Support more ARQ files, 4 and 16 Shot ARQ from ILCE-1 2024-06-26 15:37:36 -04:00
Lawrence37
0bee94e4aa
Merge pull request #6997 from Entropy512/fix_demosaiced_dng
Fix regression with demosaiced DNGs caused by 831a9bbd
2024-06-23 16:06:29 -07:00
Lawrence Lee
51277dc7d2
Move function into anonymous namespace 2024-06-23 12:40:51 -07:00
Lawrence37
f7af66a757
Merge pull request #7106 from Lawrence37/nikon-z-f-camconst
Nikon Z f color matrix
2024-06-22 19:03:30 -07:00
Lawrence37
e54e34da6c
Merge branch 'dev' into fujifilm-x-h2s-camconst 2024-06-22 19:01:48 -07:00
Lawrence37
c41b6c3f31
Merge pull request #7098 from Lawrence37/adobe-coeff-from-libraw
adobe_coeff constants from LibRaw
2024-06-22 19:00:21 -07:00
Lawrence37
4c52d970bb
Merge pull request #7065 from Lawrence37/lensfun-lens-crop-factor
Lensfun lens selection using camera crop factor
2024-06-22 18:59:31 -07:00
Lawrence Lee
021b7dfff0
Fix Foveon row alignment regression 2024-06-22 18:55:01 -07:00
Lawrence Lee
89de979248
Add Nikon Z f color matrix 2024-06-16 16:41:55 -07:00
Lawrence37
13a07a58e2
Merge pull request #7093 from Lawrence37/fix-unclosed-jpg-file
Always close JPEG after reading
2024-06-16 15:27:21 -07:00
Desmis
a1c6ce5dd2
Selective editing - adds the feather slider for each Graduated Filter (#7079)
* Feather GF color and vibrance

* Feather exposure

* Graduated filer feather wavelet

* Graduated filter feather log

* Graduated filter Cam16 feather

* Change history msg

* GF shadows highlight feather

* GF mask common feather

* Move feather settings in settings mask

* Change history msg

* Change label feather

* Change 2 labels
2024-06-16 07:35:50 +02:00
Lawrence Lee
abbaddbabd
Merge branch 'dev' into libraw-copylib 2024-06-15 22:32:12 -07:00
Lawrence Lee
3b2990dd78
Add/update dcraw constants from LibRaw
Add or update adobe_coeff constants from LibRaw public snapshot 202403.
2024-06-15 21:43:12 -07:00
Lawrence37
59e8832dfb
Merge pull request #6367 from xiota/jxl-import
Add ability to import JXL images
2024-06-08 17:12:13 -07:00
Lawrence Lee
2c1c124d8f
Merge branch 'dev' into libraw-copylib 2024-06-02 18:15:43 -07:00
Lawrence Lee
5d75c44287
Add Fujifilm X-H2S color matrix and raw crop 2024-06-02 17:38:36 -07:00
Lawrence Lee
324f488f5b
Fix jpg file not writable after save
Use a unique_ptr to automatically close the jpg file after.
2024-06-01 19:11:41 -07:00
Simone Gotti
3b4642fd07 dcraw: add Panasonic DC-S5M2 and DC-S5M2X to adobe_coeffs 2024-06-01 22:23:33 +02:00
Simone Gotti
0d9bafdc88 dcraw: add panasonic v8 decoder.
Port panasonic v8 decoder from libraw.

* Extract data required for the decoder from the panasonic custom exif
  tags
* Add panasonic v8 decoder
2024-06-01 22:23:31 +02:00
Lawrence37
5a7b0e40bb
Merge pull request #7020 from sgotti/panasonic_dcgh6
dcraw: add Panasonic DC-GH6
2024-06-01 12:02:55 -07:00
Lawrence37
45f321d0b4
Merge pull request #7019 from sgotti/panasonic_dcg9m2
dcraw: add Panasonic DC-G9M2
2024-06-01 12:02:13 -07:00
Lawrence37
dd2312d192
Merge pull request #7005 from sgotti/fuji_lossy_compression
dcraw: handle Fujifilm lossy compression
2024-06-01 11:58:02 -07:00
Lawrence37
ad36b219bc
Merge pull request #7073 from sgotti/panasonic_dcgh5m2
Add support for Panasonic DC-GH5M2
2024-06-01 11:30:58 -07:00
Lawrence37
832bfe6795
Merge pull request #7022 from Lawrence37/lensfun-space-around-dash
Improve Lensfun automatic lens matching with extra spaces in the name
2024-06-01 11:17:42 -07:00
Alexander Brock
397c699271 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-06-01 14:22:58 +02:00
Lawrence37
5999d494d5
Merge pull request #7076 from sgotti/sony_ILCE-6700
dcraw/camconst: add Sony ILCE-6700
2024-05-27 17:46:52 -07:00