Commit Graph

1131 Commits

Author SHA1 Message Date
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
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
Alberto Griggio
dd6e411c13 lensfun: improved logic for handling fixed-lens cameras
Fixes #4161
2017-10-31 09:02:37 +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
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
Alberto Griggio
6f3d5688d8 Fixed bug in finding lensfun lens when maker name consists of multiple words 2017-10-19 16:03:33 +02:00
heckflosse
8621327678 Tiff files are not shown anymore after clearing cache, fixes #4149 2017-10-16 14:59:08 +02:00
Hombre57
dfe40677e2 Fix coverity issue 2017-10-13 23:25:24 +02:00
Hombre57
02463995af Merge branch 'dev' into multiframe-handling 2017-10-13 22:51:42 +02:00
heckflosse
e6f57b1978 Use std::string instead of Glib::ustring for key of map in camconst, #4140 2017-10-13 21:34:55 +02:00
heckflosse
93f6bf89b9 Multithreaded init phase, #4140 2017-10-13 20:59:49 +02:00
Hombre57
dcd2922167 Let users select RGB Input ICC profiles for output profiles
as requested there
https://discuss.pixls.us/t/rawtherapee-restriction-on-user-chosen-output-profile/5301
(no issue)
2017-10-10 23:03:57 +02:00
heckflosse
f38b271d74 fix heap-buffer-overflow in wavelet, Detected by AddressSanitizer. #4127 2017-10-10 15:44:27 +02:00
Alberto Griggio
1fdc2d7b49 dcraw: do not use CameraCalibration matrices when loading DNG files
This is to make sure that DNG-converted and original raw files are processed in the same way

Fixes #4129
2017-10-09 09:46:00 +02:00
heckflosse
d84a3fd40a Improve start time of rawtherapee when Dark-frames and Flat-fileds directories are set at default (windows), fixes #4103 2017-10-08 17:27:39 +02:00
heckflosse
2f32afa841 Raw CA correction created an artifact, fixes #4116 2017-10-08 15:36:31 +02:00
Hombre57
2ef064f7d4 Various bugfix (see #4008) :
1. RT could crash in some circumstances with single frame image
2. UNICODE UserComment now done when already existing in raw file
3. When editing UserComment in the ExifPanel, the Value filed is now
filled with the current value
2017-10-07 00:43:45 +02:00
Hombre57
180912df0f Merge branch 'dev' into multiframe-handling 2017-10-04 23:34:28 +02:00
Hombre57
bb874bcce7 Bigfix (see #4008) :
- CIECam now gets the shot's setting of the selected frame
- 'UserComment' metadata now correctly handled
- RT prepared to handle XTrans multiframe
- SensorType now set in the cache/data files
2017-10-04 23:27:08 +02:00
Morgan Hardwood
2f19546c72 astyled rtengine/improcfun.cc 2017-09-30 15:45:17 +02:00
Desmis
dbe1fb3fa6 Suppress compilation warning in improcfun.cc due to sumQ 2017-09-29 08:31:06 +02:00
Hombre57
0807510603 Bigfix: CR2 files couldn't find the metadata for display (see #4008) 2017-09-26 21:42:59 +02:00
heckflosse
3f31a2eed6 Applying Auto white balance to large files in file browser leads to wrong results, fixes #4108 2017-09-26 20:58:50 +02:00
Morgan Hardwood
172cbc1c9e camconst.json updates by iliasG, closes #3988. Changes:
- FUJIFILM X-A10
- Nikon D850
- OLYMPUS E-M1MarkII.
- OLYMPUS E-M10 Mark III.
- Panasonic DC-FZ80, Panasonic DC-FZ81, Panasonic DC-FZ82, Panasonic DC-FZ83.
- Panasonic DMC-TZ70, Panasonic DMC-TZ71, Panasonic DMC-ZS50, Panasonic DMC-ZS51.
- Panasonic DC-ZS70, Panasonic DC-TZ90, Panasonic DC-TZ91, Panasonic DC-TZ92, Panasonic DC-TZ93.
- Sony DSC-RX10M4.
2017-09-26 13:54:15 +02:00
heckflosse
ab07f62d8e Improved support for Fuji X-A10 and Pentax KP 2017-09-26 13:46:30 +02:00
Alberto Griggio
be39ef3260 allow to use a relative path for Lensfun.DBDirectory in options 2017-09-26 00:10:23 +02:00
heckflosse
1e775bb9f0 fix warning in improcfun.cc 2017-09-25 02:08:06 +02:00
heckflosse
18f09dcbee Fix wrong thumbnails for Canon G3 and G5, fixes #4000, fixes #4099 2017-09-23 16:20:50 +02:00
heckflosse
5247e61040 sony_arw2_load_raw() : removed timing code 2017-09-23 11:39:14 +02:00
heckflosse
f49d1c7762 sony_arw2_load_raw() : let only master thread update the progress bar 2017-09-22 16:01:53 +02:00
heckflosse
973656fd82 Multithreaded sony_arw2_load_raw() 2017-09-22 14:03:40 +02:00
heckflosse
6da935f9e7 multithreaded arw2 decode mockup 2017-09-21 21:49:05 +02:00
heckflosse
f52cd3be64 Added timing code to sony_arw_load_raw 2017-09-21 21:30:40 +02:00
Hombre57
97afbdc5c5 Merge branch 'dev' into multiframe-handling 2017-09-18 22:59:57 +02:00
heckflosse
a4ecae03b5 Use in place tranformations when using only luminance transformations. Fixes #4037 2017-09-18 01:50:17 +02:00
Hombre57
17c7ec684d PixelShift detection for PEF files was broken (see #4008) 2017-09-17 23:05:34 +02:00
heckflosse
658087e270 Lensfun: Reading pp3 with applied LCP doesn't set the LCP radio button. Fixes #4088 2017-09-17 15:53:57 +02:00
Hombre57
8cef3c5e2f Merge branch 'dev' into multiframe-handling 2017-09-17 15:04:29 +02:00