155 Commits

Author SHA1 Message Date
Lawrence37
d11d834045
Merge pull request #6227 from Beep6581/spot-removal-tool
Spot removal tool
2021-05-16 12:44:45 -07:00
Simon Segerblom Rex
87869e2bb1 Remove lj92 library and use dcraw instead
dcraw works fine for decoding DNGs using any predictor mode
for the lossless JPEG compression. No need to maintain two
different implemenations.
2021-05-03 10:08:51 +02:00
Lawrence Lee
7e436a44d6 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into spot-removal-tool 2021-03-06 16:41:40 -08:00
Stefan Wunsch
68a6e02369
Fix some cmake build system issues (#6147)
* [cmake] Switch to find_package for TIFF
- Included in cmake 3.5 and later
- Provides better configuration messages
* Add missing TIFF library to rtgui and rtexif
* Removed unnecessary quotes so that cmake sees the list as a list
* Add OpenMP to rtengine if OpenMP is enabled
2021-03-01 16:40:54 +01:00
Ingo Weyrich
19e3833e66 Merge branch 'dev' into spot-removal-tool 2020-11-24 17:16:41 +01:00
rom9
e635030650
FilmNegative: non-raw file support and better accuracy (#5798)
* Added support for non-raw files to the film negative tool. The tool is now under the "Color" tab. Moved the entire filmneg code downstream, right after input profile conversion.
Usage changes a bit: White Balance must be set to the _backlight_ color temperature. Added two more sliders to color-balance the picture after negative inversion. Legacy inversion method kept for compatibility with processing profiles saved by RT v5.7 or 5.8 (only if Film Negative was enabled). Should be removed in a future version.
There is still an issue with DCP profiles that need the look table to be active to work properly. Using a simple matrix input profile (or just camera standard) is recommended for now.

* The user can now choose to perform inversion before or after input colorspace conversion.
Seamless backwards compatibility with previous processing profiles; upgrading from a previous version now gives an (almost) identical output as before.
Generalised the concept of film base values: the processing profile now contains a pair of RGB triplets, "reference input" and "reference output", which makes it much more straightforward to compute the output multipliers.

* Added support for `RGB` data type to putToKeyFile, removed the now unused `RGB::toVector()` method. Some cleanup.

* Spot balance picker now stays active indefinitely. Can be disabled by right-clicking, too.

* Removed film negative from `filterRawRefresh` condition, since the new version does not require raw rendering anymore.

* The Output Level slider is now exponential, so it should feel more familiar to use (similar to the exposure compensation slider).

* Removed old `RedBase`, `GreenBase`, `BlueBase` keys from the PP3 file after params upgrade. Keys are only kept if the file only undergoes batch edit (hence no params upgrade was done).

* Made the balance sliders exponential and centered at zero. Now they should be a bit smoother and possibly more user-friendly.

* Changed adjusters' step to more useful values, they were too fine-grained and hard to adjust using the +/- spinbutton.
Increased max ratio value from 3 to 5, as i found an old negative needing a very high blue channel exponent.

* Added an initial processing profile for film negative inversion, to be provided as a bundled profile.

* Removed Output Level and balance sliders when in batch mode: since the effect of these sliders is dependent on the reference input values, those values needed to be copied as well. And, touching any of the sliders needed to flag all three as dirty. All this felt more confusing than useful.
It should be sufficient (and clearer) to copy/paste the params, and then fine-tune the balance on individual pictures when needed.

* Set bayer demosaic method to RCD in the bundled "Film Negative" processing profile. RCD seems to play a bit better with Capture Sharpening in the presence of film grain, compared to Amaze.
This will favor new users starting with all-defaults settings, hence having Capture Sharpening enabled by default.

* Removed incorrect "contrast" term from the "Reference exponent" label. This parameter adjusts the image _gamma_, not its contrast.
2020-11-21 13:29:47 +01:00
Ingo Weyrich
98378892f5 Merge branch 'dev' into bayer_bilinear 2020-06-22 15:15:46 +02:00
Lawrence Lee
7abe6c9044 Merge from branch 'dev' 2020-06-18 16:42:17 -07:00
Hombre
f42548b018 Merge branch 'dev' into spot-removal-tool 2020-05-18 14:54:30 +02:00
Ingo Weyrich
acc2b3d308 Add RCD+Bilinear demosaic for Bayer sensors, #5748 2020-05-10 12:16:48 +02:00
Lawrence Lee
fb5094b6f9 Merge from branch 'dev' 2020-05-04 14:07:45 -07:00
Desmis
e573de78b4 merge with dev 2020-03-19 13:40:11 +01:00
Benitoite
fbe718b64f
fixes macOS autobuild (#5674)
* update macOS autobuild yaml

* updates */CMakeLists* for macOS autobuild compatibility

* "" a dir for cmake

* Un empty an empty EXTRA_INCDIR

* use a cmake operator

* Use the . dir to un-empty a string

* fix minutes timer in macos yaml

* test & skip instead of load & include

* disregard fractional part of minutes in mac yaml

* add another cmake test

* fix typo in mac yaml

* fix other part of same typo

* correct a filename in mac yaml

* test all include dirs

* fix of mac yaml

* mac:fix a path in yaml

* mac:and its antecedent

* options.h include a dir

* test __has_include (gcc 5.* & up & clang)

* remove a printf() in mac yaml

* mac:change a "" and an elseif() to else()

* fix a whitespace error

* fix 2 whitespace errors

* ZULU>UTC

* add a "UTC

* on the other side of the "

* mac:properly set default LOCAL_PREFIX in CACHE

* use of zsh subshells in macos yaml

* mac:remove some &&

* mac:remove some "

* mac:floating point divisors

* mac:use double paren (())

* mac:add a dir

* mac:floatize with decimal point

* mac:zsh -c certain lines

* remove a marker
2020-02-28 19:20:40 +01:00
Morgan Hardwood
0055d0705d Removed unnecessary test in rtengine/CMakeLists.txt 2020-02-25 09:16:11 +01:00
Richard Barber
4e4faafb08 mac:fix destination of comconst.json 2020-02-20 03:14:46 -08:00
Richard Barber
9bc078c5bb mac:export non-relative paths to config.h 2020-02-20 01:17:49 -08:00
Ingo Weyrich
b627adea3a Merge branch 'dev' into fix-double-promotion 2020-02-09 16:45:20 +01:00
Ingo Weyrich
dc98f069cb Merge branch 'dev' into mlsharpen_review 2020-02-09 11:31:55 +01:00
Desmis
d563b06c3a merge with dev 2020-02-06 10:58:01 +01:00
Beep6581
44f2400993
Merge pull request #5539 from mattiaverga/klt
Fix linking against system klt
2020-02-06 09:53:35 +01:00
Ingo Weyrich
914daffa39 more double promote fixes, still not complete 2020-01-22 00:11:39 +01:00
Lawrence
6ab92eb1f5 Adapt auto perspective for camera-based correction
Comment out parameters that darktable/ART use in case we decide to use
them later. Add yaw and pitch parameters used by the camera-based
perspective correction. Modify homography matrix calculation to use the
camera-based perspective model.
2020-01-18 12:31:04 -08:00
Ingo Weyrich
d5c60475e5 review mlsharpen 2020-01-17 14:16:54 +01:00
Desmis
e73c8666e2 Second commit Wavelet Pyramid - Blur levels simplified 2019-12-13 16:24:52 +01:00
Desmis
446ae7b49c First commit Wavelet Pyramid - Clarity and Blur Residual 2019-12-13 13:37:16 +01:00
Hombre57
c23f976302 Merge branch 'dev' into spot-removal-tool 2019-12-08 00:37:54 +01:00
Desmis
eb45fa1eda merge with dev 2019-12-07 06:13:35 +01:00
Ingo Weyrich
10b085b01e lmmse demosaic: own compilation unit and some cleanups 2019-12-05 21:40:32 +01:00
Mattia Verga
9205b506b5 Fix linking against system klt 2019-11-24 16:44:25 +01:00
Desmis
1f329bded2 merge with dev 2019-11-20 12:57:44 +01:00
Ingo Weyrich
0cf3f16dfa Basic Canon CR3 support. Only decoding, still no CR3 exif support. Ported from ART. Kudos to agriggio and libraw 2019-11-19 19:19:49 +01:00
Desmis
e79bb87c91 merge with dev 2019-11-10 08:56:38 +01:00
Ingo Weyrich
2da0990433 make own compilation unit for panasonic decoders 2019-11-06 23:07:41 +01:00
Ingo Weyrich
033d9fe02a Merge branch 'dev' into newlocallab 2019-11-04 23:01:33 +01:00
Desmis
91b80b23d2 merge with dev 2019-11-04 14:42:22 +01:00
Ingo Weyrich
e7cbca7d4f Merge branch 'dev' into reduce-include-dependencies 2019-11-03 21:40:27 +01:00
Ingo Weyrich
068847eb5a Further cleanup of include dependencies 2019-10-29 21:06:27 +01:00
Desmis
94e3ce3e07 merge with dev and fixed some bugs 2019-10-27 17:09:53 +01:00
Ingo Weyrich
5c332663e7 Merge branch 'dev' into flatfield_review 2019-10-26 21:12:23 +02:00
Ingo Weyrich
3ba2e3fbd7 Merge branch 'dev' into boxblur_cleanup 2019-10-26 20:11:25 +02:00
Ingo Weyrich
37e7a705ab Review of flatfield code, own compilation unit, use clip control value 0 when using auto clip control on already clipped image, code review 2019-10-23 20:22:03 +02:00
Desmis
b2eebb0d97 Add Film grain to smooth blur - thanks to Alberto 2019-10-14 10:27:36 +02:00
Desmis
4f33394122 merge with dev 2019-10-07 18:41:30 +02:00
Desmis
c2e308e84d merge with dev 2019-10-03 18:57:38 +02:00
Morgan Hardwood
8f0de49d41 Whitespace cleanup
Cleans up whitespace (tab -> space), alignment and DOS line endings.
2019-10-03 11:43:12 +02:00
Flössie
0b2b3dc974 Force static privately used subdir libraries (closes #5481) 2019-10-03 10:37:35 +02:00
Ingo Weyrich
6bebc19f02 reviewed boxblur code and usage 2019-09-26 15:03:09 +02:00
Hombre
1cf62a2a65 Merge branch 'dev' into spot-removal-tool 2019-09-14 23:31:02 +02:00
Desmis
0711373021 Merge with dev 2019-09-11 08:35:25 +02:00
Ingo Weyrich
f882309f59 capture sharpening: own compilation unit, smooth progressbar, #5412 2019-08-30 14:45:45 +02:00