Commit Graph

11091 Commits

Author SHA1 Message Date
Desmis
35abd92209 Custom TRC Tone response curve and Illuminant - change Histogram - RGB and Lab values - for output (screen, TIF, JPG..) (#5949)
* Change TRC in the process

* Improve GUI slope

* Add tooltip output profile

* Various change to enable and tooltip

* Chnage rtthumbnail

* Small change tooltip trc

* Another small change tooltip

* Improve GUI - change default TRC BT709 - change tooltip

* Other GUI improvment

* Small changes to BT709 values

* Various change to TRC - add illuminant working profile

* Change labels tooltip TRC illuminant

* Display wp in console if wp provided

* Change tooltip

* Change max wlope

* Init trc + illum + primaries

* Add black point compensation

* Change location abstract

* Fixed bug with rtthumbnail...

* Added tooltip

* Logscale for wslope

* Change tooltip abstract

* Change labels tooltips abstract profile

* Added 6 sliders custom primaries X and Y

* Change GUI custom primaries

* Use custom primaries abstract profiles

* Tooltip with primaries red green blue

* Fixed warning gtk

* Change one tooltip

* Change range custom primaries

* Change GUI default Primaries

* Change one tooltip

* Speedup for trc

* Rendering intent for abstract profile

* Hide intent abstract

* Preserve neutral tones

* Chnage settings preserves neutral tones

* Improve GUI

* Improvment to preserv

* Clean code - speedup TRC when illuminant and primaries default

* Change label

* Change bad default value Blux

* Add forgoten illuminant when selecting primaries

* clean code

* Change labels

* improve workingtrc for LA

* Change default primaries when select default

* Added others working profile to primaries

* Change labels and GUI

* Change tooltip

* CIExy diagram displaying the primaries (interactive) and the white point (#6207)

* Ciexy diagram

* Change to Ciexy graph

* Change graph and defaut coordonates

* Various changes to graph - params

* Disable setListener(ToolPanelListener)

* Add some graduation to graph

* Clean comment code graph

* Change radius 0

* Enable sensitive graph Ciexy

* update Ciexy graph with primaries

* Remove reset button graph

* Change labels and behavior

* First step third spot green

* Second step 3rd spot green

* First try 3 primaries graph Ciexy

* Fixed bad behavior in lab grid

* Fixed another bad behavior graph

* Clean and comment code

* Change default gamma

* More accurate graph Cie xy

* Added white point to Ciexy graph

* Added tooltip Cie xy diagram

* Improvment when illuminant change

* Refine diagram CIE xy - added WP 2000K

* White point D120 + tooltip

* Change label

* Change labels

* Change tooltips

* Improve diagram CIE xy with parabolic

* Other parabolic to improve Cie xy diagram

* Small change GUI

* Added Label CIE xy - change labels

* Change behavior when none - change labels

* Improve gUI and trys to fix LGTM alerts

* CIE xy change set sensitive

* Improve tooltip primaries sliders

* Adapt tooltip to new labels

* Fixed crash and some bad behavior

* First fix bad behavior with some primaries

* Second fixed bad behavior primaries

* Third fixed bad behavior primaries

* Change white point BestRGB

* Change order rgb in history msg Ciexy

* Change tooltip

* Change tooltip

* Improve GUI primaries

* Illuminant 1500K - display in console matrix XYZ-RGB

* Improve GUI illuminant

* Change a tooltip

* Somme changes to GUI and verbose

* Test code for wprim in read

* clean code for wprims

* further cleanups, not tested

* Some cleanups and bugfixes, #5949

* Simplify `std::unique_ptr<>` dereferencing

Also some minor cleanups.

* Some changes suggested by Floessie

* Others change suggested

* Others changes suggested by Floessie

* Forgotten change in procparams.cc

* Added black and white for use with the primaries channel mixer

* Small change behavior GUI - illuminant

* Change pragma omp in iplab2rgb

* Add enums and clean up

* Remove unused code icmpanel.cc

* Fix LGTM alert, #5949

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
Co-authored-by: Flössie <floessie.mail@gmail.com>
2021-05-16 06:18:25 +02:00
Desmis
7040aed540 Some change issue6234 (#6238) 2021-05-15 06:40:39 +02:00
Thanatomanic
4d27d02408 Merge pull request #6225 from SimonSegerblomRex/remove-lj92
Remove lj92 library
2021-05-14 07:12:38 +02:00
Thanatomanic
dde6bea80e Minor changes to several camconst matrices after comparison with current Adobe DNG database 2021-05-13 22:54:54 +02:00
Thanatomanic
8fafaa7aba Add color matrix for Canon EOS-1Ds 2021-05-13 20:09:12 +02:00
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
Desmis
3cb6e88ea4 Harmonize GUI for Scope - Retinex and Dehaze 2021-05-11 13:27:04 +02:00
Simon Segerblom Rex
4426f85bf9 Update AUTHORS.txt 2021-05-11 11:37:39 +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
Pandagrapher
1c9d1f522c Locallab - Fix bad syntax in LocallabParamsEdited vector resize 2021-05-07 18:47:14 +02:00
Beep6581
75b6b274bb Update CONTRIBUTING.md 2021-05-07 07:44:39 +02: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
Desmis
53bb6e41bb LA other bad behavior Duplicate spot when spot outside preview 2021-04-22 07:15:28 +02:00
rom9
ca9f373ab8 Film negative: added new bundled profile for black and white film. #6201
Simply sets both exponent ratios to 1.0, and enables the B&W tool. This is a temporary solution waiting for more specific handling of B&W negatives in the tool.
2021-04-21 22:52:37 +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
Desmis
f47f23a4dc LA - Duplicate full image size whole image - issue 6200 2021-04-21 10:32:51 +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
128de03aed Local adjustemnts - adapt various parameters to fit labels in right tool panel issue #6153 (#6160)
* Various change to fit label in left tool panel

* Increase size left panel from 460 to 465

* Various improvment to reduce size left panel

* Others changes to reduce left panel labels

* Increase default size right panel

* Set right panel ajustable to size font

* Others small changes to mask

* Others small modifications

* change a litlle GUI - curveeditorgroup.cc - suppress curves u=in mask and reduce size right panel

* Added : to various curves label

* Others : labels curves

* Some adjustments labels sizefonts

* Change 2 forgotten length labels in denoise

* Others improvments labels

* Others labels change for retinex

* Others change labels - thanks to Wayne Sutton

* French change label length

* Change labels Wavelet levels - LA retinex - LA color and lights - and others

* Other change to mask blur

* Change box - Flowbox - thanks to Beep6581

* Adapt size box basic..advanced with size font

* Restore curveditorgroup : - change some labels and tooltips

* Remove some ':' - change and adapt labels tooltip wavelet levels

* Change flowbox for complexity under label

* Restore right panel and options to default values

* Change a label in wavelet level denoise

* Change in mask curves L(L) by L C(C) by C

* Small change labels denoise to fit in width right panel

* Others changes to GUi and labels to fit in right panel

* First change tooltips and french

* Second change tooltips

* Change tooltip mask denoise
2021-04-02 07:36:42 +02: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
Thanatomanic
a64660bfa2 Support for Canon EOS RP and Canon 100D in camconst.json
Merge pull request #6187 from CarVac/patch-1
2021-03-26 10:59:20 +01: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
Ingo Weyrich
871d35c228 Favorites Tab: rawBayerExposure in X-Trans, fixes #6182 2021-03-24 11:05:11 +01: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
619244886d Change 2 forgotten Nlmeans parameters - thanks to Lawrence37 2021-03-21 20:49:52 +01:00
Desmis
88a7a7ecc7 LA nlmeans remove limitation spot size - issue 6087 2021-03-21 10:03:27 +01:00
Desmis
170df03933 LA - Simplify GUI - Dynamic range 2021-03-19 16:58:49 +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
Morgan Hardwood
2c47005b1d Chinese (Simplified) locale updated
Updated by syyrmb, closes #6168
2021-03-15 02:42:52 +01:00