Commit Graph

2325 Commits

Author SHA1 Message Date
Beep6581
bc4bd624f4 Merge pull request #5325 from erjiang/embedded-ratings
Use ratings from image metadata
2019-07-17 13:19:16 +02:00
Beep6581
b2472679ad Merge pull request #5349 from rom9/filmnegative
Film negative processing feature
2019-07-17 13:18:29 +02:00
Ingo Weyrich
cd597ec386 raw crop for Sony ILCE-7RM4 (Sony A7R IV) 2019-07-17 12:13:48 +02:00
rom9
85aacaddf2 Minor whitespace fix 2019-07-17 00:53:36 +02:00
Ingo Weyrich
55f6b1ad1e Merge pull request #5373 from Beep6581/dcp_cache_speedup
DCPStore: use std::string instead of slow Glib::ustring
2019-07-12 13:49:11 +02:00
Ingo Weyrich
d64592bab3 Merge pull request #5370 from Beep6581/color_propagation_speedup
Speedup for color propagation
2019-07-12 13:48:38 +02:00
Ingo Weyrich
d1c9a5f989 Removed timing code 2019-07-12 13:46:45 +02:00
Ingo Weyrich
7257aee235 DCPStore: use std::string instead of slow Glib::ustring 2019-07-12 12:56:47 +02:00
Flössie
494aa99323 Fix missing include guards 2019-07-12 08:10:30 +02:00
rom9
6e31285d9e Merge remote-tracking branch 'origin/dev' into filmnegative 2019-07-10 21:37:23 +02:00
Flössie
856b437983 Some minor code cleanups 2019-07-10 13:16:03 +02:00
Ingo Weyrich
3f9c232f18 hilite_recon.cc 2019-07-09 23:15:38 +02:00
Ingo Weyrich
0b1ba37c75 color propagation: fix segfault whan there is nothing to reconstruct 2019-07-09 19:40:08 +02:00
Ingo Weyrich
c56106beae color propagation: small speedup, also some code formating 2019-07-09 17:39:53 +02:00
Flössie
3b78a5c227 Minor cleanups after #5315 and #5368 2019-07-09 13:18:08 +02:00
Floessie
e980d9b225 Merge pull request #5315 from Beep6581/rtsurface-cleanup
Rtsurface cleanup
2019-07-09 13:02:46 +02:00
Ingo Weyrich
fe43bf1bf2 color propagation: use up to 4 cores where previously only up to 3 cores were used 2019-07-09 00:40:25 +02:00
Ingo Weyrich
4f73e5bb3c Fix oob access in last commit 2019-07-09 00:20:04 +02:00
Ingo Weyrich
54fdbe41ea dump SSE code in boxblur2 because new code is faster with auto-vectorization, also pad bufferwidth for boxblur2 to a multiple of 16 2019-07-08 23:57:24 +02:00
Floessie
de01850f78 Merge pull request #5369 from luzpaz/misc-typos
Fix misc. typos and whitespace
2019-07-08 10:32:06 +02:00
Morgan Hardwood
bcc727e1cf Sony DSC-R1 camconst.json entry, closes #5359
Confirmed wl in commit 9ea964f5d.

