rom9
7040378dec
Merge remote-tracking branch 'origin/dev' into filmnegative
2019-06-23 23:40:56 +02:00
Flössie
54cc02eea9
Filmenegative core cleanup
2019-06-17 08:03:46 +02:00
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
heckflosse
156f3009d5
badpixels code: further cleanups
2019-06-10 22:15:16 +02:00
heckflosse
fe16bf7917
Move badpixel code to own compilation unit
2019-06-10 16:40: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
Floessie
17bec0a2e5
Merge pull request #5197 from Beep6581/relax-procparam-dependency
...
Relax dependency from `procparams.h`
2019-03-11 15:14:00 +01:00
heckflosse
6712420a41
Fix broken build, #5203
2019-03-09 19:28:44 +01:00
heckflosse
b0a7b5fed3
tiles per thread for some more tiled algorithms, #5203
2019-03-09 18:47:02 +01:00
heckflosse
77475a3827
configurable tiles per thread also for rcd, #5203
2019-03-03 17:29:19 +01:00
heckflosse
b83069fd51
Allow user-defined setting for raw ca correction tiles per thread
2019-03-03 14:52:44 +01:00
Flössie
57d030881d
More procparams.h
relaxation
2019-03-01 17:40:02 +01:00
Flössie
0cbc4923bc
Relax dependency from procparams.h
2019-02-28 20:44:50 +01:00
heckflosse
46aabd2003
Unfix fixed white level, #5187
2019-02-23 14:00:45 +01:00
heckflosse
b37f545391
Support Fuji SN EXR mode RAFs, #4830
2019-02-19 21:50:34 +01:00
heckflosse
ac152ac423
hphd demosaic: small speedup and own compilation unit, #5159
2019-01-31 22:20:23 +01:00
heckflosse
831e18ca45
Add override keyword. Thanks @Floessie
2018-11-22 16:19:16 +01:00
heckflosse
1fa253ba63
Fix some issues reported by coverity
2018-11-16 20:48:33 +01:00
George Hilliard
ec814dbf05
FramesData: Don't leak allocated frames, and remove unused functions
...
Valgrind report:
```
14,960 (11,544 direct, 3,416 indirect) bytes in 37 blocks are definitely lost in loss record 20,483 of 20,540
at 0x4837DEF: operator new(unsigned long) (vg_replace_malloc.c:334)
by 0xC06963: rtengine::FramesData::FramesData(Glib::ustring const&, std::unique_ptr<rtengine::RawMetaDataLocation, std::default_delete<rtengine::RawMetaDataLocation> >, bool) (imagedata.cc:1121)
by 0xBD774F: rtengine::DFManager::addFileInfo(Glib::ustring const&, bool) (dfmanager.cc:380)
by 0xBD6E90: rtengine::DFManager::init(Glib::ustring) (dfmanager.cc:303)
by 0xC3EC5D: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:93)
by 0x897CABD: gomp_thread_start (team.c:120)
by 0x89B7A9C: start_thread (in /usr/lib/libpthread-2.28.so)
by 0x8ACCB22: clone (in /usr/lib/libc-2.28.so)
```
2018-11-02 03:07:07 -05:00
heckflosse
13abcd0f6c
vng4 demosaic: another very small speedup, #4633
2018-10-28 20:37:34 +01:00
heckflosse
5134040a5b
Merge branch 'dev' into show_flatfield_autoclip_in_gui
2018-10-24 15:40:21 +02:00
heckflosse
ac700502db
Flat field: Show auto calculated clip control value in ui
2018-10-24 00:49:51 +02:00
heckflosse
0da47b0da3
2-pass dual-demosaic-contrast-threshold detection if 1-pass does not find a flat area, #4866
2018-10-18 22:09:35 +02:00
heckflosse
09796f0694
raw ca correction: beautified code
2018-09-08 00:52:39 +02:00
heckflosse
bcc7a3fb85
raw ca correction: first try to avoid colour shift, #4777
2018-09-06 13:52:48 +02:00
heckflosse
ac1db99220
CA_correct_RT(): readability changes suggested by @Floessie; increased range of iterations adjuster to 5, #4774
2018-09-05 17:54:11 +02:00
heckflosse
9ecc7e6876
iterative raw auto ca correction, #4774
2018-09-05 13:30:15 +02:00
heckflosse
d4894ef948
eahd demosaic: convert rgb to Lab using Color::RGB2Lab() instead of duplicating code, #4727
2018-08-18 16:15:32 +02:00
heckflosse
9fb9aaeec2
eahd_demosaic: sse2 code for convert_to_cielab_row(), #4727
2018-08-16 18:30:37 +02:00
heckflosse
5bfc5dd880
EAHD demosaic: further speedup, #4727
2018-08-11 21:53:49 +02:00
heckflosse
5c04e6308f
First steps to allow border = 0, issue #4642
2018-06-27 22:34:53 +02:00
heckflosse
6af47bb8d7
correctly set border in xtrans combined demosaicers, hopefully fixes #4639
2018-06-25 23:50:34 +02:00
heckflosse
f7578c1512
Dual demosaic: added DCB+VNG4, RCD+VNG4. Cleaned code. Prepared engine for semi-automatic calculation of contrast threshold
2018-06-24 17:01:15 +02:00
heckflosse
c3f163a323
Added 4-pass xtrans demosaic
2018-06-03 16:22:34 +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
355fcbad8e
AMaZE+VNG4: added contrast threshold adjuster, #4579
2018-05-30 14:39:29 +02:00
heckflosse
710dd13c2f
First version of combined amaze/vng4 demosaic
2018-05-29 15:00:33 +02:00
heckflosse
2d3148b962
Fixes some things @Floessie suggested in code review
2018-05-20 23:42:42 +02:00
heckflosse
ac78dd311e
Speedup for ca-correction of pixelshift files, also fixed a memory leak
2018-05-20 13:59:50 +02:00
heckflosse
2828e2933d
pixelshift: use auto-calculated ca-correction parameters from first frame for all frames
2018-05-19 12:24:29 +02:00
Alberto Griggio
d17bb0cfe6
feature: added option to use a (fast) neutral RAW rendering in 'inspector mode'
2018-03-21 10:47:38 +01:00
Alberto Griggio
7ab6f59c28
merged 'raw-line-noise-direction' into 'dev'
2018-03-22 13:56:58 +01:00
Alberto Griggio
81210d18b4
Added new mode "Horizontal on PDAF rows only" for the "line noise filter"
2018-03-10 22:56:45 +01:00
heckflosse
84f46eaab6
Add flat field correction for monochrome raw files
2018-03-09 14:51:28 +01:00
Alberto Griggio
24edd97dca
added automatic adaptive green equilibration to the PDAF lines filter
2018-03-08 16:12:34 +01:00
Alberto Griggio
0bb7375a90
added possibility to apply "RAW line noise filter" only in a specific direction (horizontal or vertical)
2018-02-28 23:37:34 +01:00
Alberto Griggio
e265d23e76
made histogram matching depend on the input profile
...
This improves the accuracy of the matching when using non-default profiles
2018-02-02 13:57:43 +01:00
Alberto Griggio
8f76392885
histogram matching: cache the computed tone curve in RawImageSource
2018-01-19 21:43:55 +01:00