Commit Graph

4709 Commits

Author SHA1 Message Date
Thanatomanic
6c96bf7507 Update camconst.json to support a lot more camera's
Color matrices added or slightly modified for:
* Fujifilm X-E4
* Leica C-Lux
* Leica M8
* Panasonic DC-FZ1000M2
* Nikon D2Hs
* Nikon D2Xs
* Nikon D6
* Nikon D3500
* Nikon D300s
* Nikon D780
* Nikon D810A
* Nikon D70s
* Nikon Z 6 2
* Nikon Z 7 2
* Olympus E-M5 Mark III
* Olympus E-M1 Mark III
* Olympus E-M10 Mark IV
* Olympus E-PL10
* Olympus Stylus 1 and 1s
* Panasonic DC-G90, G95, G99, G100, G110
* Panasonic DMC-ZS60 (equivalent TZ80, TZ85)
* Panasonic DC-ZS80 (equivalent TZ95)
* Panasonic DC-S1H
* Panasonic DC-S5
* Pentax K-1 Mark II
* Sigma fp
* Sigma NEX-F3
* Sony alpha 1 (ILCE-1)
* Sony A6100, A6400, A6600 (ILCE-6100, ILCE-6400, ILCE-6600)
* Sony alpha 7C (ILCE-7C)
* Sony Cybershot RX1R (DSC-RX1R)
* Sony alpha 9 Mark II (ILCE-9M2)
* Sony alpha 7S Mark III (ILCE-7SM3)
* Sony Cybershot HX95, HX99 (DSC-HX95, DSC-HX99)
* Sony Cybershot DSC-RX100
* Sony Cyberhsot DSC-RX100 VA
* Sony Cybershot DSC-RX100 VI
* Sony Cybershot DSC-RX100 VII
* Sony ZV-1
* Sony SLT-A99V
* DJI Mavic 2 Pro (Hasselblad L1D-20c)
2021-05-13 19:35:37 +02:00
Thanatomanic
fc4814420b Some additions and modifications to camconst.json
Some matrices were already loaded in  but are now explicit. More to come.
Verified new entries with the recent Adobe DNG 13.2
* Canon EOS 400D DIGITAL (now explicit)
* Canon PowerShot SX50 HS (now explicit)
* OLYMPUS E-M1X (new)
* OLYMPUS E-PL9 (now explicit)
* Sony DSC-RX0 / DCS-RX0M2 (now explicit)
* Sony ILCE-7RM4 (new)
* Sony DCS-HX99 (new incl. black/white level)
2021-05-13 14:32:50 +02:00
Desmis
eb8f121709 Add ability to export to an external editor within the same folder as the original file - issue 6195 (#6232)
* import and change the art code -thanks to Alberto

* Possible fixed for white space in folder

* Added verbose when white-space

* Replace WS only if windows and Gimp

* Fixed Windows and Gimp bug for external editor - thanks to Lawrence37

* Fix LGTM alert for reused variable name

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2021-05-13 12:41:22 +02:00
Thanatomanic
aa7d635f29 Fix https in license text refreshmap.h 2021-05-13 12:32:56 +02:00
Lawrence Lee
62996e16b1 Fix NR luminance detail recovery calculation
Add back parentheses removed in
806c086fbc.
Closes #6235.
2021-05-10 22:02:49 -07:00
Desmis
980a16abb0 Improve ciecam16 Log encoding (#6228) 2021-05-04 13:54:12 +02:00
Desmis
f22482c204 Local adjustments - Strength control on Spot - tools - issue 6221 (#6223)
* Add strength to local contrast and wavelet

* Added strength to Color and Light

* Added strength to Denoise

* Added strength to shadows highlight Tone equalizer

* Added strength to Dynamic Range and exposure

* Added strength to Tone mapping

* Small improvment to Dynamic Range
2021-05-04 07:27:55 +02:00
Simon Segerblom Rex
87869e2bb1 Remove lj92 library and use dcraw instead
dcraw works fine for decoding DNGs using any predictor mode
for the lossless JPEG compression. No need to maintain two
different implemenations.
2021-05-03 10:08:51 +02:00
Thanatomanic
227a2e8cd6 Merge pull request #6214 from SimonSegerblomRex/fix-ljpeg-row
Fix predictor modes 2-7 for lossless JPEG
2021-05-03 08:32:31 +02:00
Flössie
8c477ffb8b Fix bug in DFManager::addFileInfo()
This was caught by GCC 11.1.
2021-04-30 10:21:04 +02:00
Simon Segerblom Rex
2061cfc54e Fix predictor modes 2-7 for lossless JPEG
Predictor modes 2-7 were broken. I just copy-pasted this
line from dcraw.c

After this fix it should be possible to remove lj92
(the lib + lossless_dnglj92_load_raw) and always use
lossless_dng_load_raw.
2021-04-22 14:35:32 +02:00
rom9
aea1d805f7 Fixes #6213 : when both fattal and filmNegative tools are enabled, copy data from baseCrop, to avoid using the fresh buffer from getImage (un-doing the previous negative inversion).
This minimal change might not be the most correct solution, but it cannot be harmful: at worst, it can only break when both filmNeg and fattal are enabled (a situation wich is already broken).
2021-04-21 21:53:37 +02:00
Thanatomanic
2685e1774c Merge pull request #6208 from Beep6581/gfx100-support
Apply patch to support 16-bit Fujifilm files + support for GFX 100 and GFX100S
2021-04-18 13:51:21 +02:00
Thanatomanic
1d075175f4 Apply patch to support 16-bit Fujifilm + support for GFX100S 2021-04-18 13:40:44 +02:00
Simon Segerblom Rex
cfbc8a632d lj92: Fix decoding of 16 bit diff values (#6190)
This is a port of the fix discussed here:
https://github.com/ilia3101/MLV-App/pull/221
2021-04-18 08:03:53 +02:00
Ingo Weyrich
2eaccc40af Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev 2021-04-08 19:38:32 +02:00
Ingo Weyrich
4d7b6406dd Missing copyright statements and Boost license text for files forked from SLEEF, fixes #6202 2021-04-08 19:38:10 +02:00
Lawrence37
8bf1098d7b Merge pull request #6199 from Beep6581/merge-file-neutral-background
Enable neutral colors for LA merge file
2021-04-04 09:16:36 -07:00
Desmis
cfda519894 Fixed LA shape detection adjusters range mismatch issue 6198 - thanks to Lawrence37 2021-04-04 08:35:45 +02:00
Desmis
c14a43355f Remove unused variables a_basemerg and b_basemerg 2021-04-04 08:15:01 +02:00
Lawrence Lee
a0993b624d Enable neutral colors for LA merge file 2021-04-03 11:56:22 -07:00
Desmis
e98288ab31 Wavelet levels - enable Toning in some cases 2021-03-30 16:49:25 +02:00
Desmis
717948cf09 Local adjustments - Normalize luminance - improvment Preview TM - Retinex - Remove D.Range (#6185)
* Enable dynamic range - settings normalize luminance

* Change range DR sigma offset

* improve normalize_mean_dt with mean std before

* Save work on normalize dynamic range

* Improve normalize for TM

* Added LA retinex to normalize_mean

* Clean and optimize code

* Disabled normalize DR - improve TM and Retinex

* Clean code - first part

* Clean code - part two

* Change 2 default values Retinex

* Change order TM and Retinex in process

* remove the order number in - add tool to current spot -

* Fixed bug in TM

* Some change Retinex - default...

* optimize mean sigma

* cleanup for mean_sig

* Fix some cppcheck issues

* convert one large loop into three loops to avoid performance penalty on machines with 4-way L1 cache

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-03-28 12:55:29 +02:00
CarVac
3bbfdb306f Update camconst.json
Add the EOS RP (same as 6D2) and 100D/SL1/Kiss X7 (same as 700D)
2021-03-26 05:53:08 -04:00
Desmis
35cb43d675 LA -Fixed bad coloration with narrow preview (#6183) 2021-03-24 08:03:05 +01:00
Desmis
3ad786745c LA - Move colortoning labgrid from rgb to lab - issue #6132 (#6173)
* Move colortoning labgrid from rgb to lab

* Remove unnecessary variables
2021-03-23 16:59:54 +01:00
Thanatomanic
ca5a9a26de Initial support for Fujifilm X-E4 in camconst.json 2021-03-22 13:26:25 +01:00
Desmis
d90f663f83 Second forgotten nlmeans size Rt-spot 2021-03-21 20:55:35 +01:00
Desmis
88a7a7ecc7 LA nlmeans remove limitation spot size - issue 6087 2021-03-21 10:03:27 +01:00
Desmis
7224412b69 Local adjustments - Nlmeans - Fixed smears image borders issue 6171 (#6172)
* Fixed ? smears image borders issue 6171

* Increase effect for borders

* Fixed smears image border nlmeans - thanks to Lawrence37
2021-03-19 08:45:56 +01:00
Desmis
c0e67b64c8 Fixed crash wavelet edge sharpness in some cases 2021-03-18 09:40:34 +01:00
Adam Reichold
fae40a137a A few more minor fixes geared towards lgtm.com alerts (#6127)
* Remove unfilled formatting placeholders in KLT parser.
* Fix presumably unintentionally missing reference on PlanatPtr and ChunkyPtr call operators.
* Fix catching pointer and make use-after-free of workimg easier to spot.
Make sure all of our thrown exceptions derive from std::exception and then catch
by reference instead of by pointer.
* Fix mismatch between array form new and non-array form delete.
* Simplify memory management of embedded color profiles by unifying allocation to use operator new.
2021-03-17 08:37:19 +01:00
Desmis
537fa73d3f Local adjustments - Log encoding - Ciecam16 ContrastJ - contrastQ - contrast threshold (#6169)
* Added contrast threshold Log encoding

* Improve contrast threshold

* Chanhe tooltip

* Change sign threshold when contrast negative

* Another change threshold with contrast Q and J
2021-03-15 07:57:25 +01:00
Desmis
227ae487d4 LA and Shadows-Highlight main - change location shadows-highlight in Lab issue 6163 (#6164)
* Change location shadows-highlight in Lab

* Suppress unused variable

* Small change in improccoordinator.cc
2021-03-13 07:17:42 +01:00
Desmis
0170305906 Local contrast - Try to solve bug issue #6132 (#6134)
* Try to solve bug issue 6132

* Refine placement localcontrast in pipeline
2021-03-08 08:29:57 +01:00
Lawrence Lee
7e436a44d6 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into spot-removal-tool 2021-03-06 16:41:40 -08:00
Desmis
0bf7c4e56c Local adjustments - Added Guidedfilter to avoid color shift (#6149)
* Added Guidedfilter to avoid color shift

* Various improvment to avoid color shift

* Small change to mint maxt

* local adjustments avoid color shift: reduce memory usage by width * height * 8 byte if Soft Radius > 0

* Remove StopWatch

* local adjustments avoid color shift: speedup for last loop

* cleanups

* one more cleanup

* Added checkbox Munsell correction only - uniform perceptual lab

* Refine some settings

* Clean-up - other small refinement

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-03-03 18:49:55 +01:00
Ingo Weyrich
2366cb4935 raw crop for Leica SL2-S 2021-03-01 18:30:40 +01:00
Stefan Wunsch
68a6e02369 Fix some cmake build system issues (#6147)
* [cmake] Switch to find_package for TIFF
- Included in cmake 3.5 and later
- Provides better configuration messages
* Add missing TIFF library to rtgui and rtexif
* Removed unnecessary quotes so that cmake sees the list as a list
* Add OpenMP to rtengine if OpenMP is enabled
2021-03-01 16:40:54 +01:00
Ingo Weyrich
cf21bd87d5 Merge pull request #6145 from Beep6581/issue_6143
speedup for a loop in wavelet code, fixes #6143
2021-03-01 16:28:29 +01:00
Ingo Weyrich
045bc1cd9a Cleanup and removed stopwatch, #6143 2021-02-28 14:16:20 +01:00
Desmis
d8515da4dd LA - Disable default avoid color shift - change needHH to true 2021-02-28 13:38:20 +01:00
Ingo Weyrich
1f9a8b69a2 Clarify expression by adding parentheses, #6143 2021-02-28 11:14:56 +01:00
Ingo Weyrich
966cbfe276 speedup for a loop in wavelet code , #6143 2021-02-28 10:40:59 +01:00
Ingo Weyrich
7a4ad241a2 Merge pull request #6138 from Beep6581/issue_6137
Speedup for wavelets/final touchup/local contrast
2021-02-27 17:18:52 +01:00
Desmis
b58f643d59 Local adjustments - Grain - various improvment - see issue #2460 (#6120)
* Fixed bad behavior saturation issue 6117

* Reenable scalegr for grain

* some changes to grain

* Init lagrain

* Various improvment GUI - gamma

* Change basic - normal grain
2021-02-27 08:13:44 +01:00
Thanatomanic
8d32d59b33 Basic color support for Canon EOS 2000D in camconst.json
Fixes #5495, but improvement possible
2021-02-27 07:49:57 +01:00
Ingo Weyrich
84d463fbb9 Segfault in wavelet/denoise, fixes #6140 2021-02-26 17:18:45 +01:00
Ingo Weyrich
4f880b346a add a cppcheck-suppress 2021-02-26 14:19:52 +01:00
Ingo Weyrich
fb72b6c626 Keep original code, Optimizer will catch that 2021-02-26 13:47:08 +01:00