Commit Graph

5007 Commits

Author SHA1 Message Date
Lawrence Lee
1e6cc85fe2 Add missing includes
Thanks to Benitoite
(https://github.com/Beep6581/RawTherapee/pull/5889#issuecomment-1475033091)
2023-03-18 18:15:38 -07:00
Lawrence Lee
20e78068cd Merge branch 'dev' into metadata-exiv2 2023-03-17 22:16:17 -07:00
Hubert Figuière
508ca583df Issue #6708 - fix overlapping buffer strcpy
- address sanitizer triggered an error on Fujifilm Finepix HS10
2023-03-13 18:19:41 -04:00
Morgan Hardwood
4fef3f3852 OM Digital Solutions OM-5 camconst #6699
Co-authored-by: Michael Lenz <michael-lenz@users.noreply.github.com>
2023-03-10 02:07:43 +01:00
Floessie
ae3155a17f Merge pull request #6696 from Beep6581/bigtiff
Support for saving TIFFs as BigTIFF (#6690)
2023-03-05 11:23:53 +01:00
Alexander Brock
45b7251073 Copy perspective.method from profile to "neutral" profile so perspective auto-correction works with de-fished images 2023-03-04 20:59:34 +01:00
Lawrence37
2d37dec49b Merge pull request #6667 from Beep6581/om-1
Initial support for OM-1 raws
2023-03-03 22:06:45 -08:00
Alexander Brock
cb762662be Fix automatic perspective correction for de-fished images. 2023-03-04 00:04:42 +01:00
Alexander Brock
e38a36ed9d Make ImProcFunctions::needsTransform more readable 2023-03-04 00:04:23 +01:00
Flössie
e2311cc3da Some minor improvements to ImageIO::saveTIFF() 2023-03-03 09:17:12 +01:00
Flössie
8587fe068d Don't perform EXIF hack on BigTIFF 2023-03-03 08:57:08 +01:00
Flössie
a07c38f405 Support for saving TIFFs as BigTIFF (#6690) 2023-03-01 12:47:55 +01:00
Shiho Midorikawa
f759cff2fe Fix separation mistake 2023-02-27 14:27:47 +09:00
Shiho Midorikawa
62c1f34c4f Separate IPTC/EXIF buffers 2023-02-27 03:43:25 +09:00
Shiho Midorikawa
03fd015e77 Compute return buffer size at ExifManager::createJPEGMarker and make the buffer in that 2023-02-27 03:26:10 +09:00
Alexander Brock
8b51d8297f Move de-fishing code _before_ distortion correction, so de-fishing occurs _after_ distortion correction. 2023-02-25 21:59:25 +01:00
Alexander Brock
c29194d2f2 Get rid of magic number in favor of already present computation of the focal length 2023-02-25 21:42:07 +01:00
U-PCSPECIALIST01\jdesm
23408bfcb3 Local adjustments denoise - Removes the need to have luminance denoise curve activates to activate Nlmeans 2023-02-23 09:18:48 +01:00
Alexander Brock
6ed53affda Avoid unnecessary copy of variable 2023-02-22 13:52:06 +01:00
Alexander Brock
20f3b33c5f Add crop factor to fisheye computation 2023-02-22 11:06:49 +01:00
Alexander Brock
2e66dc11a2 Style changes as requested 2023-02-22 10:52:42 +01:00
Alexander Brock
0cfbf86129 Set scale for defishing after determining it manually from blender rendered scene 2023-02-19 20:10:44 +01:00
Lawrence Lee
006a7d9975 Fix CodeQL alert 2023-02-18 18:16:12 -08:00
Matei George-Daniel
887cf99665 make dpfa lines mark safer 2023-02-18 19:58:59 +02:00
Matei George-Daniel
01441ccb4b initialize pointer variable with null 2023-02-18 02:55:15 +02:00
U-PCSPECIALIST01\jdesm
d5aae723b8 Fixed the same Observer for general and Itcwb 2023-02-16 11:10:18 +01:00
Lawrence Lee
e3c7fd42e9 Merge branch 'dev' into metadata-exiv2 2023-02-15 22:28:18 -08:00
Lawrence Lee
8704c1dd86 Add bound check
Thanks to Floessie
(https://github.com/Beep6581/RawTherapee/pull/5889#discussion_r622755925)
2023-02-15 21:34:03 -08:00
Lawrence Lee
a329e423ec Remove outdated comments about ratings 2023-02-12 18:19:28 -08:00
Lawrence Lee
cf545abc87 Read serial number with Exiv2 2023-02-12 17:10:00 -08:00
Lawrence Lee
9c6dac5f25 Remove outdated comments
Validation of metadata is still needed for #5923.
2023-02-11 18:06:20 -08:00
Lawrence Lee
e590429786 Remove outdated comment
Issue #5787 in the Exiv2 branch is handled by commit 522f6f4.
2023-02-11 17:51:43 -08:00
Alexander Brock
f023a90170 Add camera_defish to PerspCorrection::read/write 2023-02-11 23:51:32 +01:00
Alexander Brock
841e2ff26f Add de-fishing to ImProcFunctions::transCoord so the source window is correctly estimated when using de-fishing 2023-02-11 22:53:23 +01:00
Alexander Brock
fb90908cbd Add GUI elements for defish and scale in perspective tool. Doesn't work very good yet. 2023-02-11 20:31:08 +01:00
U-PCSPECIALIST01\jdesm
8047aded3b remove BENCHFUN for inpaint-opposed color-propagation Itcwb 2023-02-09 16:15:42 +01:00
Desmis
e5d46032ff Add "Inpaint opposed" to Highlight reconstruction and improved Itcwb (#6635)
* Essai HL

* Try Inpaint opposed

* Code improvment

* Add file

* Improvment to process inpaint opposed  and color propagation

* Clean code

* Change Blend to Coloropp in Profile pp3

* Enable BENCHFUN hilite_recon

* Clean rtengine cmakelist

* Comment unused code

* Neutralise unused code

* Change bad Exposure in Pop2Lab.pp3

* Try to fix bug when Inpaint Opposed is used and White balance disabled

* Changes to refreshmap

* Change to improccoordinator M_RETINEX

* Clean unused commented code

* Force Inpaint-opposed in rawimagesouce if wb change

* Suppressed message in console

* Change events and limits to 1 the number of calls to inpaint-opposed

* Comment code

* Add gain theshold to inpaint opposed

* fixed typo in procparams.cc

* Change in option.cc itcwb_sort to true

* Change itcw sorted in options and rawimagesource.cc

* Change sampling read datas Itcwb

* Allow or not purple in WB itcwb

* Added option icwb.nopurple to bypass settings

* Added code comment Itcwb

* optimize Itcwb between green and student

* Formated code used by Itcwb with Astylert.bat

* Change color_match - thanks to Lawrence37

* Remove wrong text
2023-02-09 07:14:20 +01:00
U-PCSPECIALIST01\jdesm
a3adbce04b Support for Nikon Z9 2023-02-06 19:00:14 +01:00
Lawrence Lee
f236a7edb7 Merge branch 'dev' into tone-equalizer 2023-02-05 18:39:23 -08:00
Lawrence Lee
b8d25d542a Fix crash reading Pentax metadata 2023-02-05 17:46:13 -08:00
Alberto Griggio
0421a0acfa fixed bug in handling raw border
Fixes 189

(cherry picked from commit 10df3c06c37a4eb6f38aae2f4a711798af0c4884)
2023-02-05 17:41:08 -08:00
Lawrence Lee
3833c6e634 Merge branch 'dev' into metadata-exiv2 2023-02-05 12:29:58 -08:00
Alexander Brock
9de5cb9915 Add hard-coded fisheye un-distortion operation for testing / discussion 2023-02-04 00:59:04 +01:00
Desmis
9a245c1acb Avoid Color shift - Gamut and Munsell Review in RT - branch Munsellgamut (#6673)
* Fixed numerous problems with gamut and Munsell in Local adjustments

* change gamut-munsell in lab adjustmnts - gamut in ciecam

* Improve XYZ colorimetry and tooltip

* Change event - format code - change labels tooltips

* Removed avoid_ and avoidmun_

* Removed avoidcolorshift in labcurve

* Push change proposed by Lawrence37 - compatibility with old pp3
2023-01-31 12:32:31 +01:00
Mattia Verga
311f3422fd Add missing include for GCC13 compatibility
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2023-01-25 14:16:19 +01:00
Desmis
7afdfc1e2b Abstract profile - Gamut improvment (#6665)
* Gamut control when the chosen primaries are different from working profile

* Gamut control abstract

* Gamut label and history

* Change to Wx Wz

* Fixed crash if y primaries are set to zero

* Fomated with Astylert ImProcFunctions::workingtrc and Color::primaries_to_xyz

* Fixed black becomes green wit gamt abstract profile

* Harmonize types in color.cc

* Try to fix Multiplication result converted to larger type
2023-01-24 14:29:50 +01:00
Lawrence Lee
48b1b6f9be Add OM-1 raw decoding and basic camconst entry 2023-01-17 22:06:58 -08:00
Desmis
21afbaf90b CIECAM - Changes such as symmetric works and temperature output makes sense - issue #6656 (#6658)
* changes such as symmetric works and temperature output makes sense

* Comment code

* other Comment code and small change

* Change tint in tooltip temperature

* Improve GUI for tempout and greenout
2023-01-06 06:43:21 +01:00
Desmis
95cede9a1a Color Appearance and lighting : Remove cat02preset and all dependencies issue 5664 (#6585)
* Remove cat02preset and all dependencies issue 5664

* Normalize cmakelist
2023-01-03 07:44:46 +01:00
Lawrence37
57c1822b2c Strict temporary image file permissions (#6358)
* Write temp images to private tmp directory (Linux)

The directory is in /tmp with 700 permissions.

* Reduce temp image file permissions in Linux

Set temporary image file permissions to read/write for the user only.

* Use private tmp directory for temp images in MacOS

* Use private tmp directory for temp images Windows

* Use GLib to create temporary directories

* Reuse temp directory if possible
2023-01-02 21:32:15 +01:00