Updating quality level to B thanks to sample set in #5359
(not A as sample set lacks LENR).
2019-07-07 22:45:30 +02:00
Ingo Weyrich
4d6c3f2ce2 Speedup for color propagation 2019-07-07 15:29:24 +02:00
luz.paz
e172dcabda Fix misc. typos and whitespace
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata/languages -L hist,fo,reall,bloc,alph,dof,thre,makro,chang,currentry,portugues,vektor,ue`
2019-07-07 07:48:34 -04:00
Flössie
6cbcb9fee5 Fix compilation and more C++11 (fixes #5368) 2019-07-06 17:37:49 +02:00
Ingo Weyrich
0f09559413 Windows build crashes when trying to load a corrupted jpg, fixes #5366 2019-07-06 12:58:53 +02:00
heckflosse
a5800a18b0 raw crop for OLYMPUS E-M1X highres mode 2019-07-04 17:21:19 +02:00
heckflosse
c04171bf34 minor speedups 2019-07-02 23:24:58 +02:00
heckflosse
bb11f68535 Fix wrong SSE code path of shadowToneCurve() 2019-07-02 21:01:51 +02:00
rom9
b4c109f275 ProcParams now contain red and blue ratios, to be aligned with values in the GUI. 2019-06-29 16:06:40 +02:00
rom9
41e5899f97 Moved film negative thumbnail processing to own compilation unit 2019-06-28 22:54:32 +02:00
rom9
0920f6dfe8 rawData is not needed anymore in channelsAvg after commit d7bab9ba 2019-06-28 22:51:22 +02:00
rom9
4e09fd4f21 Changed master exponent default from 2.0 to 1.5; it was too large for high-contrast negatives. Set all sliders as log-scale, centered at 1.0, so that reasonable values can be fine-tuned more easily. 2019-06-28 21:29:06 +02:00
rom9
d7bab9ba9f Changed channelsAverage() to sample values from the original data in the RawImage instance, taking into account black levels. This lets me completely revert my awful commit 22f6297a5 and clip values to 65535, as it should be to avoid trouble downstream. 2019-06-28 20:44:40 +02:00
rom9
938fc63dd0 Replaced powf calls with the optimized pow_F macro (which also works for the non-SSE2 case). 2019-06-27 23:01:51 +02:00
rom9
a3004bb2b8 Added SSE2 optimization in film negative thumbnail processing. 2019-06-27 22:03:59 +02:00
heckflosse
9ea964f5d9 camconst.json: some raw crops and white levels 2019-06-27 15:32:28 +02:00
heckflosse
a652752c2f raw crops for FUJIFILM X-T30 and Sony DSC-HX99 2019-06-26 22:12:38 +02:00
heckflosse
e76d98fb9f raw crop for Sony DSC-RX0M2 2019-06-26 20:49:07 +02:00
rom9
157d83d169 Partially reverting my last commit. When using large exponents, huge raw values could cause segfaults in ImProcFunctions:rgbProc (specifically in shadowToneCurve), and in Amaze demosaic.
Re-added the clipping check on raw values, but with a higher threshold. This way, raw clipping is less frequent in highlight areas (so those can be used as spots for exponents calculation), but the threshold is low enough to avoid the segfaults.
Not a very clean solution, need to find a better one...
2019-06-26 00:14:03 +02:00
rom9
22f6297a5b Removed clipping check for values above 65535 (reverts commit 9156572). It was just a defensive check to avoid hitting corner cases like this: 1e4f9ac , that is already fixed elsewhere.
The check is now causing problems with the dual-spot feature, because after clipping, the formula cannot be undone to get back the original raw values.
Since there are no known issues caused by raw values >65k, i'm removing the check until there will be a good reason to re-introduce it.
2019-06-24 21:48:06 +02:00
heckflosse
66c9cd6177 Don't scan for darframes/flatfields/cluts if folder is not set, #2238 2019-06-24 19:52:17 +02:00
heckflosse
d3fb58a19c clang error on badpixels.cc variable-sized object initializations, fixes #5358 2019-06-24 19:43:43 +02:00
rom9
7040378dec Merge remote-tracking branch 'origin/dev' into filmnegative 2019-06-23 23:40:56 +02:00
rom9
2fde6e562a The "dual-spot" exponents calculation feature now honors the master (green) exponent set by the user, and adjusts red and blue based on the ratios between the new, "guessed" exponents.
This way, if the user has chosen a different master exponent than the default, using the feature just alters the color characteristic of the conversion, while keeping the same contrast level.
2019-06-23 22:21:24 +02:00
Ingo Weyrich
c6cdaf37eb Merge pull request #5350 from Beep6581/badpixels-compunit
Move badpixel code to own compilation unit
2019-06-22 18:00:13 +02:00
rom9
880a6e125e Added film negative processing in thumbnails, with correct white balance. Calculated channel averages to restore the same initial conditions as RawImageSource, where get_colorsCoeff is called with forceAutoWB = true. Code still needs refinement and cleanup. 2019-06-21 07:12:42 +02:00
Eric Jiang
789edc5bd3 Apply code-cleanup patch from @Floessie
See https://github.com/Beep6581/RawTherapee/pull/5325
2019-06-18 13:02:10 -07:00
rom9
03dc855fc7 Merged cleanup patch proposed by heckflosse, moves exponents negation to a single place. Now it's much easier to read. 2019-06-18 21:08:18 +02:00
rom9
7c0275ca1a Updated copyright notice in new source files 2019-06-18 13:52:58 +02:00
Flössie
ca387e0379 Use terser C++11 resets in ProcParams::setDefaults() 2019-06-18 09:22:45 +02:00