Commit Graph

394 Commits

Author SHA1 Message Date
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
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
Desmis
0bf7736f61 merge with dev 2018-03-18 14:58:31 +01:00
heckflosse
276a86c740 RT crashes when viewing Nikon D1X files with demosaicer set to 'None' and hovering about the right or lower part of the image, fixes #4436 2018-03-11 14:52:51 +01:00
Alberto Griggio
81210d18b4 Added new mode "Horizontal on PDAF rows only" for the "line noise filter" 2018-03-10 22:56:45 +01:00
Alberto Griggio
a6c86b2bcf use bilinear interpolation in PDAFGreenEqulibrateThreshold::operator() 2018-03-09 18:26:29 +01:00
heckflosse
84f46eaab6 Add flat field correction for monochrome raw files 2018-03-09 14:51:28 +01:00
Alberto Griggio
24edd97dca added automatic adaptive green equilibration to the PDAF lines filter 2018-03-08 16:12:34 +01:00
Alberto Griggio
3422dc7173 fixed missing update of the total number of bad pixels found 2018-03-05 17:46:20 +01:00
Alberto Griggio
81a8aa4037 added experimental RAW Bayer preprocessing filter for mititgating the Sony PDAF lines banding problem 2018-03-05 16:25:10 +01:00
Alberto Griggio
0bb7375a90 added possibility to apply "RAW line noise filter" only in a specific direction (horizontal or vertical) 2018-02-28 23:37:34 +01:00
Alberto Griggio
0b6f483e4b never clip in RawImageSource::getImage (regardless of whether highlight reconstruction is enabled) 2018-02-26 11:46:37 +01:00
Alberto Griggio
8155698ed6 removed one further clipping place 2018-02-25 21:21:49 +01:00
Desmis
9660858976 merge with dev 2018-02-16 08:22:30 +01:00
Floessie
38cab123fc Merge pull request #4401 from Beep6581/gcc8-warnings
Fix GCC 8 warnings
2018-02-15 20:54:43 +01:00
Desmis
9916cdb4b0 merge with dev 2018-02-15 16:57:23 +01:00
luz.paz
c3c3ceac79 Misc. typos
Found via `codespell` 
+ removed rtengine/dcraw.patch per discussion in https://github.com/Beep6581/RawTherapee/pull/4395
2018-02-14 14:07:18 -05:00
Flössie
04cef998a2 Fix some GCC 8 warnings (#4397) 2018-02-14 20:01:20 +01:00
Alberto Griggio
d17bb0cfe6 feature: added option to use a (fast) neutral RAW rendering in 'inspector mode' 2018-03-21 10:47:38 +01:00
Desmis
4a29e34e20 merge with dev 2018-01-26 18:00:33 +01:00
Desmis
62d9825bce merge with Dev 2018-01-23 17:52:31 +01:00
heckflosse
96bf06a950 Removed most of the __x86_64__ dependencies. Also removed _RT_NESTED_OPENMP 2018-01-23 16:05:31 +01:00
heckflosse
fc77fd6964 Remove all BENCHMARK defines 2018-01-22 19:04:42 +01:00
Desmis
6cdbba2a0f merge with dev 2018-01-21 08:42:26 +01:00
heckflosse
8622efce00 Crash opening dng file from hdrmerge, fixes #4313 2018-01-18 19:53:18 +01:00
Desmis
90bd7fa98d merge with dev 2018-01-14 12:26:00 +01:00
Flössie
3b6cc19ae9 Fix some Coverity warnings 2018-01-12 18:20:21 +01:00
Desmis
7a714e5093 Add inverse to shapemethod - fixed crash retinex inverse 2018-01-03 16:47:54 +01:00
Desmis
63073b470d merge with dev - I hope no error 2018-01-02 19:58:42 +01:00
Flössie
ce2be7ad87 Fix pass-by-value (Coverity) 2018-01-01 12:48:35 +01:00
Flössie
1054083661 Fix pass-by-value (Coverity) 2018-01-01 12:43:51 +01:00
Flössie
ecee587402 Fix pass-by-value (Coverity)
Plus some `const` adjustments. (Groundhog day?)
2018-01-01 12:35:41 +01:00
Desmis
46181f1008 merge with dev 2017-12-21 08:42:43 +01:00
heckflosse
1fdf44660a exposed maker to pixelshift code for future use 2017-12-12 21:38:44 +01:00
Desmis
5d67bb2e39 merge with dev 2017-12-10 14:44:54 +01:00
Desmis
392d2a6769 Merge with dev - save provisory work 2017-12-09 14:32:32 +01:00
Alberto Griggio
503fe902a0 merged 'rcd-demosaic' into 'dev' 2017-12-08 18:53:03 +01:00
Flössie
b98a3944a6 Merge branch 'dev' into procparams-cleanup 2017-11-20 20:40:57 +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
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
heckflosse
0df571b2db solved merge conflicts for merge from dev into newlocallab 2017-11-15 16:49:53 +01:00
heckflosse
beb6347a48 Make compilation unit rtengine/fast_demo.cc -Wextra clean, #4155 2017-10-25 13:11:15 +02:00
heckflosse
a75058546a Make compilation unit rtengine/color.cc -Wextra clean, #4155 2017-10-22 14:36:56 +02:00
heckflosse
d5ceb850f3 Make compilation unit rtengine/rawimagesource.cc -Wextra clean, #4155 2017-10-22 13:43:28 +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
Desmis
74cc88ff2f merge with dev 2017-10-14 08:34:38 +02:00
Desmis
1b78046318 merge with Dev 2017-09-18 16:28:28 +02:00
Hombre57
8cef3c5e2f Merge branch 'dev' into multiframe-handling 2017-09-17 15:04:29 +02:00