Commit Graph

4709 Commits

Author SHA1 Message Date
Ingo Weyrich
d3c536b0d8 Fix clang build 2021-02-26 13:01:02 +01:00
Ingo Weyrich
d7327e8b05 left original code in comments 2021-02-26 12:41:23 +01:00
Ingo Weyrich
10e0ab4eaa Speedup final touchup local contrast 2021-02-25 23:10:37 +01:00
Ingo Weyrich
9ba266c21f added some stopwatches 2021-02-25 22:44:50 +01:00
luz paz
fe795b419c Fix various source comment typos
Found via `codespell -q 3 -S ./rtdata/languages -L ba,bord,childs,hist,fo,reall,bloc,alph,dof,inout,thre,makro,chang,currentry,preserv,portugues,struc,trough,vektor,`
2021-02-25 09:49:27 -05:00
Ingo Weyrich
f727477710 Make some more files cppcheck clean (#6133)
* Make some more files cppcheck clean

* revert change of dcrop.cc from last commit

* Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))

* Revert "Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))"

This reverts commit d639c67249f1723fa9f9e55e0442afcb862eba91.
2021-02-24 22:39:23 +01:00
Ingo Weyrich
7a2463a81a make improcfun.cc cppcheck and -Wextra clean (#6128)
* make improcfun.cc cppcheck clean

* improcfun.cc: add -Wdouble-promotion to stay clean about this warning in future, because we are clean about it atm

* improcfun.cc: some cleanups, now this file is -Wextra clean. Let's keep it clean...

* improcfun.cc : Fix LGTM alert
2021-02-23 23:06:51 +01:00
Adam Reichold
fc23c0fbfa Fix GCC warning about comparing signed and unsigned integers. 2021-02-22 18:40:38 +01:00
Ingo Weyrich
c5a6c9fb3d make iplocallab.cc cppcheck and also -Wdouble-promotion clean #6119 (#6122)
* iplocallab.cc: some cppcheck fixes, also some cleanups and speedups, #6119

* iplocallab.cc: fix remainig cppcheck issues. Now this file is cppcheck clean, #6119

* make iplocallab.cc -Wdouble-promotion clean, #6119

* Fix compilatio issue

* Fix compilation issue
2021-02-22 12:03:53 +01:00
Ingo Weyrich
24df5166f2 assume SAMPLEFORMAT_UINT for tiff files when SAMPLEFORMAT_VOID is set 2021-02-21 13:32:16 +01:00
Desmis
9e159deb01 Local adjustments - Blur and noise radius > 1.5 increase saturation issue #6117 (#6118)
* Fixed bad behavior saturation issue 6117

* Reenable scalegr for grain

* Add forgotten brackets
2021-02-19 13:06:34 +01:00
Thanatomanic
de15da1d59 Fix new color propagation method (#6109)
* Fixed artifacts thanks to Alberto

* Added blur to Color propagation

* Clean format code - small improvments

* color propagation: Enable old mode at blur = 0

* Improve GUI

* color propagation: smooth progress bar for blur > 0

* change label

* Some cleanups

* color propagation: small speedup for blur > 0

* color propagation: speedup for blur > 0 when region with clipped highlights is small

* Speed-up for blur=1 - clean GUI code

* color propagation: cleanups

* Harmonize events in tonecurve.cc

* tonecurve.cc : cleanup

* Highlight reconstruction: small changes to gui

* Use Gtk::Box instead of Gtk::VBox

* Change maximum number of blur levels to 4

* Suppress BENCHFUN

* Suppress bad commit locallabtools

Co-authored-by: Desmis <jdesmis@gmail.com>
Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-02-18 13:36:54 +01:00
Ingo Weyrich
c3df0b1d86 LUT.h : fix cppcheck warnings 2021-02-14 17:48:10 +01:00
Ingo Weyrich
6454737d0c Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev 2021-02-09 12:39:07 +01:00
Ingo Weyrich
b7b5d48d2f Automatic distortion correction crashes on particular image, fixes #6104 2021-02-09 12:38:39 +01:00
Desmis
9b0bbdd276 Local adjustments - Neutralize process after LA when when the user uses preview deltaE (#6099)
* Add others methods RGB process - to preview dE

* added others process to neutralize preview dE

* Added others process to neutralize preview dE

* Change scope placement for all tools
2021-02-09 07:31:54 +01:00
Ingo Weyrich
e586f1b53e Fix broken PENTAX *ist D decoding 2021-02-08 14:37:50 +01:00
Desmis
d369efb045 Local adjustments - Placement of LA in the processing order - issue #6069 (#6080)
* LA change location in pipeline

* Improvment to events

* Second improvment events

* Another change events

* Change all events TRANSFORM to HDR

* Change in Log encoding for exposure now after

* Small change in Log encoding for calculation Black Ev and White Ev

* Change events for log encoding

* Add M_INIT | M_LINDENOISE | M_HDR to dcrop.cc

* Avoid unnecessary convertion from rgb to lab and back if local adjustments are not used, #6069

* Tooltip preview dE - disabled when BW

* Fixed issue 6092 - preview dE when BW is enabled

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-02-07 07:47:30 +01:00
Desmis
6ad419f189 Local adjustments - Denoise - improvments with Non Local means issue #6087 (#6091)
* Improvment to denoise

* Initialize nlmeans - thanks to Alberto and Ingo

* Added 2 sliders max_patch and max_radius

* Added Frame Non-local means

* Improve GUI and tooltips - french

* Change dfault detail - and comment code

* Change label

* Adapt English tooltip

* Change GUI for NLmeans

* Change order GUI denoise

* Some changes to enable DCT - labels and tooltips

* French labels tooltip

* Change order combobox mode denoise - labels - tooltips

* Change tooltip Denoise based on luminance mask

* Change a tooltip

* Removes unnecessary code

* Nlmeans add gamma to preserve structure or reinforce denoise

* Change gamma tooltip

* Change tooltip Recovery denoise

* Disabled nlmeans if skip > 5

* Change tooltip - size limit spot Nlmeans 150-150

* Change gamma Nlmeans

* Supress display console

* Speedup for gammalog and igammalog, #6087

* SSE code for (i)gammalog, #6087

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-02-05 16:24:43 +01:00
Ingo Weyrich
cce2f5053e Colour propagation: reduce memory usage 2021-02-02 17:53:27 +01:00
Ingo Weyrich
7a0d2dddc9 Fix flat field correction for multiframe raw files 2021-01-31 14:09:41 +01:00
Desmis
6b1e5d6181 Ciecam - Take into account issue #6022 choice between classic - symmetric - mixed - for cat02/16 (#6079)
* Change mode cat02-16 auto

* Change tooltip
2021-01-30 07:35:07 +01:00
Desmis
727c9557b4 Local adjustments - Mask - Change behavior Laplacian (#6075)
* Change Laplacian action in mask

* Change tooltip Laplace
2021-01-28 07:32:07 +01:00
Desmis
a5280fddf5 Local adjustments - Enable Disable spot with Denoise 2021-01-26 08:10:19 +01:00
Ingo Weyrich
84cfedd2a2 rcd: fix border issue 2021-01-24 11:26:04 +01:00
Thanatomanic
8a1f1e9e22 Update camconst.json with support for Nikon COOLPIX P950. Fixes #6066 2021-01-20 08:09:00 +01:00
Ingo Weyrich
049a6143f0 Merge pull request #6064 from Beep6581/rcd_new
Rcd improvements
2021-01-19 10:59:18 +01:00
Desmis
26a97468d9 Fixed Bug issue #6067 - right side border with dynamic range 2021-01-19 09:13:12 +01:00
Ingo Weyrich
d607028871 rcd demosaic: small change 2021-01-17 15:13:21 +01:00
Desmis
2ea7b02f2a Local adjustments - GUI 'full image' - allows you to use the local adjustment tools on the whole image (#6063)
* Init Full image auto mode

* Add tooltip for full image

* Change tootip

* Added tooltip to Full image

* Slighly change tooltip
2021-01-17 08:51:37 +01:00
Ingo Weyrich
369707df7a rcd demosaic: added some comments, #6054 2021-01-16 23:32:24 +01:00
Desmis
ea6bb8fcf7 Local adjustments - Retinex - Last Recovery based on luminance mask (#6062)
* LA Retinex GUI for Recovery based on luminance mask

* LA Retinex Enable Recovery based on luminance mask
2021-01-15 12:29:46 +01:00
Ingo Weyrich
59b7eb0bbd rcd: small speedup and cleaner code, #6054 2021-01-14 19:12:49 +01:00
Desmis
58feb50b33 Local adjustments - CBDL Luminance - Recovery based on luminance mask (#6060)
* LA CBDL GUI for Recovery based on luminance mask

* Improve tooltips
2021-01-14 14:21:01 +01:00
Desmis
5e95b2e5e2 Local adjustments - Tone Mapping - Recovery based on luminance mask (#6059)
* LA TM GUI for Recovery based on luminance mask

* LA TM enable Recovery based on luminance mask
2021-01-14 07:41:25 +01:00
Desmis
13bd5c0681 LA denoise - Improve Recovery based on luminance mask with chominance slider (#6058) 2021-01-13 12:28:09 +01:00
Desmis
8037457a8d Local adjustment - local contrast - wavelet - Recovery based on luminance mask (#6057)
* LA GUI Lc and Wavelet - recovery based on luminance mask

* Enable LA Lc wavelet Recovery based on luminance mask
2021-01-12 15:14:56 +01:00
Desmis
0ba18ab687 Local adjustments - Vibrance and Warm Cool - Recovery based on luminance mask (#6055)
* GUI for Vibrance Recovery based on luminance mask

* Enable LA Vibrance Recovery based on luminance mask
2021-01-12 06:58:21 +01:00
Thanatomanic
d36545b71a Update camconst.json with basic support for Canon EOS-1D X M3 2021-01-11 18:03:44 +01:00
Ingo Weyrich
f94cf78696 Improvement for rcd demosaic, #6054 2021-01-10 21:33:00 +01:00
Desmis
a58376021b Fixed too small spot in Tone mapping 2021-01-10 10:16:33 +01:00
Desmis
036257859d Local adjustments - denoise - Change curve denoise and default settings (#6051)
* Change parameters curve LA denoise

* Change enable denoise and default curve

* Change default curve level denoise

* Change default reset and enable
2021-01-08 17:17:44 +01:00
Desmis
efb601c028 Local adjustments - Shadows highlights - Recovery based on luminance mask (#6050)
* LA GUI for recovery using luminance mask

* LA Shadows Highlights Enable Recovery based on luminance mask
2021-01-08 13:17:28 +01:00
Desmis
b554f52ab9 Improve HLreconstruction color propagation - best transitions - code from ART - thanks to Alberto 2021-01-07 12:08:10 +01:00
Desmis
e8da58ad24 Some GUI improvment Ciecam 2021-01-07 10:09:28 +01:00
Desmis
66908b6c5a Improve GUI Ciecam - disable setDelay and throwOnButtonRelease 2021-01-05 09:12:30 +01:00
Desmis
5df1478320 Local adjustments - Dynamic range and exposure - Recovery based on luminance mask (#6046)
* GUI for recovery mask - Log encoding

* Enable recovery Log encoding with luminance mask

* GUI for exposure

* Improve code with maskrecov

* Enable recovery based on luminance mask for Dynalic Range and exposure

* Change tooltips

* Change boxblur
2021-01-05 07:50:22 +01:00
Ingo Weyrich
1fc3f036c1 Merge pull request #5997 from Beep6581/tiff_read
Improve error logging and memory handling when reading tiff files
2021-01-04 23:13:41 +01:00
Ingo Weyrich
9715f30623 Merge pull request #6047 from Beep6581/rcd_speedup
rcd demosaic: small speedup and reduction of memory usage
2021-01-04 23:08:47 +01:00
Ingo Weyrich
8b333d1527 Windows Dev Builds not Updating again, fixes #6033 2021-01-04 19:43:48 +01:00