Commit Graph

269 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
Alberto Griggio
7ab6f59c28 merged 'raw-line-noise-direction' into 'dev' 2018-03-22 13:56:58 +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
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
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
Floessie
38cab123fc Merge pull request #4401 from Beep6581/gcc8-warnings
Fix GCC 8 warnings
2018-02-15 20:54:43 +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
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
heckflosse
8622efce00 Crash opening dng file from hdrmerge, fixes #4313 2018-01-18 19:53:18 +01:00
Flössie
3b6cc19ae9 Fix some Coverity warnings 2018-01-12 18:20:21 +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
heckflosse
1fdf44660a exposed maker to pixelshift code for future use 2017-12-12 21:38:44 +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
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
Hombre57
8cef3c5e2f Merge branch 'dev' into multiframe-handling 2017-09-17 15:04:29 +02:00
Flössie
fb06a75c81 Fix clang warnings on new lensfun code (fixes #4086) 2017-09-17 11:06:11 +02:00
Hombre57
0905294bda Merge branch 'dev' into multiframe-handling, with some merge bugfix 2017-09-17 01:15:51 +02:00
heckflosse
818200522a Fix some inconsistencies in Profiled Lens Correction gui 2017-09-15 20:11:49 +02:00
Alberto Griggio
f630309909 Merge pull request #4070 from Beep6581/lensfun
Lensfun integration
2017-09-13 15:35:26 +02:00
Flössie
f2853d8742 Some little cleanups to rtlensfun.*
- Sanitize `std::unique_ptr<>` handling
- Use `NonCopyable`
- Employ `explicit operator bool()`
- Correct use of `std::vector::emplace_back()`
- Cleanup includes
- Streamline implementation order
2017-09-12 20:58:20 +02:00
Alberto Griggio
4dc0e20ae0 merge with lcp-vignetting-issue4062 2017-09-11 17:22:01 +02:00
Flössie
d442f7a85b LCP cleanup (#4062)
- Removed `using namespace`
- Use real `Cache`
- Use `std::shared_ptr<LCPProfile>`
- Moved `LCPPersModel` to .cc

More could be done...
2017-09-09 20:19:11 +02:00
Alberto Griggio
940577ce45 handle coarse rotation in lensfun distortion correction 2017-09-07 09:57:37 +02:00
Alberto Griggio
18f3bd6f45 added vignette correction via lensfun 2017-09-07 09:17:28 +02:00
heckflosse
ed354a5926 Moved green equilibration pass one from to green_equil_RT.cc, removed timing code. Fixes #4034 2017-08-25 21:39:00 +02:00
heckflosse
f409f1333e Speedup for green equilibration 2017-08-22 01:21:09 +02:00
Hombre57
d5e4980c08 Adding Floessie's patch to use std::unique_ptr (issue #4008) 2017-08-12 19:21:29 +02:00
Hombre57
f23be9345c Add multi-frame handling.
- Exif of all frames are displayed in the Editor's Exif tab (without
separator)
- isHDR and isPixelShift is added to the data files stored in cache
- In the Editor panel, the QuickInfo frame display the HDR and
PixelShift information, as well as the number of frame and bit-depth for
HDR image
- the number of frame is provided by dcraw. If not set, it is provided
by the Exif's main IFD count
- the PixelShift information (for Pentax as of now) is provided by
looking at the Exif informations
- the HDR information is provided by the Exif information of the first
frame for Pentax raw files, or by the bitspersample, sampleformat and
compression tags for other files

TODO: add icons to the thumbnails to tag HDR and PixelShift files.
2017-08-08 23:42:05 +02:00