85 Commits

Author SHA1 Message Date
Simone Gotti
be94d40c69
Handle linear DNG as other raw images (#6442)
RawTherapee already handle linear DNGs as a RawImageSource but the red,
green, blue RawImageSource arrays aren't populated.
So operations that rely on them like Highlight recovery with color
Propagation and Retinex have no effect.

This patch populates the above arrays by calling nodemoasic for images
that have 3 color and not a CFA. Then these channels will be used by
RawImageSource::getImage like done with CFA or monochrome images
2022-03-26 11:31:44 +01:00
Ingo Weyrich
cc7f1ecdab Consistent crash during DCB demosaicing, only affecting one camera, fixes #6034 2021-01-04 10:37:48 +01:00
Ingo Weyrich
b2443b0e7e more double promote fixes, still not complete 2020-01-21 00:16:27 +01:00
Ingo Weyrich
b2218d05dd clip negative output of demosaicers to zero, #5561 2019-12-12 18:45:18 +01:00
Ingo Weyrich
10b085b01e lmmse demosaic: own compilation unit and some cleanups 2019-12-05 21:40:32 +01:00
Ingo Weyrich
03c0d6c86c Some cleanups, also fix some fallouts from reduce_include_dependencies branch 2019-11-05 20:31:17 +01:00
Ingo Weyrich
ec3ba6d9b8 renamed sleef.c to sleef.h 2019-11-03 17:03:40 +01:00
Ingo Weyrich
284fe57159 Further reduction of include dependencies 2019-10-31 13:29:12 +01:00
Ingo Weyrich
6935faa258 Further cleanup of include dependencies 2019-10-30 22:12:06 +01:00
Ingo Weyrich
1d51016bdd Fix some lgtm issues 2019-10-30 14:07:49 +01:00
Ingo Weyrich
e92a99350b Forward declare Image8 2019-10-29 11:44:00 +01:00
luz.paz
af10bf8c7c Fix misc. source comment typo
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata/languages -L bord,hist,fo,reall,bloc,alph,dof,thre,makro,chang,currentry,portugues,vektor,ue`
2019-09-11 17:39:23 -04:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +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
5b50b2d059 Various interface fixes, closes #5211 2019-03-25 01:53:07 +01:00
heckflosse
05bc7b2451 Remove timing code from DCB demosaic, fixes #5193 2019-02-25 23:30:29 +01:00
Flössie
e491c42b5e Conform to OpenMP 4.0 (fixes #5177) 2019-02-17 10:23:13 +01:00
Flössie
37027e46bd Fix non-OpenMP build 2019-02-06 06:54:31 +01:00
heckflosse
ac152ac423 hphd demosaic: small speedup and own compilation unit, #5159 2019-01-31 22:20:23 +01:00
heckflosse
a4acc1dca3 Speedup for hphd demosaic 2019-01-30 22:56:44 +01:00
heckflosse
4673ae3b24 Wrong border interpolation when using IGV, fixes #5048 2018-12-01 13:32:51 +01:00
heckflosse
9362f13fcc Wrong border interpolation when using DCB with raw border = 0, fixes #5047 2018-12-01 13:20:30 +01:00
heckflosse
b8af63bb04 Use vclampf(value, low, high) whereever possible, #4942 2018-11-05 19:50:24 +01:00
heckflosse
459f64bac2 Disable demosaic timing code 2018-10-21 22:55:56 +02:00
heckflosse
46d4810b68 EAHD demosaic: own compilation unit, #4727 2018-08-11 23:30:36 +02:00
heckflosse
5bfc5dd880 EAHD demosaic: further speedup, #4727 2018-08-11 21:53:49 +02:00
heckflosse
dc16368352 eahd_demosaic: double speed 2018-08-07 01:01:00 +02:00
heckflosse
7f1d6d67bc ahd demosaic review changes 2018-08-03 17:43:37 +02:00
heckflosse
c4bd557851 ahd demosaic: own compilation unit 2018-08-01 19:38:46 +02:00
heckflosse
f3ecd14481 ahd demosaic, reduced processing time and memory usage, #4698 2018-08-01 18:48:08 +02:00
heckflosse
6c8a47ebdf AHD demosaic still has some integer processing, #4698 2018-07-26 00:52:58 +02:00
heckflosse
99fa2942b8 Crash in highlight recovery when using AHD demosaic, fixes #4692 2018-07-25 14:30:04 +02:00
heckflosse
cb1f2968ab hphd demosaic border interpolation 2018-06-28 12:59:22 +02:00
heckflosse
5c04e6308f First steps to allow border = 0, issue #4642 2018-06-27 22:34:53 +02:00
heckflosse
51d8c76eb9 Made own compilation uint for vng4 demosaic. Made vng4 multi-frame aware 2018-06-02 17:22:08 +02:00
heckflosse
41c1f21c76 Pixelshift: replaced checkbox to use lmmse by a combobox to allow further demosaicers for parts with motion, #4579 2018-06-01 19:13:59 +02:00
heckflosse
52968a9766 Made xtrans_demosaic an own compilation unit 2018-04-18 13:16:56 +02:00
heckflosse
196e88473a Merge branch 'dev' into pfcorrect-cleanup 2018-03-20 14:26:55 +01:00
heckflosse
bad28bb0ad Made own compilation unit for rcd_demosaic() 2018-02-27 19:31:05 +01:00
heckflosse
dc57a43cdd Speedup for rcd demosaic 2018-02-27 18:50:05 +01:00
Flössie
139587c197 Clean up jaggedarray.h 2018-02-23 18:47:41 +01:00
Flössie
04cef998a2 Fix some GCC 8 warnings (#4397) 2018-02-14 20:01:20 +01:00
heckflosse
50ba33900b some more constexpr 2018-01-30 18:59:59 +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
Morgan Hardwood
aeb7863a24 RCD border artifacts fixed.
Now 8 border pixels are used for interpolation in RCD as 4 caused
artifacts. Fixes #4225, patch by agriggio.
2017-12-12 22:20:44 +01:00
Alberto Griggio
503fe902a0 merged 'rcd-demosaic' into 'dev' 2017-12-08 18:53:03 +01:00
Flössie
e6e4bfa350 Merge branch 'dev' into procparams-cleanup 2017-12-05 18:23:48 +01:00
Alberto Griggio
6512b9f5ff updated RCD to the latest version (plus tweaks to avoid division by zero) 2017-11-30 23:15:20 +01:00
heckflosse
80fca667e2 Fix crash bug in raw ca correction when width is odd, also fix two overruns detected by adress sanitizer, fixes #4202 2017-11-29 23:06:53 +01:00