Commit Graph

4636 Commits

Author SHA1 Message Date
Desmis
d02ed52e00 Local adjustments - improve exposure - issue 6274 (#6277)
* Various change to improve LA exposure

* Removed pow_Fr - clean code

* Remove unused code
2021-06-08 07:38:47 +02:00
Bezierr
d86888e93f Add resizing options "long edge" and "short edge" (#6263)
Introduces "long edge" and "short edge" options to resize an image. The GUI is made such that the relevant spinboxes only appear for the selected option. Unrelated values (e.g. for box-mode) are not updated.
2021-06-05 07:37:09 +02:00
Desmis
ef49d9eefd Disable masks when tool is disable 2021-05-30 07:53:19 +02:00
Desmis
c01166441c Wavelet levels - and denoise - crash in some cases - issue 6264 (#6265)
* Change order levwav for denoise

* Intialize to zero multipliers contrast if not used

* Forgotten commit

* Clean code
2021-05-29 11:39:06 +02:00
Thanatomanic
6189a0e816 Prevent crash when opening Canon RP files with different crop factor. Fixes #6255 2021-05-24 08:00:09 +02:00
Ingo Weyrich
2f2720b763 Perspective tool: Strange amplification interaction with Local Adjustments, fixes #6252 2021-05-23 14:37:26 +02:00
Ingo Weyrich
99f2a87819 added matrix for Pentax K3mkIII, taken from ART 2021-05-22 22:16:22 +02:00
Ingo Weyrich
ce3ab707f2 cppcheck clean rtengine/dcrop.* 2021-05-22 21:50:38 +02:00
Ingo Weyrich
ce3c5d4cf1 cppcheck clean rtengine/dcp.h 2021-05-22 12:26:46 +02:00
Ingo Weyrich
9972c2e990 cppcheck clean rtengine/badpixels.cc 2021-05-22 11:32:10 +02:00
Ingo Weyrich
35064451d6 cppcheck clean rtengine/pipettebuffer.h 2021-05-22 11:31:48 +02:00
Ingo Weyrich
954ce94e3f cppcheck clean rtengine/EdgePreservingDecomposition.h 2021-05-22 11:15:35 +02:00
Ingo Weyrich
1cce9a4ad2 cppcheck clean rtengine/imagesource.h 2021-05-22 11:09:26 +02:00
Ingo Weyrich
c326238824 white level for Fujifilm X-A20 2021-05-21 13:11:59 +02:00
Ingo Weyrich
c407fe1e91 raw crop for Pentax K3mkIII 2021-05-21 13:02:58 +02:00
Ingo Weyrich
8037a5da93 fix SpotParams::operator == 2021-05-21 09:46:57 +02:00
Desmis
bd9704da80 Change default primaries slider from Adobe to ProPhoto 2021-05-17 12:56:20 +02:00
Lawrence37
d11d834045 Merge pull request #6227 from Beep6581/spot-removal-tool
Spot removal tool
2021-05-16 12:44:45 -07:00
Lawrence Lee
38075be8cc Fix thumbnail spot removal with dehaze & film neg. 2021-05-15 23:49:25 -07:00
Lawrence Lee
ca4241109a Merge branch 'dev' into spot-removal-tool 2021-05-15 22:57:06 -07:00
Lawrence Lee
64248ab5cd Refresh thumbnail when en/disabling spot removal 2021-05-15 22:54:15 -07:00
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
Lawrence Lee
22e89d8394 Fix spot removal spot dependency calculation
Recursively find dependencies and output them in order.
2021-05-15 14:24:16 -07:00
Lawrence Lee
c41eb24760 Remove dead code 2021-05-14 22:07:01 -07: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
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