Commit Graph

1626 Commits

Author SHA1 Message Date
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
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
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
Alberto Griggio
5a05b04e09 profile-based CA correction applied during 1:1 preview 2017-10-29 21:41:19 +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
Alberto Griggio
1c86c3c44d Disable LCP CA correction if LCP distortion is enabled
This was the old behaviour before lensfun integration. In order to enable both CA and distortion correction from the LCP, more work is needed.

(temporary) fix for #4159
2017-10-26 15:02:55 +02:00
heckflosse
2b2bbd69f4 Make compilation unit rtengine/iplab2rgb.cc -Wextra clean, #4155 2017-10-25 19:07:38 +02:00
heckflosse
f3690d00ac Make compilation unit rtengine/rtlensfun.cc -Wextra clean, #4155 2017-10-25 17:36:43 +02:00
heckflosse
d1ba2091a0 Make compilation unit rtengine/myfile.cc -Wextra clean, #4155 2017-10-25 17:22:42 +02:00
heckflosse
2e645debb4 Fix two issues detected by Flössie 2017-10-25 17:09:46 +02:00
heckflosse
9a17962f4b Make compilation unit rtengine/iptransform.cc -Wextra clean, #4155 2017-10-25 16:53:17 +02:00
heckflosse
7b3c36c7c6 reduce scope of warning silencing 2017-10-25 16:50:03 +02:00
heckflosse
fb02e6883e remove #pragma... 2017-10-25 13:27:02 +02:00
heckflosse
7542cfc456 Make compilation unit rtengine/icons.cc -Wextra clean, #4155 2017-10-25 13:26:14 +02:00
heckflosse
beb6347a48 Make compilation unit rtengine/fast_demo.cc -Wextra clean, #4155 2017-10-25 13:11:15 +02:00
heckflosse
87c109a10e Make compilation unit rtengine/cJSON.c -Wextra clean, #4155 2017-10-25 12:56:23 +02:00
heckflosse
ba63016e98 Make rtengine/impulse_denoise a compilation unit 2017-10-23 21:16:07 +02:00
heckflosse
80b23e7168 Make compilation unit rtengine/imagedata.cc -Wextra clean, #4155 2017-10-23 20:59:47 +02:00
heckflosse
841679c6db Remove some duplicate code in rtengine/curves.cc 2017-10-23 20:41:20 +02:00
heckflosse
fa4444d6d3 Make rtengine/fujicompressed.cc -Wextra clean, #4155 2017-10-23 14:06:04 +02:00
heckflosse
54a07be45d Make compilation unit rtengine/PF_correct_RT.cc -Wextra clean, #4155 2017-10-23 00:16:22 +02:00
heckflosse
330ee9a91f Make compilation unit rtengine/procparams.cc -Wextra clean, #4155 2017-10-22 23:48:38 +02:00
heckflosse
31c75864d4 Make compilation unit rtengine/dirpyr_equalizer.cc -Wextra clean, #4155 2017-10-22 23:08:02 +02:00
heckflosse
123c8b4443 Make compilation unit rtengine/curves.cc -Wextra clean, #4155 2017-10-22 22:25:05 +02:00
heckflosse
8de8775264 eliminate AlignedBufferMP, also eliminate some unsused functions in boxblur.h 2017-10-22 21:06:24 +02:00
heckflosse
8bd9f174dc Reworked colortemp and pow_F defines 2017-10-22 20:05:27 +02:00
heckflosse
7c9d42827f Make compilation unit rtengine/colortemp.cc -Wextra clean, #4155 2017-10-22 14:49:45 +02:00
heckflosse
a75058546a Make compilation unit rtengine/color.cc -Wextra clean, #4155 2017-10-22 14:36:56 +02:00
heckflosse
e489fc7bea Make compilation unit rtengine/rtthumbnail.cc -Wextra clean, #4155 2017-10-22 14:01:07 +02:00
heckflosse
d5ceb850f3 Make compilation unit rtengine/rawimagesource.cc -Wextra clean, #4155 2017-10-22 13:43:28 +02:00
heckflosse
15108af3a7 Make compilation unit rtengine/ciecam02.cc -Wextra clean, #4155 2017-10-22 01:54:12 +02:00
heckflosse
3570550ac9 Make compilation unit rtengine/labimage.cc -Wextra clean, #4155 2017-10-21 22:55:07 +02:00
heckflosse
c8ac93676e Make compilation unit rtengine/demosaic_algos.cc -Wextra clean, #4155 2017-10-21 22:01:42 +02:00
heckflosse
04cdcca26c Make compilation unit rtengine/improcfun.cc -Wextra clean, #4155 2017-10-21 21:26:07 +02:00
heckflosse
06f07820bd Make compilation unit rtengine/ipwavelet.cc -Wextra clean, #4155 2017-10-21 19:52:41 +02:00