8711 Commits

Author SHA1 Message Date
Benitoite
65f1b4c3d9
Update macOS packaging for 10.15.4
Several smaller fixes to provide an improved handling of installing/using RT on macOS.
* mac: update entitlements for 10.15.4
* mac: fix the CLI. Provides an un-codesigned rawtherapee-cli outside the app bundle for use on the terminal command line, using the app bundle's 3rd-party libraries.
* How to install RawTherapee.app and rawtherapee-cli for macOS
2020-05-12 14:17:53 +02:00
Floessie
9bbd78ae29
Merge pull request #5739 from pinchartl/dev
rtexif: Fix conversion from RATIONAL to int, double or string
2020-05-12 09:15:20 +02:00
Desmis
b5af6eec60 Fixed crash when use extra 2020-05-09 19:57:39 +02:00
Ingo Weyrich
5bbf312874
Merge pull request #5742 from Beep6581/no-math-errno
Do not set math errno
2020-05-08 14:03:46 +02:00
Ingo Weyrich
8c851a1b3f Also tweak CMAKE_C_FLAGS, fixes #5742 2020-05-08 14:02:40 +02:00
Ingo Weyrich
988d3a1a0d Do not set math errno 2020-05-07 15:26:10 +02:00
Laurent Pinchart
cec7908429 rtexif: Fix conversion from RATIONAL to int, double or string
RATIONAL tags are defined as a ratio of two LONG, themselves defined as
32-bit unsigned integers. The value is misinterpreted when converting to
an int, double or string, as the numerator and the denominator are
interpreted as signed values. The problem has been noticed with the
ExposureTime tag generated by libtiff, which sets the denominator to
0xffffffff for exposure times lower than 1. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-05-03 17:14:04 +03:00
Thanatomanic
1beb3c91b4
Adjust white-point for Nikon COOLPIX P1000. Fixes #5734 2020-04-27 18:13:47 +02:00
Thanatomanic
276ae214f2 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev 2020-04-23 10:12:49 +02:00
Thanatomanic
687217a6af Brighten the diagonal line in curves, tone down the gridlines. Fixes #5687. 2020-04-23 10:10:42 +02:00
Ingo Weyrich
d165a08e36 revert a801d76, fixes #5716 2020-04-20 13:43:08 +02:00
rom9
22eee9787e
Film negative stable multipliers (#5485)
* Added new feature to calculate channel multipliers from crop area. This also saves the crop area channel medians to the processing profiles, in order to get a more consistent color balance when batch-applying the same profile to multiple pictures from the same film roll.

* Fixed wrong initialization of array, and missing check for the result of `getFilmNegativeMedians()`.
Moved `ImProcCoordinator::translateCoord()` from private member to anonymous namespace.
Fixed some whitespace and formatting issues.

* Fixed some formatting issues

* Passed `ipf` parameter as const in `translateCoord`.
Narrowed `using namespace` to single class `Coord2D`.

* Added `scaleGain` entry to thumbnail metadata file, to make `scale_mul` multipliers available in thumbnail processing phase. This simplifies multiplier calculations, so that "faking" thumbnail multipliers in the main image processing is not necessary anymore. This way, output values are immune to slight variations of multipliers between successive shots taken with in-camera AWB turned on.
Shifted multipliers so that the output channel medians are balanced when "Camera WB" is selected. This way, just computing multipliers from crop and setting "Camera WB" (which is the default) gives a pretty well balanced image as a starting point.

* New channel scaling method, based on a film base color sample instead of crop area channel medians. Channels are scaled so that the converted film base values are equal to 1/512th of the output range (65k). This giver better black levels in the output, and more consistency when batch-processing multiple negatives.
The output is now compensated for a known fixed WB value, so that the film base will appear grey when WB is set to 3500K, Green=1.
Added PPVERSION 347 to preserve backwards compatibility: when a processing profile saved by RT 5.7 is loaded (PPVERSION=346), the new fields are initialized to the special value -1, which will instruct the main processing to follow the old channel scaling behaviour. The old channel scaling multipliers will then be converted to the new film base values so that the resulting image is the same, and the fields will be overwritten as soon as the PP is saved again. This will transparently upgrade the processing profile.
When the new behaviour is used, but the film base values are still unset, they are estimated based on channel medians, excluding a 20% border around the image. This should give a better result out-of-the-box for pictures containing a large film holder.

* Code cleanup from review

* Run astyle on film neg source files

* Fixed automated build failure caused by incompatible libraries on my dev PC.

* Simplified `Thumbnail::processFilmNegative` method signature. There is no need to pass in `rmi`,`gmi`,`bmi` multipliers from the caller, i can do the same with my own internal multipliers.

* Added `FilmNegListener` class to pass estimeted film base values to the GUI after first processing. Removed old `filmBaseValues` instance variable from RawImageSource.

* Code cleanup

* Forgot to set baseValues flag in `PartialPasteDlg::applyPaste`
Fixed `filmBaseValuesLabel` not updating when reading zero baseValues. Normally not needed (the label is updated later by the listener), but when the user is browsing through pictures the listener won't fire, so the label must be updated to show values are unset.

* Overwritten channel scaling multipliers by calling `get_colorsCoeff` with `forceAutoWB=false`.
Initially, in `RawImageSource::load`, channels are auto-balanced by averaging the whole picture when computing multipliers.
This can give different multipliers for multiple shots of the same camera, which will lead to inconsistent conversions when batch-processing multiple negatives.
This commit re-sets `scale_mul`, `ref_pre_mul`, etc., in order to "undo" the auto-WB and use the normal camera multipliers.

* Found an easier way to get stable overall multipliers, removed the (horrible) on-the-fly mutation of scaling instance variables.
2020-04-13 17:20:56 +02:00
Ingo Weyrich
996ba0a9a3 Partial decoding or wrong dimensions of X-T30 files, fixes #5709, code taken from ART 2020-04-13 13:31:06 +02:00
Thanatomanic
9cc744b1f6 Reset all options in crop. Fixes #5138 and #5045 2020-04-13 11:40:28 +02:00
Desmis
1c63d75399
Merge pull request #5702 from Beep6581/wavtm
Wavelet - added chrominance denoise to wavelet levels
2020-04-08 09:01:03 +02:00
Desmis
4c0013b461 Wavelet final - Change guidefilter parameters 2020-04-08 07:42:17 +02:00
Desmis
cbac4e0691 Fixed segmentation fault with blur levels 2020-04-07 10:52:08 +02:00
Desmis
abba1bf360 Improve enabled blur level and wavelet decomp level 2020-04-07 10:16:08 +02:00
Desmis
ded866f5af Optimize memory when denoise chroma is not used 2020-04-06 17:33:01 +02:00
Desmis
9f5e81b026 Change tooltip offset 2020-04-06 09:42:46 +02:00
Desmis
31355ca70e Added equalizer denoise luminance 2020-04-06 09:37:37 +02:00
Desmis
1e3870d8f7 Clean code improcfun.h 2020-04-05 15:53:05 +02:00
Desmis
f4a28b730a Disabled denoise chrom when denoise and refine disabled 2020-04-05 14:53:55 +02:00
Desmis
93284afafd merge with dev 2020-04-05 14:34:56 +02:00
Flössie
15db8cdb57 Guard accesses to Crop::crop_ratios (#5701) 2020-04-05 11:26:47 +02:00
Desmis
ca8399bc90 change labels 2020-04-05 11:13:18 +02:00
Desmis
05250a2497 Change labels chroma 2020-04-05 11:04:01 +02:00
Desmis
2d52fbdcef Improve wavelet levels with denoise chroma 2020-04-05 10:28:45 +02:00
Desmis
df92c743a6 merge with dev 2020-04-05 07:00:39 +02:00
Desmis
d0e65ec93c Change history_msg 2020-04-05 06:59:17 +02:00
Desmis
2b230bfd1e
Merge pull request #5700 from Beep6581/wavtm
Wavelet - change labels et tooltip
2020-04-05 06:54:23 +02:00
Desmis
7d8e0abd2f Clean code and change default values 2020-04-04 15:37:22 +02:00
Desmis
d00ec5a1b2 Change tooltip and history msg damper 2020-04-04 08:32:34 +02:00
Desmis
bf9089ba61 merge with dev 2020-04-03 07:47:32 +02:00
Desmis
ac0d54ef3e Display pyramid mea[] 2020-04-03 07:37:16 +02:00
Flössie
8886402e93 Fix Clang-10 warnings 2020-04-02 13:23:57 +02:00
Desmis
61c6b19533 GUI for wavelt denoise chroma 2020-04-02 12:32:29 +02:00
Desmis
ed57e3163e Prepare ftblockdn to chroma denoise 2020-04-02 09:10:33 +02:00
Desmis
29596bb457 change reset value slider bluwav to 1 2020-04-01 10:16:24 +02:00
Desmis
310faf33e3
Merge pull request #5695 from Beep6581/wavtm
Wavelet Improvment contrast threshold to prevent fine texture and noise
2020-03-31 16:43:35 +02:00
Desmis
b8749f708c Added effect to edge sharpness 2020-03-31 14:24:17 +02:00
Desmis
5102c82c11 Improve blur with effect 2020-03-31 10:04:16 +02:00
Desmis
0fa2ca79c2 Improvment contrast to prevent texture and noise 2020-03-30 08:54:26 +02:00
Ingo Weyrich
bae1897b44 Fix segfault when using Colour Toning/Lab blending on very dark images 2020-03-29 17:42:48 +02:00
Desmis
30eb7bfd00
Merge pull request #5694 from Beep6581/wavtm
Improvment to Wavelet - Blur levels and Blur residual
2020-03-29 15:35:25 +02:00
Desmis
bdb7409d11 Change extra slider in GUI 2020-03-29 13:29:37 +02:00
Desmis
3f6ab06222 Change threshold from 5 to 32.7 in aver and sigma 2020-03-29 10:29:40 +02:00
Desmis
7d33319893 small change to blur - change label and tooltip 2020-03-29 08:00:48 +02:00
Desmis
3cc2b17fbf merge with dev 2020-03-29 07:49:23 +02:00
Ingo Weyrich
15204fa9bd dcraw_matrix for FUJIFILM X-T4 2020-03-28 16:34:10 +01:00