Commit Graph

1249 Commits

Author SHA1 Message Date
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
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
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
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
7181f4b245 dcraw: apply the fix for #4129 only for DNGs coming from the Adobe DNG Converter 2017-11-24 11:41:48 +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
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
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
Flössie
0a9d81bc7f Fix wrong *Sensor::Method::NONE for MONO substitution 2017-11-17 17:19:40 +01:00
Flössie
e0f7c1358b procparams.h cleanup - Part 2
TODO:
- Add c'tors and find all defaults
- Remove `setDefaults()` in favour of c'tors
- Add `operator ==()` to `struct`s
2017-11-17 17:05:46 +01:00
Alberto Griggio
1467b858c5 fixed missing memory deallocation 2017-11-17 15:34:48 +01:00
Alberto Griggio
b25bac8c53 improved performance of Fattal in dcrop
Now only Fattal works on the full image, the rest of the pipeline (including denoising) always operates only on the visible crop
2017-11-17 15:27:56 +01:00
Alberto Griggio
339c794359 Fixed bug (typo) in LCP-based CA correction (now reenabled) 2017-11-16 21:22:17 +01:00
Alberto Griggio
619b3e9c63 fixed off-by-one error leading to segfault 2017-11-16 17:35:21 +01:00
heckflosse
652044e863 Don't create panasonic bithuff when panasonic_load_raw() is not used 2017-11-15 22:33:06 +01:00
heckflosse
76ac9b0288 Fix for ph1_bithuff_t, thanks to Flössie 2017-11-15 14:56:57 +01:00
heckflosse
7f9608eea2 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev 2017-11-15 00:54:34 +01:00
heckflosse
18f775d805 review of ph1_bithuff 2017-11-15 00:54:05 +01:00
Alberto Griggio
19281eedd1 merge branch 'lensprofile-ca-correction' into 'dev' 2017-11-14 22:53:27 +01:00
Alberto Griggio
99f41baf4f disable LCP-based CA correction, as it is currently broken 2017-11-14 22:52:57 +01:00
Flössie
02d6187cd8 procparams.h cleanup - Part 1
TODO:
- Part 2 (obviously 😉)
- Remove `setDefaults()` in favour of c'tor
2017-11-14 21:20:07 +01:00
Flössie
aa414fca41 Clean rtengine::procparams::Threshold 2017-11-13 22:00:27 +01:00
heckflosse
0efee599a1 Fix bugs I introduced with the speedup for Phase One decoder 2017-11-13 18:57:44 +01:00
heckflosse
bd9592cb1f Fix two warnings when using gcc < 7 2017-11-12 13:42:25 +01:00
Flössie
c702e5d847 Additional manual cleanups to ProcParams::(save|load)() 2017-11-11 21:11:57 +01:00
Flössie
157b42cd83 Introduce assignFromKeyfile() and saveToKeyfile() 2017-11-11 20:25:13 +01:00
heckflosse
4754d5a6cc Speedup for loading of Phase One files, fixes #4050 2017-11-11 18:48:44 +01:00