Flössie
80f2b6a002
Replace raw arrays with std::array<>
2019-06-14 08:58:04 +02:00
Flössie
015cffc73a
Peripheral cleanups and a fix
...
- Whitespace, braces, sorting
- Fixed missing filmnegative in `ProcParams::operator ==(ProcParams)`
2019-06-13 09:52:13 +02:00
Morgan Hardwood
a686a94a62
Merge branch 'filmnegative' of https://github.com/rom9/RawTherapee into rom9-filmnegative
2019-06-12 09:19:49 +02:00
rom9
8d0755eddc
Raised default master exponent from 1.0 to 2.0, to get a reasonable contrast right from the start.
2019-06-11 22:50:36 +02:00
rom9
8fa30d496d
Now that medians are known *before* processing, moved multiplication step inside the same loop as exponentiation for further optimization. Patch kindly provided by @heckflosse ;-)
2019-06-11 21:02:16 +02:00
rom9
e1c9197ed5
Moved median calculation block before exponentiation. This way findMinMaxPercentile() can be used again because it works on the original raw file values (which are in a much more reasonable range). Patch kindly provided by @heckflosse ;-)
2019-06-11 20:08:46 +02:00
rom9
b95bdb1aea
Linked red and blue exponent adjuster to the green adjuster, in order to maintain the ratio between exponents if the user moves the green adjuster (master).
...
Switched back to vector sort for median calculations: the results of the histogram search function diverge more and more from the simple median calculation as the exponents increase.
At 2.0 the test picture is already impossible to WB as the multipliers are too far off (2.78226e+08 histo vs 9.7927e+11 sort), and the normal WB sliders can't compensate for those huge factors.
2019-06-10 22:05:54 +02:00
rom9
91565728e5
Clamped output values to a max of 65535.f after applying multipliers, to avoid trouble further down the processing pipeline.
2019-06-09 19:25:15 +02:00
heckflosse
df4513f595
Avoid integer overflow when accessing luts with very large values
2019-06-09 18:57:23 +02:00
heckflosse
f0d32c1da7
White dot artifacts caused by CIECAM02, fixes #5342
2019-06-09 14:37:33 +02:00
heckflosse
1e4f9ac248
Avoid integer overflow when accessing luts with very large values
2019-06-09 14:36:38 +02:00
rom9
d2366e633c
Enabled bad pixels interpolation for ST_XTRANS after upstream fix c0a033e
2019-06-09 13:09:29 +02:00
heckflosse
b990b89875
interpolateBadPixelsXtrans() : fix oob access
2019-06-09 12:21:42 +02:00
heckflosse
c0a033e717
interpolateBadPixelsXtrans() : fix oob access
2019-06-08 15:13:44 +02:00
rom9
9df8008949
Film negative processing: first usable version. Only supports bayer raw files, thumbnails don't work
...
Added performance improvements suggested by heckflosse. Lowered median sampling step from 7 to 5 since calculation is now much faster.
Added support for Fuji X-Trans raw files.
Applied SSE2 patch provided by @heckflosse, improves performance in main processing loop.
Moved film negative processing stuff in its own compilation unit.
Code cleanup: removed redundant omp directives.
Added check for dead pixels, going above threshold after inversion. ST_BAYER only for now.
Reverted leftover hack in cropwindow.cc
2019-06-08 01:40:29 +02:00
heckflosse
3b19b9f55b
Rawtherapee 5.6 crashes with.dng from PixelShift2DNG-0.9.8.67, fixes #5348
2019-06-07 16:37:59 +02:00
heckflosse
6486c491f8
Vibrance causes RT to freeze, fixes #5346
2019-06-05 12:55:08 +02:00
heckflosse
3c0b0ffd33
Small speedup for loading unpacked 16 bit raw files
2019-06-04 17:01:05 +02:00
heckflosse
a391e256bc
Fix possibly uninitialized variable
2019-06-04 16:30:54 +02:00
heckflosse
f18724e016
Silence some warnings
2019-06-04 16:30:22 +02:00
heckflosse
d46a043add
basic support for Fujifilm GFX 100
2019-06-04 14:17:38 +02:00
luz.paz
cc60ea2248
Fix source comment and misc. typos
...
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata/languages -L hist,fo,reall,bloc,alph`
2019-06-03 17:38:50 -04:00
Desmis
18d977502d
Improve Tone-mapping iterates
2019-05-19 18:12:46 +02:00
heckflosse
6958d46e70
Don't preprocess and demosaic again when using coarse rotation or flip, fixes #5327
2019-05-19 16:06:54 +02:00
Flössie
351f8f4e12
Fix indentation
2019-05-16 10:33:07 +02:00
Flössie
00b007f47a
Fix compiler warning for non-SSE2 builds
2019-05-16 10:28:13 +02:00
heckflosse
141e9f632f
Scan clut folder: Don't check for unused profile
2019-05-13 23:12:40 +02:00
Morgan Hardwood
a2e2ace1c8
Added colormatrix for samsung SM-N960F #5311
2019-04-28 17:15:00 +02:00
Morgan Hardwood
26f29a5e81
Added ColorMatrix for HUAWEI DLI-L22
2019-04-23 18:53:04 +02:00
Ingo Weyrich
73b336a3f1
Update FTblockDN.cc
...
Disable StopWatch
2019-04-18 20:43:40 +02:00
Ingo Weyrich
5d0b0d3d93
Merge pull request #5225 from Beep6581/denoise_speedup
...
small speedup for denoise
2019-04-17 22:46:18 +02:00
Hombre57
cb72769634
Solving issue #5267 : "ProcEvent int() operator should be const"
2019-04-09 08:45:21 +02:00
Morgan Hardwood
198fc8d8dd
Added matrix for Canon PowerShot SX150 IS
2019-04-08 01:02:35 +02:00
Flössie
1b08ac44c4
Fix potential bug in histogram matching ( #5249 )
2019-04-03 19:41:36 +02:00
Morgan Hardwood
d4f0a9a19b
Fix crash in histogram matching #5249
...
Patch by Alberto
https://github.com/Beep6581/RawTherapee/issues/5249#issuecomment-477923928
2019-04-03 10:14:49 +02:00
Morgan Hardwood
e23fc17ccf
Search for DateTimeOriginal if not found in standard location
...
The DateTimeOriginal and DateTimeDigitized Exif tags should be in the
same group - ExifIFD, but the Leica M8 stores DateTimeOriginal in the
IFD0 group. This patch by Flössie allows to find the tag.
Closes #5251
2019-03-29 09:21:47 +01:00
Morgan Hardwood
5b50b2d059
Various interface fixes, closes #5211
2019-03-25 01:53:07 +01:00
Hombre
a749047dd3
editcallbacks
file updated as requested by @Floessie in #5239
...
Merge branch 'splitted-edit-file' into dev
2019-03-24 20:48:33 +01:00
Hombre
f60711b65b
Code cleanup of editcallbacks.h/.cc for more safety
2019-03-24 01:40:25 +01:00
Beep6581
b9a5680d1d
Merge pull request #5240 from luzpaz/misc-typos
...
Miscellaneous typo and whitespace fixes
2019-03-23 23:34:21 +01:00
Morgan Hardwood
4640858567
Sony DSC-R1 raw_crop added to camconst.json
...
Prevents raw CA artifacts:
https://discuss.pixls.us/t/sony-r1-ca-autocorrection-artifact/11835
Committed on behalf of Ingo.
2019-03-22 22:08:56 +01:00
luz.paz
ba840dd260
Misc. typos and whitespace fixes
...
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata`
`rawtherapy-whitelist.txt` consists of:
```
adn
amin
autor
ba
byteorder
cas
childs
developpement
dum
foto
fro
inbetween
interm
ist
iten
ith
lonly
nd
ois
optio
preserv
skipp
som
spred
substracted
tbe
tim
uint
unselect
```
2019-03-22 06:38:00 -04:00
Hombre
108b69ae22
"edit.h/.cc" splitted to limit rebuilding dependencies
2019-03-22 00:09:37 +01:00
heckflosse
30120af8a2
remove some bogus consts
2019-03-19 20:54:10 +01:00
heckflosse
030aa60499
Merge branch 'dev' into denoise_speedup
2019-03-19 20:25:41 +01:00
Ingo Weyrich
28b785682a
Allow histogram matching for YI M1 Camera (160x120 thumbs)
2019-03-19 17:43:42 +01:00
heckflosse
d4d535720d
Don't apply histogram matching when thumb has less than 19200 pixels
2019-03-19 15:09:18 +01:00
Ingo Weyrich
209cc16e0d
Update histmatching.cc
...
Allow even smaller thumbs for histogram matching. Tested on Phase One 65+ files. Works fine.
2019-03-18 21:21:56 +01:00
Ingo Weyrich
1cf1e111d5
Update histmatching.cc
...
Allow histogram matching also for small thumbs
2019-03-18 17:43:17 +01:00
heckflosse
9ee47c29a3
Small speedup for denoise (mainly for preview mode), #5225
2019-03-17 19:45:46 +01:00