Alberto Griggio
58c9f5a4da
procparams loading: test for file existence before calling the KeyFile parser
...
Fixes #4205
2017-12-06 11:59:12 +01:00
Morgan Hardwood
7cde837a15
Fixes reading tone curve mode from sidecar.
...
Flössie fixed a regression when reading tone curve modes from a sidecar.
Closes #4207 .
2017-12-06 08:34:15 +01:00
Flössie
cb1bbfef59
Fix loading of Wavelet/ThresholdHighlight
2017-12-05 19:51:48 +01:00
Flössie
8bebb5c720
Remove unused ColorManagementParamsEdited::gamfree
2017-12-05 18:55:59 +01:00
Flössie
2cd102cc61
Don't compare pointers but strings
2017-12-05 18:51:52 +01:00
Flössie
e6e4bfa350
Merge branch 'dev' into procparams-cleanup
2017-12-05 18:23:48 +01:00
Alberto Griggio
d78848c614
Use Glib::KeyFile::load_from_file in ProcParams::load instead of reading into a temporary buffer
...
Fixes #4205
2017-12-04 22:44:25 +01:00
Alberto Griggio
6512b9f5ff
updated RCD to the latest version (plus tweaks to avoid division by zero)
2017-11-30 23:15:20 +01:00
heckflosse
80fca667e2
Fix crash bug in raw ca correction when width is odd, also fix two overruns detected by adress sanitizer, fixes #4202
2017-11-29 23:06:53 +01:00
Desmis
1f548d663e
merge with Dev
2017-11-28 11:17:36 +01:00
Desmis
19389989e5
Clean and improve iplocallab.cc with JaggedArray
2017-11-28 11:12:54 +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
Flössie
95614c7ecb
Add operator ==()
to every parameter struct
2017-11-26 14:03:25 +01:00
Desmis
2a2a008a59
merge with dev
2017-11-26 09:28:48 +01:00
Desmis
5e93f6ba5d
Improve Inverse Color Light and fixed some bugs
2017-11-26 09:21:39 +01:00
heckflosse
2b031cdfd1
Changed Copyright notice
2017-11-26 00:11:08 +01:00
Flössie
3dfa59e77f
Little cosmetics for the new rt_algo.*
2017-11-25 17:50:47 +01:00
heckflosse
94d28e508e
Added newline at end of file
2017-11-25 13:59:39 +01:00
heckflosse
cc243704b4
Added newline at end of file
2017-11-25 13:58:51 +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
Alberto Griggio
4b6b806163
RCD: some tweaks to better fit in the RT way of dealing with highlight scaling
2017-11-24 17:46:07 +01:00
Alberto Griggio
7181f4b245
dcraw: apply the fix for #4129 only for DNGs coming from the Adobe DNG Converter
2017-11-24 11:41:48 +01:00
Alberto Griggio
421fa881c3
RCD demosaic: fixed potential divisons by zero
...
(due to non-associativity and cancellation effects of ops on floats)
2017-11-23 16:25:47 +01:00
Alberto Griggio
cf3b7ed656
sync with 'dev'
2017-11-23 11:09:13 +01:00
Flössie
7ba16a6f06
Bump PP version to 328 due to ff_clipControl
(by @heckflosse)
2017-11-22 20:41:13 +01:00
heckflosse
d31aca2e6a
Disabled timing code in fattal tone mapper
2017-11-22 01:31:19 +01:00
Flössie
a1a583a077
Fix SEGV in ProcParams::load()
2017-11-21 18:21:03 +01:00
Flössie
0eb3969279
Make PartialProfile
non-copyable
2017-11-21 18:11:26 +01:00
Flössie
0fc6d2f98e
Final touchups for procparams.*
2017-11-20 21:09:06 +01:00
Flössie
b98a3944a6
Merge branch 'dev' into procparams-cleanup
2017-11-20 20:40:57 +01:00
Flössie
5734e546d8
C'tor init for the rest of the Params
2017-11-20 20:26:23 +01:00
Desmis
d13b485eff
Improve algo slider chrominance color and light 'super'
2017-11-20 13:51:04 +01:00
Desmis
8dd112aaf6
merge with Dev
2017-11-20 09:51:19 +01:00
Desmis
0248c58970
Change limit RT-spot size
2017-11-20 09:46:07 +01:00
Alberto Griggio
912f9f436b
added support for 32-bit floating-point TIFF output
2017-11-20 00:11:18 +01:00
Alberto Griggio
bc8b8902e6
make rtengine::processImage return an Imagefloat instead of an Image16
...
This is for supporting saving to 32-bit float TIFFs
2017-11-20 00:10:51 +01:00
Alberto Griggio
95d303f442
turn off parallelization of step 4 of rcd
...
as the arrays are read and written, doing parallel operations properly requires some deeper analysis of the code. For now, let's simply disable them. We can always optimize later
2017-11-19 18:47:16 +01:00
Alberto Griggio
d47e7f67b2
fattal: set the lower bound to 1 instead of 0 (so that it's obvious it still has an effect)
2017-11-19 18:40:48 +01:00
Alberto Griggio
6acf170744
use camconst.json matrices (and levels) also for DNGs (issue #4129 )
2017-11-19 17:52:19 +01:00
Desmis
75cec00e95
merge with dev
2017-11-19 09:08:45 +01:00
Alberto Griggio
3673f1392c
added reference to the original repo and license for the RCD demosaic code
2017-11-19 00:43:12 +01:00
Alberto Griggio
6410f05799
Integrated the RCD demosaic method by Luis Sanz Rodriguez
...
Original code at https://github.com/LuisSR/RCD-Demosaicing
2017-11-18 23:45:30 +01:00
Flössie
05505803ae
C'tor init for (ToneCurve|Retinex|LCurve|ColorToning)Params
2017-11-18 19:07:23 +01:00
Alberto Griggio
f6bd06a06c
merged 'hdr_tonemap_fattal_nocache' into 'dev'
2017-11-18 17:44:34 +01:00
Alberto Griggio
e9d3053265
run tmo_fattal02.cc through astyle
2017-11-18 17:03:57 +01:00
heckflosse
5ddd42f721
Faster png save with still good compression, fixes #4045
2017-11-18 12:56:37 +01:00
Alberto Griggio
4d81812d13
LCP: applied fix by @kznsq for LCP files with attributes in a "PerspectiveModel" tag (issue #4137 )
2017-11-17 23:38:27 +01:00
Alberto Griggio
e384edba55
fattal: use a common cache for 1:1 detail crops when denoise is turned off
2017-11-17 21:28:17 +01:00
Alberto Griggio
7b9252be33
fattal: correctly crop the image to the dimensions required for distortion correction
...
Fix for #4187
2017-11-17 21:02:19 +01:00
Alberto Griggio
6212d6e0c6
better (local) caching of fattal results in dcrop
...
Use new M_HDR todo code instead of using M_RGBCURVE for fattal
(ported from Hombre's commit a9d02a7dca0b5dcd31f642046d94e1663b17c9ff)
2017-11-17 17:46:13 +01:00