5479 Commits

Author SHA1 Message Date
heckflosse
2ff9ca0145 lot of small speedups for fattal 2017-11-08 19:01:52 +01:00
Alberto Griggio
75405404a9 Fattal: speed up FFT computation by rescaling the images to FFTW-friendly dimensions 2017-11-08 18:07:03 +01:00
Alberto Griggio
b8ff601efa fixed silly typo in Median_Denoise, leading to segfault 2017-11-07 21:07:29 +01:00
Alberto Griggio
b1938e272c added a dedicated Median_Denoise function that applies the median filter only on dark pixels
This gives a slight performance improvement for Fattal
2017-11-07 18:00:00 +01:00
Alberto Griggio
31520c1a74 remove "(Fattal02)" from the name of the HDR Tone Mapping tool 2017-11-07 11:18:07 +01:00
Alberto Griggio
4d010f8dec do use a temporary image for Fattal in dcrop when it is needed
Because, sometimes it is needed indeed...
2017-11-07 10:31:03 +01:00
Alberto Griggio
6e17e38136 no need to use a temporary image for Fattal in dcrop 2017-11-06 23:00:52 +01:00
Alberto Griggio
d37f82498b Fattal: fixed typo in assertion, and added one more assertion 2017-11-06 22:48:40 +01:00
heckflosse
11f756239b Added comment to findMaxMinPercentile, interpolated minLum and maxLum. Removed some stop watches 2017-11-06 20:53:36 +01:00
heckflosse
81fbf0c2e1 Applied patch from @agriggio to check multithreading in fftw3 2017-11-06 19:09:50 +01:00
heckflosse
d810de4445 Double speed for rescale_bilinear 2017-11-06 19:08:30 +01:00
heckflosse
356d495252 Merge branch 'hdr_tonemap_fattal' of https://github.com/Beep6581/RawTherapee into hdr_tonemap_fattal 2017-11-06 01:12:37 +01:00
heckflosse
ab061283a6 fattal, about 100x speedup for findMaxMinPercentile() 2017-11-06 01:12:15 +01:00
Alberto Griggio
b640a37d79 Fattal GUI: set a lower bound of 0 for amount 2017-11-05 21:49:38 +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
54783f6e2f Fixed bug (uninitialized values) in ImProcFunctions::Median_Denoise
The code was not copying border pixels from medianOut to dst, leading to the
use of uninitialized values. This was not visible in RT because Median_Denoise
was always called with src == dst, so not copying the border causes no harm
2017-11-05 15:07:03 +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
34ed12c318 HDR Tone compression : Threshold and Amount swapped in GUI (#4168) 2017-11-05 00:00:27 +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
Hombre
b64707bea6 Adding ADD/SET mechanism to Fattal HDR tool + PartialPaste dialog gui
+ range of Beta limited to 0.7 <> 1.3.

ADD/SET mechanism was missing for EPD tool too, so it's included in this
commit.

see #4168
2017-11-04 21:27:11 +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
Beep6581
8896f19e6b
Merge pull request #4167 from TooWaBoo/dev
Update TooWaBlue theme to version 2.60
2017-11-04 14:08:46 +01:00
TooWaBoo
6b00169260
Update TooWaBlue theme to version 2.60
small cosmetic changes
2017-11-04 13:55:18 +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
Beep6581
7ded0536b9
Merge pull request #4156 from Benitoite/patch-2
License file for libiomp5.dylib
2017-11-01 21:35:55 +01:00
heckflosse
38c04e122e Merge branch 'dev' into ph1speedup 2017-11-01 20:20:08 +01:00
heckflosse
d6a26f6812 Fix a bug in Hasselblad decoder I introduced with my changes for phase one decoder 2017-11-01 20:19:38 +01:00
Alberto Griggio
2006a1755b fixed regression in ImProcFunctions::transformGeneral introduced by recent refactorings 2017-10-31 10:49:40 +01:00
Alberto Griggio
770479f643 removed unused parameters from transformLCPCAOnly 2017-10-31 09:38:27 +01:00
Alberto Griggio
dd6e411c13 lensfun: improved logic for handling fixed-lens cameras
Fixes #4161
2017-10-31 09:02:37 +01:00
Alberto Griggio
dfff9812bf improved profile-based CA correction in preview
also cleaned up the code
2017-10-31 00:51:01 +01:00
Morgan Hardwood
a2a70bffdf Added alternative camera make name XIAOYI == YI TECHNOLOGY to fix magenta highlights, closes #4164 2017-10-30 13:12:26 +01:00
Morgan Hardwood
8aa3b75c46 Deleted unused translation strings 2017-10-29 22:02:03 +01:00
Morgan Hardwood
157fc26a60 generateTranslationDiffs 2017-10-29 21:57:54 +01:00
Alberto Griggio
f9dc4fd22b
Merge pull request #4160 from TooWaBoo/dev
Update TooWaBlue theme to version 2.59
2017-10-29 21:48:43 +01:00
Alberto Griggio
d5c01e8c1d
Merge pull request #4158 from Beep6581/custom-file-chooser-button
Custom file chooser button
2017-10-29 21:48:27 +01:00
Alberto Griggio
5a05b04e09 profile-based CA correction applied during 1:1 preview 2017-10-29 21:41:19 +01:00
Morgan Hardwood
c39a054eab Added keyboard shortcuts for "Copy to" and "Move to", closes #3271 2017-10-29 18:31:18 +01:00
heckflosse
da5664599e Merge branch 'dev' into ph1speedup 2017-10-29 14:35:28 +01:00
Alberto Griggio
830fd6fdbb added support for CA correction via lensfun
Performance could be improved (see the comments marked "agriggio" in iptransform.cc and rtlensfun.cc)
2017-10-26 23:55:52 +02:00
Alberto Griggio
a29287eaa0 started working on enabling full support for CA correction with a lens profile 2017-10-26 22:51:03 +02:00
TooWaBoo
075960683c Update TooWaBoo to version 2.59
Please merge together with https://github.com/Beep6581/RawTherapee/pull/4158
2017-10-26 19:50:01 +02:00