Commit Graph

5176 Commits

Author SHA1 Message Date
Lawrence Lee
0e835e8c00 Fix crash in noise reduction
Fix upper bound for array access while building histogram of absolute
values in mean absolute deviation (MAD) calculation.

Fixes #6871.
2023-10-29 16:20:12 -07:00
Pandagrapher
3eb73fb225 Merge with 'Beep6581/dev' 2023-10-20 13:16:03 +02:00
Lawrence Lee
1efa06e887 Fix Lensfun camera mismatch
Work around a Lensfun bug that finds the wrong camera when given an
exact name of certain cameras.
2023-10-14 21:18:04 -07:00
CarVac
29748d057a Update camconst.json white levels for 1DxII 2023-10-14 15:22:08 -04:00
Pandagrapher
488a157476 Fixing review comments 2023-10-13 11:12:37 +02:00
Desmis
d276a56b10 Local adjustments - improvment Dehaze with black (#6860)
* Local Dehaze black

* Enable black

* Change threshold black - publish_pre_dev_labels ladehazeblack
2023-10-12 06:59:33 +02:00
Lawrence37
ab8de06c66 Merge branch 'dev' into nr-gain 2023-10-10 21:03:03 -07:00
Alexander Brock
14f499ecae Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-10-02 14:26:22 +02:00
Lawrence Lee
1ecbd73a4a Update camconst.json from ART
Add color matrix for Canon EOS Rebel SL3 (250D / Kiss X10).
Add masked areas for Canon EOS M6 Mark II and 90D.
Include Canon PowerShot G9 X for values for G5 X and G7 X Mark II.
Add black level for LEICA D-LUX 7.
Include PANASONIC DC-GX880 for values for DC-GF10.
2023-09-24 16:37:29 -07:00
Pandagrapher
0c2d7c1382 Merge with 'Beep6581/dev' 2023-09-22 20:36:03 +02:00
Flössie
dcbc0327a1 Fix UB in ProcParams::load() and the resulting Clang 15+ miscompilation
Fixes #6847.
2023-09-17 15:14:11 -07:00
Lawrence Lee
dab9a3f57e Fix automatic distortion correction crash
Closes #6840.
2023-09-17 15:14:03 -07:00
Flössie
2a87c65a14 Fix UB in ProcParams::load() and the resulting Clang 15+ miscompilation
Fixes #6847.
2023-09-15 15:24:24 +02:00
Battyányi Dániel
d0b34a3234 Fixed crop mode checking
Me make dumb mistake in prev. commit sry.
2023-09-12 18:19:51 +02:00
Battyányi Dániel
1a0b7f4562 Replaced casting with != 2023-09-12 14:01:35 +02:00
Battyányi Dániel
b4daf36349 CropMode changed from "plain enum" to "enum class" 2023-09-12 10:39:50 +02:00
Battyányi Dániel
0fe4c18752 Semantic changes 2023-09-12 10:33:04 +02:00
Battyányi Dániel
f09612453a Metadata no longer overwrites camconsts
Added suggested changes to camconst and removed the camconst.json overwriting part as per the review comment
2023-09-12 00:07:43 +02:00
Battyányi Dániel
ab6d5b190c Tags in numerical order inside parse_fuji()
As suggested by review comment
2023-09-11 23:18:57 +02:00
Battyányi Dániel
6ee6a46750 Width and height only updates to cropped version after detecting crop
As suggested by review comment
2023-09-11 23:11:38 +02:00
Battyányi Dániel
3806107315 Changed crop detection mechanism according to code review comment
Changed the crop detection to use the CropMode Fujifilm tag from the makernotes instead of an arbitrary threshold.
2023-09-11 22:58:24 +02:00
Battyányi Dániel
ea86a14dff removed unecessarily setting of raw_height and raw_width 2023-09-11 22:22:37 +02:00
Lawrence Lee
97e181bd58 Fix automatic distortion correction crash
Closes #6840.
2023-09-09 14:59:14 -07:00
Pandagrapher
735958fc0d Merge with 'Beep6581/dev' 2023-09-08 17:58:50 +02:00
Lawrence37
f93c3ddf94 Merge pull request #6838 from Lawrence37/canon-various-camconsts
Raw crop and masked areas for a few Canon cameras
2023-09-05 18:32:34 -07:00
Lawrence37
c3a97f0304 Merge pull request #6836 from Lawrence37/ilce-7m4-raw-crop
Raw crop for Sony ILCE-7M4
2023-09-05 18:30:09 -07:00
Alexander Brock
909715e631 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-09-05 13:20:25 +02:00
Pandagrapher
990e9c70a5 Merge with 'Beep6581/dev' 2023-09-05 09:48:43 +02:00
Lawrence Lee
7c73da7723 Fix Olympus E-M10MarkIV white level
Closes #6236.
2023-09-04 14:31:03 -07:00
Lawrence Lee
408b41dc72 Raw crop and masked areas for a few Canon cameras
- Fix masked areas for EOS RP 1.6x crop mode
- Masked areas for EOS M50, EOS M50m2, and EOS M100 (all the same)
- Raw crop and masked areas for EOS R 1.6x crop mode
2023-09-03 18:03:08 -07:00
Lawrence Lee
a618efe782 Fix Lensfun corrections not available
Also search by exact match of lens model and name.
2023-09-03 15:30:42 -07:00
Lawrence Lee
6fb8ded886 Add Sony ILCE-7M4 raw crop
Remove 10 columns of bad pixels from the right border.
2023-09-02 22:03:34 -07:00
Dániel Battyányi
554a6dc161 Added RT signifier comments 2023-08-30 23:34:36 +02:00
Dániel Battyányi
5231f3a742 Removed comments 2023-08-30 23:09:03 +02:00
Dániel Battyányi
23e2f0cca5 Fixed issue #6312
Fixed issue, where raw cropped Fuji X-Pro3 could not be loaded correctly. This would result in a Segmentation Fault.
With these changes the program should read the correct dimensions from the file's metadata, and load the image accordingly.
2023-08-30 22:17:16 +02:00
Alexander Brock
2361f3c15b Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-08-30 21:32:04 +02:00
Lawrence Lee
0fdac3797a Merge branch 'dev' into browser-preview-applied-pparams 2023-08-29 22:58:51 -07:00
Beep6581
e189a1a4ec Merge pull request #6817 from ss23/clang_windows_mingw_64bit_fix
Use `_WIN32` instead of `WIN32` to detect Windows
2023-08-29 00:47:13 +02:00
Beep6581
15144e4cc2 Merge pull request #6703 from Beep6581/om5
OM Digital Solutions OM-5 camconst #6699
2023-08-28 22:51:35 +02:00
Pandagrapher
b57d1026a3 Merge with 'Beep6581/dev' 2023-08-24 13:48:07 +02:00
Alexander Brock
bc1851f43c Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-08-19 13:29:51 +02:00
Lawrence37
ac48cc55d8 Better use of cache with inpaint opposed highight reconstruction (#6822)
* Speed up preview when inpaint opposed enabled

Only reprocess from raw if the white balance is changed. Otherwise, a
cache from later in the pipeline can be used.

* Remove unused code

* Fix refresh map bit positions

* Make WB & inpaint opposed refresh less brittle

Co-authored-by: Hombre57 <natureh.510@gmail.com>

---------

Co-authored-by: Hombre57 <natureh.510@gmail.com>
2023-08-15 07:52:38 -07:00
Stephen Shkardoon
23f2a2fc9f Use _WIN32 instead of WIN32 to detect Windows
`WIN32` is not defined when building a 64-bit executable on Windows with Clang. `_WIN32` is the more appropriate option here.
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system contains a handy table/matrix of the options and why this is best.
2023-08-13 17:09:49 +12:00
Lawrence Lee
7eb7fb210f Merge branch 'dev' into metadata-exiv2 2023-08-12 15:08:42 -07:00
Pandagrapher
d0743ef359 Merge with 'Beep6581/dev' 2023-08-12 18:03:41 +02:00
Alexander Brock
0355d874e5 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-08-09 01:08:59 +02:00
U-PCSPECIALIST01\jdesm
269e426cc6 Another change to blendmask 2023-08-07 08:48:08 +02:00
U-PCSPECIALIST01\jdesm
8d437fec38 Change range blmask in iplocallab - thanks to hombre 2023-08-07 07:06:55 +02:00
Lawrence37
0052f08e94 Merge pull request #6794 from Lawrence37/auto-dcp-locale-fix
Fix for Auto-matched camera profile detection when using the English (US) language
2023-08-06 14:52:08 -07:00
Lawrence37
ec24613f3b Merge pull request #6778 from Lawrence37/eos-7d-markii-raw-crop
Improved raw crop for Canon EOS 7D Mark II
2023-08-06 14:48:35 -07:00