86 Commits

Author SHA1 Message Date
Daniel Gao
711f274403 Get rid of relative include paths
* Use target_include_directories to specify include paths
* Specify project root (parent of rtgui and rtengine) as include path
* Replace relative includes with normal includes
2024-11-16 17:20:02 -05:00
Lawrence Lee
860306dc35
Allow reading more than 6 sub-frames
This allows all images to be read from a Canon burst raw file.

Refactor raw image source to use unique_ptr.
2024-10-06 18:01:40 -07:00
Lawrence Lee
6f50b68fa7
Consider raw border with CA avoid color shift 2023-07-16 16:17:57 -07:00
Lawrence Lee
40678f67b0 Refactor tool name code 2021-12-11 21:21:54 -08:00
Ingo Weyrich
e4ee63850d
Add an average filter for pixel shift to process the moving parts, closes #6376 (#6380) 2021-11-10 17:54:57 +01:00
Thanatomanic
fc031ccb5a
Remove deprecated GTK3 code, fixes #6103 (#6113)
Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
2021-02-17 11:44:25 +01:00
Ingo Weyrich
8c363fc24c Merge branch 'dev' into bayer_bilinear 2020-08-16 12:43:31 +02:00
Ingo Weyrich
a11d41b41a Enable dd contrast threshold adjuster for Amaze+bilinear and DCB+bilinear 2020-08-16 12:19:52 +02:00
Flössie
b7738afe22 Replace Adjuster::delay by Adjuster::setDelay() 2020-08-02 11:20:10 +02:00
Ingo Weyrich
98378892f5 Merge branch 'dev' into bayer_bilinear 2020-06-22 15:15:46 +02:00
Flössie
09fab8de0e Fix two uninitialized variables 2020-06-19 10:55:48 +02:00
Ingo Weyrich
acc2b3d308 Add RCD+Bilinear demosaic for Bayer sensors, #5748 2020-05-10 12:16:48 +02:00
Ingo Weyrich
2a4891827d Some cleanups 2019-11-26 15:25:11 +01:00
Ingo Weyrich
cac2eb53ef Further reduction of include dependencies 2019-10-31 20:41:08 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
5ea18efeb8 RT crashes on loading Hasselblad H6D-100cMS pixelshift files, fixes #5433 2019-09-01 20:22:42 +02:00
heckflosse
efe9ff5ae3 Don't show 1:1 icon on raw tools when using demosaic for < 1:1 view == as in pp3 2019-05-14 22:53:22 +02:00
Flössie
57d030881d More procparams.h relaxation 2019-03-01 17:40:02 +01:00
heckflosse
b37f545391 Support Fuji SN EXR mode RAFs, #4830 2019-02-19 21:50:34 +01:00
Flössie
b21d910573 Remove legacy IdleRegister::add<>() 2019-01-01 20:58:26 +01:00
Flössie
5906329485 Review IdleRegister (#4892)
This turns `IdleRegister::add()` into a template function to make the
provided function pointers type safe. It also adds a `delete_data`
parameter to manage the provided data pointer even in `destroy()`.
2018-10-28 13:12:01 +01:00
heckflosse
15cedc3a3c call idle_register.deystroy() 2018-10-24 12:49:38 +02:00
heckflosse
7a1cc62d5c Fix two small memory leaks, #4866 2018-10-24 12:23:15 +02:00
heckflosse
392e00cd69 Dual demosaic auto contrast threshold: Use adjuster with auto button, #4866 2018-10-23 19:52:40 +02:00
heckflosse
e2965cc6b4 dual demosaic: improved auto threshold detection and fall back to more detailed demosaicer if no flat region was found, #4866 2018-10-22 14:22:49 +02:00
heckflosse
e5f373d0e1 Merge branch 'dev' into dual_demosaic_auto_threshold 2018-10-21 21:54:24 +02:00
heckflosse
8b65900066 Dual demosaic: Add auto threshold checkbox and show used value in ui, #4866 2018-10-21 20:21:43 +02:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
heckflosse
1d78aa4c3a Change position of contrast threshold adjuster in demosaic and microcontrast tool for consistency with sharpening tool 2018-08-31 13:44:38 +02:00
heckflosse
be07fd83c5 Allow custom raw border in range 1..16 for pixelshift files 2018-06-30 14:22:11 +02:00
heckflosse
e7010e6a4d Hide raw border adjuster when method pixelshift is selected 2018-06-28 15:18:51 +02:00
heckflosse
00cc9372d8 Changed raw border from spinbox to adjuster 2018-06-28 14:49:07 +02:00
heckflosse
5c04e6308f First steps to allow border = 0, issue #4642 2018-06-27 22:34:53 +02:00
heckflosse
b2cbd3b728 Dual demosaic: Show DCB options when DCB+VNG4 is selected, fixes #4635 2018-06-24 19:57:59 +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
ee4f990ead Reduced maximum value for dual demosaic contrast threshold to 100 2018-06-07 21:38:46 +02:00
heckflosse
a7e783a3cf Fix bug in BayerProcess::methodChanged () 2018-06-05 15:48:10 +02:00
Hombre
928309f3aa GUI code cleanup
- Remove usage of std::numeric_limits<int>::max() in GUI which bring
unwanted behavior.
- Put the PixelShift options in a Gtk::Frame (requested on IRC)
- Add the fast_export raw options to the GUI (was created but not added
to the container). Incidentally, fix a memory leak.
- Add a missing History message
2018-06-02 02:34:33 +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
Hombre
a0b8626b7d Adding ADD/SET mechanism to the raw processing tools
see #4579
2018-05-31 00:44:16 +02:00
heckflosse
355fcbad8e AMaZE+VNG4: added contrast threshold adjuster, #4579 2018-05-30 14:39:29 +02:00
heckflosse
4a1a10aab0 Pixel Shift: Improve motion mask and further changes 2018-04-14 01:11:01 +02:00
heckflosse
8d3bb7d580 Temporary remove pixel shift one green from gui 2017-12-20 18:16:42 +01:00
heckflosse
7d430adbc6 pixelshift: Optionally use one green instead of averaging two greens 2017-12-15 18:59:26 +01:00
Flössie
e0f7c1358b procparams.h cleanup - Part 2
TODO:
- Add c'tors and find all defaults
- Remove `setDefaults()` in favour of c'tors
- Add `operator ==()` to `struct`s
2017-11-17 17:05:46 +01:00
Alberto Griggio
5d4bd4b352 changed implementation of BayerProcess::FrameCountChanged to use IdleRegister 2017-04-28 17:20:44 +02:00
heckflosse
e043e792db Pixelshift: Added per channel brightness equalization 2017-04-10 20:39:00 +02:00
Hombre
209ea3533b Adding PixelShift to PartialPaste window + small bugfixs (issue #3489) 2017-03-28 00:02:10 +02:00
heckflosse
9bb5164cce allow translation of demosaic methods; hide Sub-Image selector for files with onyl 1 raw file; ... 2017-03-22 14:13:51 +01:00
Hombre
a25a585673 Checkbox class added to simplify event handling. (issue #3739) 2017-03-16 01:16:37 +01:00