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
5ddc4a3e0e
Added missing checkbox for film negative feature in partial apply / partial paste dialogs.
2019-06-11 22:13:16 +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
2bbf8bd864
Changed events action from ALL to FIRST , this way the histogram is updated after enabling/disabling or moving the adjusters.
2019-06-11 20:26:13 +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
223ae8abce
Bugfix: exponent adjusters were not following the master (green) slider after exponents auto-calc via dual spot picking; updated redRatio/blueRatio after calculation.
2019-06-11 00:19:18 +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
Ingo Weyrich
d1e6c57885
Merge pull request #5347 from Benitoite/patch-15
...
Mac bundle: update to libomp
2019-06-07 12:38:58 +02:00
Benitoite
dec20d09fd
Mac bundle: update to libomp
...
and `--timestamp` the code signings.
2019-06-06 22:26:34 -07:00
heckflosse
6486c491f8
Vibrance causes RT to freeze, fixes #5346
2019-06-05 12:55:08 +02:00
Ingo Weyrich
4ff41f7a2c
Merge pull request #5343 from Beep6581/thumbcache
...
Change thumbnail cache eviction strategy
2019-06-04 17:54:12 +02:00
heckflosse
df65774667
Fix calculation of reserve
2019-06-04 17:52:39 +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
Ingo Weyrich
00b4cc0619
Merge pull request #5345 from Beep6581/Fuji-GFX-100
...
basic support for Fujifilm GFX 100
2019-06-04 14:28:07 +02:00
heckflosse
d46a043add
basic support for Fujifilm GFX 100
2019-06-04 14:17:38 +02:00
Beep6581
0b32acfefe
Merge pull request #5344 from luzpaz/misc-typos
...
Fix source comment and misc. typos
2019-06-04 09:40:16 +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
Morgan Hardwood
386ae560b1
generateTranslationDiffs
2019-06-03 14:32:22 +02:00
Flössie
f9c44f2e47
Some minor cleanups and optimizations
2019-06-03 09:19:46 +02:00
heckflosse
25fdf2114e
Change thumbnail cache eviction strategy
2019-06-01 16:56:10 +02:00
Ingo Weyrich
2bed5dc522
Merge pull request #5338 from TooWaBoo/dev-lang
...
Update Deutsch locale
2019-05-26 13:21:30 +02:00
TooWaBoo
0241179244
Fixed typo "Korreturwert"
2019-05-26 04:30:19 +02:00
TooWaBoo
2643529d9f
Update Deutsch locale
2019-05-25 17:27:24 +02:00
Morgan Hardwood
683377e039
generateTranslationDiffs
2019-05-24 16:50:23 +02:00
Morgan Hardwood
853b198b1e
Clarify what is being deleted in Trash, fixes #5337
...
The message shown when deleting items in trash was ambiguous.
2019-05-24 16:46:51 +02:00
Floessie
c80a16f3b3
Merge pull request #5335 from jomuller/dev
...
Correct typo: "redimensionnement"
2019-05-23 09:12:36 +02:00
J. Muller
e207276c93
Correct typo : redimensionnement
2019-05-22 13:48:47 +02:00
heckflosse
b2936d185d
Keyboard shortcut should reveal tool's current tab (original or favorites), fixes #5333
2019-05-21 16:24:14 +02:00
Beep6581
cd6f45f700
Merge pull request #5324 from Benitoite/patch-14
...
Mac: define CMAKE_AR / RANLIB only if undefined.
2019-05-20 15:18:41 +02:00
heckflosse
420adbaac0
Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev
2019-05-20 00:25:36 +02:00
heckflosse
dfd9bdf977
Fix some leaks in editorpanel, fixes #5328
2019-05-20 00:21:48 +02: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
heckflosse
40aa7d2034
Fix memory leak in preferences dialog
2019-05-19 13:20:34 +02:00
heckflosse
159e1784f4
Memory leak in RefreshMapper, fixes #5323
2019-05-18 18:44:06 +02:00
Benitoite
bd548ce060
Mac: define CMAKE_AR / RANLIB only if undefined.
2019-05-16 12:39:08 -07:00