Commit Graph

1626 Commits

Author SHA1 Message Date
Hombre
ee2c8f01e0 Merge branch 'dev' into tiff32float 2018-01-01 15:24:00 +01:00
Hombre
96863bb956 Sets UTF-8 as default charset for IPTC + suppress one of the 2 methods
for saving TIFF images.
2018-01-01 13:51:48 +01:00
Flössie
b73970e94f Fix unintended sign extent (Coverity)
Would hit us at 716Mpx (26755px²).
2018-01-01 13:04:01 +01:00
Flössie
820b6c8ae9 Remove useless call (Coverity) 2018-01-01 12:57:19 +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
Flössie
b3dd5244ad Fix (currently impossible) null pointer dereference (Coverity)
Plus some `const` fixes, this time removing constness.
2018-01-01 12:30:10 +01:00
Flössie
0b7b1d6ab3 Fix null pointer dereference (as hinted by Coverity)
Plus some `const` fixes.
2018-01-01 12:13:29 +01:00
heckflosse
4eebf9a91a Merge branch 'dev' into perceptual_curve_speedup 2017-12-31 21:58:55 +01:00
heckflosse
b61a4cdc26 Fixes a bug in RGB2Lab() I introduced recently 2017-12-31 21:55:35 +01:00
heckflosse
057861b882 Small (~ 4%) speedup for perceptual tone curve 2017-12-31 16:58:06 +01:00
Ingo Weyrich
4c3e7b8efa Merge pull request #4268 from Beep6581/rgbroc_speedup
Rgbroc speedup
2017-12-31 14:43:04 +01:00
heckflosse
3dcce23c24 rgbproc() speedups 2017-12-31 14:36:59 +01:00
Alberto Griggio
b589254d21 Moved "Copy metadata unchanged" to PP3, and added "strip metadata" mode
Fixes #3647
2017-12-29 23:03:44 +01:00
Alberto Griggio
7dea8a3ea8 added support for writing metadata in PNG files
Fixes #3352
2017-12-28 22:26:22 +01:00
Alberto Griggio
527f41c254 embed the output profile when writing PNG files
Fixes #4262
2017-12-28 22:25:04 +01:00
Alberto Griggio
0e9aab579e Extract embedded ICC profile from PNG images
Fixes #4260
2017-12-27 22:55:00 +01:00
heckflosse
524b0056dc Speedup for rgbPrco() 2017-12-27 00:01:09 +01:00
heckflosse
a31f52213d Fix warning (Wsign-compare) 2017-12-26 12:25:10 +01:00
Ingo Weyrich
c17bd0ef68 Merge pull request #4253 from gatoatigrado/use-sse-in-standard-tone-curve
Use AlignedBuffer helper class in rgbProc, use SSE in standard tone c…
2017-12-26 12:02:50 +01:00
gatoatigrado
6dab5742dd Add comment and assertions 2017-12-25 22:50:40 -05:00
gatoatigrado
59e31ed36f Code review changes 2017-12-25 22:46:09 -05:00
gatoatigrado
88ebaf618a Code review changes 2017-12-25 18:19:48 -05:00
gatoatigrado
ebc92e1c35 New SSE interpolating routine for LUT<float>. 2017-12-25 16:11:42 -05:00
gatoatigrado
3ccfb9b203 Use AlignedBuffer helper class in rgbProc, use SSE in standard tone curve application. 2017-12-25 01:01:15 -05:00
heckflosse
11ad1dace8 cmake switch -WITH_BENCHMARK enables BENCHFUN macro for rtengine 2017-12-25 01:32:29 +01:00
Alberto Griggio
1079f863b6 correctly perform noise reduction when HDR tone mapping settings change
Fixes #4246
2017-12-24 15:25:42 +01:00
Alberto Griggio
156cb762ec removed local contrast inside the S/H tool (remapped to the new local contrast tool)
See #4247
2017-12-22 23:59:44 +01:00
Alberto Griggio
48ecbd169d properly adjust local contrast radius when using the fast export pipeline 2017-12-21 14:35:53 +01:00
Alberto Griggio
62585bc434 merged 'localcontrast' into 'dev' 2017-12-20 23:16:28 +01:00
Alberto Griggio
38a3583077 StagedImageProcessor add explicit overload void endUpdateParams(ProcEventCode) to do proper function overload resolution
Fixes #4239
2017-12-20 22:57:57 +01:00
heckflosse
c84aebb427 localcontrast: removed timing code, don't multithread when multiThread is set to false 2017-12-20 22:19:36 +01:00
Hombre
157da7f9ba Merge branch 'dev' into tiff32float 2017-12-20 00:21:23 +01:00
Hombre
5ea5cfd943 Fixing #4233 : "Segfault opening PREDICTOR_FLOATINGPOINT image"
Now compressed file use Deflate compression for all bit depth, and
PREDICTOR_HORIZONTAL for 8/16 bit integer images, and
PREDICTOR_FLOATINGPOINT for 32 bits float images.
2017-12-19 22:28:52 +01:00
Alberto Griggio
235a4bb451 simplified the local contrast code and implemented the "proper" highlights and shadows scaling 2017-12-19 22:24:58 +01:00
Alberto Griggio
b65f529d5f add attribution for the original local contrast code in G'MIC 2017-12-19 13:57:09 +01:00
Alberto Griggio
c166e0a7ed added a more flexible way of managing ProcEvents
modifying the global ProcEvent enum and refreshmap array is not needed
anymore. You can now register new events dynamically, using a ProcEventMapper
instance. See rtgui/localcontrast.cc for an example.

Hopefully this solves the problem of recurring merge conflicts when different
devs add different proc events
2017-12-19 13:46:19 +01:00
Alberto Griggio
a2bd8acac9 local contrast speedups by heckflosse 2017-12-19 09:43:44 +01:00
Alberto Griggio
b8777b3d87 added simple local contrast tool
Borrowed from G'MIC
2017-12-19 01:03:52 +01:00
Alberto Griggio
39d514e582 deleted wrongly-committed backup file 2017-12-18 11:35:12 +01:00
Alberto Griggio
14a30c6c39 merged 'dev' into 'sony-pixel-shift' 2017-12-18 10:11:38 +01:00
Alberto Griggio
d1d91869c8 merged branch 'colortab-tools-onoff' into 'dev' 2017-12-18 09:36:49 +01:00
Alberto Griggio
e1bf4b075f added on/off switch for L*a*b* adjustments 2017-12-16 18:36:28 +01:00
Hombre
2a3f864a8c Fix issue #4216: Partial profile always saves color management > output
profile intent
2017-12-16 01:29:36 +01:00
heckflosse
7d430adbc6 pixelshift: Optionally use one green instead of averaging two greens 2017-12-15 18:59:26 +01:00
Flössie
caa68ff49b (Try to) fix warnings that popped up in #4223
The only place I don't know how to fix is the
`-fvar-tracking-assignments` warning in `ProcParams::save()` as
there is nothing to constify.
2017-12-14 20:42:45 +01:00
Benitoite
5664139579 include string header for colortemp.h
To fix mac clang compilation ````error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
    std::string method;````
2017-12-13 18:23:21 -08:00
heckflosse
a17084f638 pixelshift: add preliminary constants and camconst.json entry for Sony ILCE-7RM3, kudos to @iliasg for providing them 2017-12-13 20:34:18 +01:00
Alberto Griggio
816fbef394 use the "correct" order for loading frames in sony_arq_load_raw instead of reordering in pixelshift
This is cleaner (avoids having to add special cases for camera maker/model in pixelshift)
2017-12-13 14:37:15 +01:00