Commit Graph

64 Commits

Author SHA1 Message Date
heckflosse
ab061283a6 fattal, about 100x speedup for findMaxMinPercentile() 2017-11-06 01:12:15 +01:00
Alberto Griggio
1a2b7d2cde Fattal: extract luminance using the current working space matrix, not the sRGB one
Doesn't seem to make any practical difference though...
2017-11-05 21:32:06 +01:00
heckflosse
facb37be91 Speedup for exp-loop 2017-11-05 16:47:22 +01:00
heckflosse
1e0c5bfb5e solved merge conflict 2017-11-05 16:29:59 +01:00
heckflosse
59043cc978 Speedup for log-loop in tmo_fattal02 2017-11-05 16:25:13 +01:00
Alberto Griggio
d187c2e20b Fattal: raised threshold on black pixels clipping to avoid pixel artifacts 2017-11-05 16:05:50 +01:00
Alberto Griggio
d7136fc668 Fattal: apply a median filter on luminance on the deep shadows, to avoid boosting noise
Now preview matches output also for noisy images
2017-11-05 15:09:22 +01:00
Alberto Griggio
ceb3ebf24b Fattal: protect fftwf calls with a mutex (shared also with the denoise routine)
Initialization of the fftwMutex now happens in rtengine::init()
2017-11-05 13:34:33 +01:00
Hombre
0a9f382967 Refactored name for Fattal / Alpha & Beta + updated ranges (see #4168)
Ranges for Threshold and Amount is now -100 / +100 integer. Effective
range should be modified in ImProcFunctions::ToneMapFattal02 if ever.
2017-11-04 23:09:58 +01:00
Alberto Griggio
9db14cc521 Fattal: added sanity check for the values of alpha and beta 2017-11-04 21:10:26 +01:00
Alberto Griggio
f6faccc759 moved Fattal earlier in the pipeline (before rgbProc, right after distortion/perspective/ca) 2017-11-04 18:16:51 +01:00
Alberto Griggio
c9615d440d trying out some hacks to make Fattal results less dependent on the size of the input image 2017-11-03 22:10:10 +01:00
Alberto Griggio
d418b9d01d various fixes to Fattal, and moved it later in the pipeline 2017-11-03 14:58:27 +01:00
Alberto Griggio
77b4ad497b Integrated "Fattal02" tone-mapping operator from Luminance HDR 2017-11-02 22:34:49 +01:00