Commit Graph

5064 Commits

Author SHA1 Message Date
Lawrence Lee
6f50b68fa7 Consider raw border with CA avoid color shift 2023-07-16 16:17:57 -07:00
Lawrence Lee
ab2cc4ba45 Fix auto DCP detection when using US English
For systems where the locale is not English but the language in
preferences is manually set to "English (US)", the Color Management
Auto-matched camera profile option is not selectable even if a DCP
exists for the camera. This is because the Glib::ustring
casefold_collate_key() method returns a locale-dependent value. When
initializing the list of DCP files, the system locale is used. When
finding a matching DCP profile for an image, a different locale is used
because the LANG environment variable is set while initializing the
RawTherapee GUI language.
2023-07-15 18:36:26 -07:00
Lawrence Lee
473d50a0a3 Add checkbox for disabling NR gain
Option to disable noise reduction automatic gain for consistency between
photographs.
Fix automatic gain not being recalculated after changing the white level
correction.
2023-07-15 17:47:26 -07:00
Lawrence37
b68a6e9581 Merge pull request #6790 from luzpaz/typos
Fix various typos
2023-07-12 21:22:54 -07:00
luzpaz
b0ebab8e08 Fix various typos
Found via `codespell -q 3 -S ./rtdata/languages -L activ,alph,ba,bloc,bord,chang,childs,currentry,dof,dum,fo,hist,inout,invers,lonly,makro,ois,pres,preserv,portugues,rady,reall,redy,struc,tbe,thre,trough,vart,vekto`
2023-07-05 13:51:11 +00:00
Alexander Brock
d5fbf21f6f Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-07-03 01:16:05 +02:00
Lawrence Lee
fcf22ea33a Update white level for Canon EOS R5
Drop the white level slightly to account for noise. White level
confirmed in https://github.com/Beep6581/RawTherapee/issues/6783.
2023-07-01 18:39:05 -07:00
Lawrence37
1d9225dfc3 Merge pull request #6774 from Lawrence37/hsv-equalizer-pipette-crash
Fix for HSV equalizer pipette crash
2023-06-30 22:24:43 -07:00
Lawrence37
9ca2217603 Merge pull request #6766 from Lawrence37/lab-curve-histogram-scale-fix
Fix for L*a*b* curves histogram scaling and pipette values
2023-06-30 22:24:27 -07:00
Lawrence37
f490e9c607 Merge pull request #6765 from Lawrence37/pipette-lab-fix
Fix L*a*b* values in the lockable color picker and navigator
2023-06-30 22:24:07 -07:00
Alexander Brock
a19fa3bfd0 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-06-27 22:27:42 +02:00
Lawrence37
e507be76ab Update OM-5 camconst
Add white level and fix 80MP raw crop.
2023-06-25 18:28:50 -07:00
Desmis
0404a47fb7 LA Color and Light - Merge file - Screen : improve behavior (#6779)
* Change merge secreen in LA color and light

* Remove warning in console
2023-06-25 08:02:53 +02:00
Lawrence37
c6028d0364 Merge pull request #6768 from Lawrence37/eos-r8-raw-crop
Camconst entry for Canon EOS R8
2023-06-24 16:26:28 -07:00
Lawrence Lee
27f247e8db Crop row of bad pixels for Canon EOS 7D Mark II 2023-06-20 22:25:10 -07:00
Lawrence Lee
1ea0ef8af1 Fix HSV equalizer pipette crash
Check if pipette buffer is valid before filling it in the RGB process.
2023-06-17 22:07:46 -07:00
Lawrence37
b0714e7c00 Merge pull request #6691 from elliptic-shiho/fix-jpeg-exif-buffer-size
Fix the buffer-size computation flow of exif marker of JPEG
2023-06-13 20:53:51 -07:00
Lawrence37
0a3a314d82 Merge pull request #6687 from matei-georged/georgem_6630_fix_pdaf_crash_nikonz50
PDAF lines filter crashes with RAWs from Nikon Z 50
2023-06-13 20:50:59 -07:00
Lawrence37
ae188f6338 Merge pull request #6709 from hfiguiere/dcraw-6708
Issue #6708 - fix overlapping buffer strcpy
2023-06-13 20:49:27 -07:00
Lawrence37
bca2d05f95 Merge pull request #6645 from Entropy512/user_icc
iccstore: Allow loading profiles from user-writable configuration directory
2023-06-13 20:48:56 -07:00
Alexander Brock
26ae65ec9e Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-06-10 13:23:33 +02:00
Lawrence37
c07a6e8901 Merge pull request #6641 from Lawrence37/tone-equalizer
Global tone equalizer
2023-06-09 21:15:58 -07:00
Desmis
be2d5ce11f Local adjustments - denoise improvments (#6705)
* Init improvment LA denoise

* First display luma chroma residual noise

* Clean code denoise iplocallab.cc

* Change windows.yml with old version january 2023

* Clean code - change calculation denoise - GUI

* Improve labels tooltip denoise

* Clean code

* Change tooltip

* Set auto denoise - main - chroma auto to 50%  when LA denoise is used

* Change GUI denoise with expanders

* Change labels

* Change reference remianing noise in percentage

* Change tooltip and labels

* Change values in preview remaining noise

* Clean comment code - chnage tooltips

* Change windows.yml and appimage.yml publish_pre_dev labels

* Update windows.yml

* Restore windows.yml

* Restore windows.yml and clean code

* Revert change Noise Reduction link with Local denoise

* Revert all changes on Noise-reduction linked with Local adjustments
2023-06-05 06:40:57 +02:00
Lawrence Lee
376d680b16 Add basic camconst entry for Canon EOS R8
The camera seems to have the same characteristics as the Canon EOS R6m2.
The raw crops for the R6m2 are derived from standard and CRAW images for
full-frame and 1.6 crop. The raw crops for the R8 are from standard and
CRAW images for full-frame only, but for both standard and Dual Pixel.
The Dual Pixel R8 images require 10 pixels cropped from the right side
instead of 6. Thus, the full-frame crop needs adjustment.
2023-06-04 16:32:41 -07:00
Lawrence Lee
24f0bff0ab Fix L*a*b* curves histogram and pipette scaling
Use correct horizontal scale for chroma histogram.
Fix pipette values for chroma, a*, and b*.
2023-05-29 15:49:58 -07:00
Lawrence Lee
8accebe416 Fix incorrect sampled L*a*b* values
Use LCMS to convert values back into L*a*b*. The pipette buffer has the
output or working profile applied with LCMS. Performing the inverse
operation fixes the incorrect values shown in the navigator, histogram
indicator bars, and lockable color pickers.
2023-05-28 18:15:27 -07:00
Lawrence37
6a11c59b79 Merge pull request #6758 from Lawrence37/sony-zv-1-camconst
Sony ZV-1 color matrix and black level
2023-05-27 15:24:25 -07:00
Lawrence37
77853893a9 Merge pull request #6739 from SimonSegerblomRex/fix-6682
dcraw.cc: Fix bug for tiff_ifd.new_sub_file_type
2023-05-27 15:23:02 -07:00
Hubert Figuière
a1bbc93538 Fix missing explicit include (#6704)
* Fix missing explicit include

- Also avoid rtgui include

* Fix more missing explicit include
2023-05-21 15:25:42 -07:00
Lawrence Lee
68ae17a640 Add PDAF pattern for Sony ZV-1 2023-05-14 12:14:33 -07:00
Lawrence Lee
572a75f02a Fix lens model reading for Sony ILMEs and ZV-E10
Use lens model from the EXIF group for these cameras.
2023-05-14 11:06:23 -07:00
Lawrence Lee
bcf9b86dcf Add Sony ZV-1 color matrix and black level 2023-05-13 17:36:22 -07:00
Lawrence Lee
0ac49e4d9a Support Exiv2 >= v0.28.0
The various Datum classes no longer have the toLong method and must be
replaced with toInt64.
ErrorCode is an enum class instead of an enum.
Error classes are reduced to Exiv2::Error.
2023-05-13 16:43:47 -07:00
Lawrence Lee
8c98925f3d Get lens name from EXIF group for ILCE/NEX cameras
Fix incorrect lens name read in certain cases from Sony cameras (see
https://discuss.pixls.us/t/call-for-testing-rawtherapee-metadata-handling-with-exiv2-includes-cr3-support/36240/87).
2023-05-12 22:44:04 -07:00
Alexander Brock
d5efef243b Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-05-01 14:23:13 +02:00
Lawrence37
677aaf2ec7 Merge pull request #6753 from Lawrence37/eos-r6m2-raw-crop
Canon EOS R6 Mark II raw crop
2023-04-29 14:18:47 -07:00
Pandagrapher
f7c25b18af Merge with 'Beep6581/dev' 2023-04-29 11:24:55 +02:00
Pandagrapher
23be310029 Fixes issues following merge with 'dev'
- External Editor: App icon not correctly managed in RTImage
- Favorite preferences: Fixes widget sizes
- Other fix: With some versions of Glib/Glibmm library on MacOS, Glib::KeyFile "load_from_file" function does not raise a Glib::Error but another exception. This causes crash opening preferences panel due to missing dynamic profiles configuration
2023-04-29 11:06:58 +02:00
Lawrence Lee
25082b6fc0 Add Canon EOS R6 Mark II color matrix 2023-04-28 21:56:27 -07:00
Alexander Brock
2ad61ba4bb Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-04-28 10:24:13 +02:00
Lawrence Lee
91a07a2ac5 Add raw crop for Canon EOS R6 Mark II 2023-04-27 21:11:58 -07:00
Lawrence Lee
61b05f8504 Fix crash with Fujifilm sports finder mode
Handle heights and widths larger than raw heights and widths. Add
camconst raw crop for certain Fujifilm cameras with sports finder mode
on.
2023-04-22 21:32:08 -07:00
Simon Segerblom Rex
3ea40d893e dcraw.cc: Fix bug for tiff_ifd.new_sub_file_type
This was regressed by bd118a4a40.
2023-04-16 08:02:46 +02:00
Lawrence Lee
1eb58255ce Merge branch 'dev' into tone-equalizer 2023-04-15 16:58:52 -07:00
Lawrence Lee
9893e02aab Move tone equalizer after exposure
Place it between the shadows curve (black and shadow compression) and
DCP tone curve and look table. Moving it after exposure makes it
possible to easily adjust the exposure to the ball-park range before
applying the tone equalizer. Keeping it before the tone curves allows it
to affect the image before clipping occurs.
2023-04-15 16:53:58 -07:00
Lawrence Lee
c4245b5106 Merge branch 'dev' into metadata-exiv2 2023-04-09 17:10:54 -07:00
Lawrence Lee
ab79a4fc3e Refine lens name reading for Nikon Z and Sony
Fall back to other EXIF tags in case Exiv2 cannot interpret the lens ID.
2023-04-09 17:08:54 -07:00
Lawrence37
f018d1fec0 Merge pull request #6536 from Bezierr/ha-profilepath-dev
Relative pathnames to .dcp and .lcp files in .pp3 for interchangeability between Windows and Linux
2023-04-03 18:38:58 -07:00
Lawrence Lee
0bbcea8806 Fix Nikon Z series lens identification 2023-04-02 23:43:10 -07:00
Lawrence Lee
30025d2ac2 Get Sony image lens from Sony lens ID tag 2023-04-02 17:22:10 -07:00