74 Commits

Author SHA1 Message Date
Lawrence37
0d0834cbe7
Dynamic Range Compression Improvement (5.10) (#6943)
* Improve Dynamic Range Compression - for some images with very high DR

* Clean code

* Improve TM fattal with saturation control in LA

* Saturation control fattal in LA

* Re-order paramsedit

* Change history_msg_tmo_satur with saturation

---------

Co-authored-by: U-PCSPECIALIST01\jdesm <jdesmis@gmail.com>
2024-02-04 15:38:04 -08:00
Ingo Weyrich
e77dac43d5 array2D.h: cleanup 2020-07-29 13:38:17 +02:00
Ingo Weyrich
6cb29be31c further cleanups 2020-07-16 21:44:00 +02:00
Desmis
e573de78b4 merge with dev 2020-03-19 13:40:11 +01:00
Ingo Weyrich
b2443b0e7e more double promote fixes, still not complete 2020-01-21 00:16:27 +01:00
Desmis
db1b1b68a3 adjustements tooltip 2020-01-03 16:47:16 +01:00
Desmis
95a2b21aa4 Improve dynamic range compression 2020-01-02 17:08:05 +01:00
Desmis
f6f03fb8fc Some improvments and Tooltip 2019-12-17 11:34:16 +01:00
Desmis
81e08265ec 2nd levels and resid dynamic range compression contrast wavelet 2019-12-16 14:16:12 +01:00
Desmis
1981b17245 First levels dynamic range compress Contrast wavelet 2019-12-16 12:36:45 +01:00
Ingo Weyrich
033d9fe02a Merge branch 'dev' into newlocallab 2019-11-04 23:01:33 +01:00
Ingo Weyrich
ec3ba6d9b8 renamed sleef.c to sleef.h 2019-11-03 17:03:40 +01:00
Ingo Weyrich
6335b68a80 Further reduction of include dependencies 2019-11-03 14:52:42 +01:00
Flössie
aacea7046c Fix Clang warnings plus some cleanups 2019-10-31 08:56:38 +01:00
Ingo Weyrich
1d51016bdd Fix some lgtm issues 2019-10-30 14:07:49 +01:00
Ingo Weyrich
20726d5bfe Forward declare Imagefloat 2019-10-28 20:01:16 +01:00
Desmis
fe10587741 add threshold detail denoise - thanks to Alberto 2019-10-12 18:14:39 +02:00
Desmis
0711373021 Merge with dev 2019-09-11 08:35:25 +02:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Desmis
a307b5a739 Improve Exposure PDE 2019-09-10 11:14:40 +02:00
Desmis
0730222cf7 Add PDE Fattal to Exposure PDE - thanks to Alberto 2019-09-08 11:31:05 +02:00
Ingo Weyrich
4c99c9cf01 cppcheck: further fixes 2019-08-07 15:32:52 +02:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
Flössie
37027e46bd Fix non-OpenMP build 2019-02-06 06:54:31 +01:00
Alberto Griggio
75964dfd8b make sure that dehaze doesn't trigger Fattal tone mapping
(bad interaction due to sloppy rebasing)
2018-10-10 17:08:36 +02:00
Alberto Griggio
14ac4babec added haze removal tool
Based on the paper:
  "Single Image Haze Removal Using Dark Channel Prior" by He, Sun and Tang
using a guided filter for the "soft matting" of the transmission map
2018-10-10 10:02:06 +02:00
Alberto Griggio
39728c3286 rtengine: added rescale.h header with rescaleBilinear and rescaleNearest
taken from tmo_fattal02.cc and moved in their own header to allow reuse
2018-10-03 15:07:24 +02:00
Hombre
fbc81028eb First batch of variable name normalisation in ICM tool, see #4478 2018-05-14 00:57:55 +02:00
Alberto Griggio
b42a45b481 merged branch 'unbounded-processing' into 'dev' 2018-03-28 21:35:23 +02:00
heckflosse
e69952d654 use double precision for large summations, #4408 2018-02-21 14:28:54 +01:00
Alberto Griggio
aa673ce15d fattal: removed negative clipping 2018-02-20 13:58:32 +01:00
luz.paz
c3c3ceac79 Misc. typos
Found via `codespell` 
+ removed rtengine/dcraw.patch per discussion in https://github.com/Beep6581/RawTherapee/pull/4395
2018-02-14 14:07:18 -05:00
Alberto Griggio
8a510315c2 Fattal: added anchor parameter 2018-01-25 22:13:17 +01:00
heckflosse
fc77fd6964 Remove all BENCHMARK defines 2018-01-22 19:04:42 +01:00
heckflosse
53ec11eea9 Cleanup fftw when closing RT, instead of after each time fftw is used. Speeds up fattal and luminance denoise 2018-01-17 20:39:01 +01:00
Alberto Griggio
de65194b5f fattal: commented out some unused vars (silence gcc warnings) 2018-01-15 22:25:05 +01:00
heckflosse
db978e360d Trying to fix HDR tool (Fattal) produce zoom dependant luminosity #4306 2018-01-15 21:53:34 +01:00
Alberto Griggio
3c50e8ff5b Fattal: remove nondeterminism due to openmp and use a more robust comparison for finding the max luminance
Addresses #4306 and at least mitigates it
2018-01-14 23:47:13 +01:00
Flössie
3b6cc19ae9 Fix some Coverity warnings 2018-01-12 18:20:21 +01:00
Alberto Griggio
a748354b7b Fattal: do not consider clipped values when determining the luminance scaling factor
This solves the issue with "color propagation" highlight reconstruction described in #4255
2018-01-11 15:05:15 +01:00
heckflosse
9ce829e2f6 Small speedup for fattal 2018-01-09 00:43:13 +01:00
heckflosse
529a7f3003 tmo_fattal02.cc added nowait, #4255 2018-01-08 15:27:41 +01:00
heckflosse
6c6786929c Fixe race in tmo_fattal, #4255 2018-01-08 15:21:56 +01:00
Alberto Griggio
7f89c362d0 HDR tone mapping: normalize luminance relative to the brightest point in the input
(Also tweaked the default value for the "amount" slider)

Fixes #4255
2018-01-08 14:54:55 +01:00
heckflosse
3b6cf1d881 Disabled StopWatch 2017-12-07 22:57:19 +01:00
heckflosse
a633f3d233 fattal: optimized memory usage 2017-12-07 22:51:19 +01:00
Alberto Griggio
8e43df5abb Fattal: fixed off-by-one error in rescaling the luminance
Fixes #4200
2017-11-28 08:57:45 +01:00
heckflosse
0950963f84 Moved findMinMaxPercentile() to rt_algo.*, use bool multiThread in fattal tonemapper, fixes #4195 2017-11-25 13:56:42 +01:00
heckflosse
d31aca2e6a Disabled timing code in fattal tone mapper 2017-11-22 01:31:19 +01:00
Alberto Griggio
e9d3053265 run tmo_fattal02.cc through astyle 2017-11-18 17:03:57 +01:00