Commit Graph

1592 Commits

Author SHA1 Message Date
Alberto Griggio
f8c06863fe fix crash when the CL curve is such that curve(0) >> 0 2018-04-12 21:51:57 +02:00
Floessie
3bcae75b9c Merge pull request #4502 from Beep6581/dcp-aliases
DCP aliases
2018-04-12 11:26:59 +02:00
Alberto Griggio
f320de08eb rawimagesource: force conversion through prophoto if the input ICC profile is not a "generic" one 2018-04-12 09:44:51 +02:00
Flössie
df5c385135 Use cJSON_Minify() and fix missed const opportunities 2018-04-11 20:16:35 +02:00
Alberto Griggio
d4d4ae0320 Do not perform Bradford adaptation when importing custom working spaces from ICC profiles
ICC profile matrices are already adapted to D50, regardless of the value of the white point tag
2018-04-10 22:00:26 +02:00
Flössie
4332b7edeb Implement dcpprofiles/camera_model_aliases.json (#4500) 2018-04-10 20:33:54 +02:00
Ingo Weyrich
0a88a36ed9 Merge pull request #4444 from Beep6581/vibrance_review
Code review and speedup for ImProcFunctions::vibrance()
2018-04-08 00:57:34 +02:00
heckflosse
eb1e67e3fb Removed BENCHMARK 2018-04-08 00:56:56 +02:00
heckflosse
9323d8c46d Remove ciecam02 double precision processing 2018-04-06 23:19:40 +02:00
heckflosse
68ecc24270 Fix slowdown caused by 03efc48 2018-04-06 16:19:01 +02:00
Alberto Griggio
03efc48bc5 tentative fix for #4481 2018-04-05 11:22:19 +02:00
Alberto Griggio
46327259e2 added checkbox to let the user decide whether to clamp or not 2018-04-05 11:22:05 +02:00
Alberto Griggio
681361c091 do not apply profiled vignette correction if the correction mode is set to 'None'
Fixes #4480
2018-04-04 13:36:18 +02:00
Alberto Griggio
4344603a3d further fixes to ensure smooth transitions to clipped colours 2018-04-04 01:05:23 +02:00
Alberto Griggio
acfdf220ec reverted to original method for colour propagation of fully clipped highlights
The "new" one was producing artifacts in some cases -- needs further investigation
2018-04-03 10:38:59 +02:00
Alberto Griggio
65783e0216 fixed warning about uninitialized vars 2018-04-03 09:25:16 +02:00
Flössie
840908e431 Fix Clang build (fixes #4483) 2018-04-03 20:38:35 +02:00
heckflosse
16679296b7 replace summation with error correction by summation using double precision 2018-04-03 12:22:32 +02:00
Alberto Griggio
772474dbf4 fix posterized highlights and crushed shadows (regression introduced by unbounded processing)
Fixes #4479
2018-04-02 23:34:07 +02:00
Alberto Griggio
f9396f2a4b avoid magenta highlights for thumbnails when higlight reconstruction is enabled 2018-03-29 14:28:54 +02:00
Alberto Griggio
b42a45b481 merged branch 'unbounded-processing' into 'dev' 2018-03-28 21:35:23 +02:00
Flössie
237e5b47c3 Bump cJSON to 1.7.5
Should fix CVE-2016-4303 and https://github.com/DaveGamble/cJSON/issues/30.
2018-03-27 19:01:29 +02:00
Morgan Hardwood
c9fa7b055c Prevent "comparison between signed and unsigned integer expressions" GCC warning, #4455 2018-03-27 16:57:50 +02:00
heckflosse
54a0ccf156 Fix bad pixels if DNG opcode FixBadPixelsConstant == 0, fixes #4471 2018-03-27 15:29:53 +02:00
Alberto Griggio
100da304b8 do not perform histogram matching if the embedded thumbnail is too small
Fixes #4467
2018-03-27 14:41:19 +02:00
Alberto Griggio
95a5f3d662 fixed compilation that was broken by merging 'enhanced-inspector-mode' 2018-03-27 13:46:20 +02:00
Alberto Griggio
15813abbed Merge pull request #4457 from Beep6581/hilite-recon-color-propagation-new
some tweaks to the colour propagation method for highlight recovery
2018-03-27 12:18:06 +02:00
Alberto Griggio
a0a9488c20 Merge pull request #4459 from Beep6581/enhanced-inspector-mode
feature: added option to use a (fast) neutral RAW rendering in 'inspector mode'
2018-03-27 12:17:22 +02:00
Alberto Griggio
f5342cc24a Merge pull request #4461 from Beep6581/custom-working-profiles
added possibility to specify extra working spaces via a json file
2018-03-27 08:34:58 +02:00
luz.paz
b41fea1c6f Misc. typos
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt --skip="./rtdata/languages"`
2018-03-24 19:42:08 -04:00
heckflosse
45fcbe9052 Fix broken colour toning when b&w is enabled 2018-03-24 10:28:43 +01:00
heckflosse
806e1b32bb Fix B&W colour cast when lab tool is disabled 2018-03-23 15:39:00 +01:00
Alberto Griggio
aecbc2cf24 fixed compilation problem 2018-03-23 14:37:57 +01:00
Alberto Griggio
6f83d57458 some tweaks to the colour propagation method for highlight recovery
with the attempt to make it "smoother" and more realistic (or at least eye
pleasing) in some corner cases
2018-03-22 15:45:18 +01:00
Alberto Griggio
7ab6f59c28 merged 'raw-line-noise-direction' into 'dev' 2018-03-22 13:56:58 +01:00
heckflosse
32e9c454f5 Don't report vibrance processing time if vibrance is disabled 2018-03-22 02:16:57 +01:00
heckflosse
a75de0a6c5 Merge branch 'dev' into vibrance_review 2018-03-22 02:01:42 +01:00
Alberto Griggio
46a556fbaa tweaked procparams adjustment for the fast pipeline (denoise and RL deconvolution radius) 2018-03-21 22:49:06 +01:00
Alberto Griggio
4c3c7a4c09 fixed bug in setting BPC in the gamut warning 2018-03-22 22:50:39 +01:00
Alberto Griggio
c4933e36c8 merged 'improved-gamut-warning' into 'dev' 2018-03-22 16:21:43 +01:00
Alberto Griggio
15d8e2917a added support for Fuji X-A3 (ported from Libraw)
See #4447
2018-03-21 18:03:27 +01:00
Ingo Weyrich
b0092a2436 Merge pull request #4454 from Beep6581/monochrome-thumb
Fix wrong monochrome thumbnails
2018-03-21 17:41:31 +01:00
heckflosse
386d43a508 Fix bug I introduced in sony_arq_load_raw() 2018-03-21 17:37:22 +01:00
heckflosse
2591364b54 Fixed wrong replacement of rgb_cam matrix 2018-03-20 23:06:22 +01:00
heckflosse
59ebf99f63 Add support for embedded single channel previews, fixes #4419 2018-03-20 22:20:25 +01:00
heckflosse
b29029527d Fix black thumb when applying a processing profile to a monochrome dng with wrong rgb_cam matrix 2018-03-20 22:18:42 +01:00
Alberto Griggio
c7c8f68e32 fixed segfault in the oog check when the gamut profile is null 2018-03-20 15:50:55 +01:00
Alberto Griggio
b09bf381b4 added possibility to specify extra working spaces via a json file
The JSON file is called workingspaces.json, it can be either in the global iccprofiles directory, or in the user's ICC profiles dir (set in preferences).

The format is the following:

{"working_spaces": [
    {
        "name" : "ACES",
        "file" : "/path/to/ACES.icc"
    },
    {
        "name" : "ACEScg",
        "matrix" : [0.7184354, 0.16578523, 0.09882643, 0.29728935, 0.66958117, 0.03571544, -0.00647622, 0.01469771, 0.66732561]
    }
]}

if "matrix" is present, "file" is ignored. If only "file" is present, the matrix is extracted from the ICC profile. For this, we look only at the R, G, and B matrix columns and the white point set in the profile. Bradford adaptation is used to convert the matrix to D50. Anything else (LUT, TRC, ...) in the profile is ignored.

It is the user's responsibility to ensure that the profile is suitable to be used as a working space.
2018-03-20 15:06:09 +01:00
Alberto Griggio
7096c9656a Fix for #4447 (support for Fuji X-A10) 2018-03-20 13:18:53 +01:00
Ingo Weyrich
33a24bb1d3 Merge pull request #4449 from Beep6581/flatfield_monochrom
Flatfield correction for monochrome raw files, fixes #4418
2018-03-20 14:44:45 +01:00