Commit Graph

4174 Commits

Author SHA1 Message Date
Daniel Gao
757a0a032a Implement partial profile for framing tool
* Update partial profile load/save GUI to include framing tool
* Allows for loading/saving framing tool parameters from the clipboard
2024-11-18 15:33:54 -05:00
Daniel Gao
114a4680de Implement FramingParamsEdited operations
* Implements edited param manipulation operations for framing tool
2024-11-18 15:33:54 -05:00
Daniel Gao
d1148539bb Implement load/save for FramingParams
* Implement writing FramingParams to keyfile
* Implement reading FramingParams from keyfile
2024-11-18 15:33:54 -05:00
Daniel Gao
8e68eccb85 Add framing tool ProcParams
* Adds FramingParams parameter struct to ProcParams
* Implement saving and writing to struct from framing tool GUI
2024-11-18 15:33:53 -05:00
Daniel Gao
b472fbf2ab Add RAII listener blocking utility
* Added for ToolPanel listener and Adjuster
* Follows style of ConnectionBlocker for sigc::connection
2024-11-18 15:33:53 -05:00
Daniel Gao
03a73eb3a4 Add framing tool GUI
* Added under the Resize tool like PR sharpening
* Adds FramingParams and FramingParamsEdited structs
* No parameter read/write implemented
* No support for batch mode
* No adjuster listeners implemented
* Signals and callback functions are defined but do nothing
2024-11-18 15:33:53 -05:00
Daniel Gao
96ad7051cf Refactor aspect ratios out of crop.cc 2024-11-18 15:33:53 -05:00
Desmis
b73840cf3c Gamut compression - reduce artifacts resulting from out of gamut (#7205)
* First functions needs for ACES

* New file GUI compressgamut

* GUI first step

* GUI first step

* Gui step 2

* GUI procparams and paramsedit

* GUI read

* GUI step 4

* GUI step 5

* First tooltip

* Gamut compression tooltips

* Various GUI improvment

* History msg

* Comment code with Aces remarks

* First change improccoordinator and events

* Save work on matrix

* Compress gamut next work

* First try gamut compress

* Replace cout by printf in invertmatrix

* Change tooltips and events

* Added namespace std to iplab2rgb

* Comment code

* Active rtthumbnail

* Change tooltip

* Various improvment GUI and rolloff

* Added adobeRGB gamut

* Appimage windows yml

* Remove rttumbnail gamutcompr

* Change event to COMPR

* Change tooltip and verbose

* Restore raw de-haze history message

* Refactor ACES gamut compression functions

* Fix gamut compression color space history message

Correctly display the color space name.

* Add "unchanged" for gamut compression color space

Allow "unchanged" in batch mode.

* Fix gamut compression yellow distance for batch

* Update copyright for gamut compression GUI

* Fix gamut compression color space names

* Refactor gamut compression code

* Remove comment rtthumnail.cc - Acesp1 default

* Change matrix DCI-P3 - threshold maximum to 1 in GUI and in gamut compression - tooltips

* Change tooltip

* Clean code - change tooltips

* Remove appimage windows yml

---------

Co-authored-by: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
2024-11-14 13:08:52 +01:00
Desmis
691fe80896 Revert "Generalized Hyperbolic Stretch in Selective Editing (#7210)" (#7250)
This reverts commit 16db6186dd.
2024-11-14 10:29:29 +01:00
Desmis
16db6186dd Generalized Hyperbolic Stretch in Selective Editing (#7210)
* GHS GUI first step

* GHS GUI first step

* GUI step 3

* Hide show ghsmethod

* Siril functions for ghs

* Init ghs in iplocallab

* ghs step 2

* ghs step 4

* Comment copyright Pixlnsight 2021

* Smooth highlights and tooltips

* Enabled saturation and luminance ghs mode

* First tooltip

* Ghs tooltips

* Remove wrong packstart inverssh

* Change labels and tooltips

* Disabled mask in global and other improvments

* Comment code

* appimage and windows yml ghs

* Change tooltip

* Ghsmethod hue and change tolltips

* Change tooltip

* Inverse Stretch step 1

* Inverse GHS

* GHS tooltips

* Change tooltips

* Change tooltip

* Linear black point

* Small change to blackpoint

* Change tooltip

* Clean and comment code

* forgotten GHS highlight attenuation msg in history

* Comment code with Transformation equations

* Change tooltip

* Wrong default value balck point

* Comment code iplocallab

* Ghs curve step 1

* GHS curve step 2

* Show GHS setting in a Curve Box

* Tooltip for ghs S curve

* Disabled warning in compilation simpleprocess

* Simplified code part 1

* Simplified code GHS graph part 2

* Improve black point with negatives values

* Improve BP and tooltip

* Listener enable only with GHS

* White point for GHS

* Change label and tooltip

* Improve behavior white point and black point

* Link sliders ghs_SP ghs_LP ghs_HP and change code to avoid balck screen

* hide unused button in diagonal curve GHS

* prevents the GHS representation in S from displaying artifacts if ghs-d=0

* Change tooltips

* Improvment and tooltips

* Forgotten tooltip

* Improve GUI GHS S curve - change tooltips

* Set transition gray areas in S curve GHS with values of the RT-spot

* Change label GHS

* setlogscale blackpoint and symmetry

* Set recursive reference enable by default in controlspotpanel

* Change lastlocalCurvesDir Dirghs in locallabtools and options - change labels

* Added in converttonormal ghsMode.. not sure if this is useful

* DIY to make GHS curve work without the choices

* Change RGB calculation with luminance function working profile

* 5 modes GHS method

* Label to show datas clipped Black point and White point

* Various change white point tooltips

* Bad behavior wp bp labels

* Small change to improccordinator call to ghschanged ghsbwchanged

* Set log scale ghs_D

* Hide Graduated filter if GHS enable

* Luminance Lab in ghsmethod

* Lab slope factor step 1

* Slope and Chromaticity GHS improvments

* Fixed bad sqrt line 17477 iplocallab

* Workaround linear GHS - re-enable Graduated filer GHS

* Change limits slope lab factor

* Ghs chromaticity Lab (Lch)

* Improve ghs chromaticity

* Change labels and tooltips Lab chroma

* Slope Lab to 100

* Noise and saturation RGB

* Saturation RGB standard and labels

* Change histogram and navigator panel without gamma when using working profile

* Remove gray in GHS curve

* Local contrast a minima

* Regularization stretch

* Improve Graduated Filter in all cases GHS Color and Light etc.

* Improves nlmeans to reduce noise after GHS

* Change to GF - tooltip Nlmeans

* Added oW oH tW tH etc.

* Added call GF

* tX tY for previewProps

* Comment code GF

* Improve local contrast ghs

* Change norm to norm2

* Improve GUI mode complexity and Lab GHS

* Show values BP WP in GUI

* Labgrid ghs step 1

* Labgrid for simulation GHS - step 2

* More points for Labgrid ghs

* Clean and comment code

* Fixed crash in inverse GHS white point - set to 10 points for GSH simulation

* Change to black point in inverse GHS

* Intilialize simulation with nothing if new spot

* Remove curve GHS - optimize code simulation - improve GUI

* set ghs default - fixed crash is case HP SP LP

* Fixed crash - I hope in inverse GHS

* Simplify WP and BP limits to avoid crash in inverse GHS

* Clean code with ghscurve - ghsshape

* Change tooltips

* Change to D - GUI - comment code

* Simulation with 4 more points

* Best simulation with point 0.05 and 0.95

* Clean code - change for crsah in Inverse GHS

* Show values WP and BP
2024-11-13 08:23:41 +01:00
Lawrence Lee
860306dc35 Allow reading more than 6 sub-frames
This allows all images to be read from a Canon burst raw file.

Refactor raw image source to use unique_ptr.
2024-10-06 18:01:40 -07:00
Desmis
00360a6dbb Remove GUI mask in Global mode (#7207)
* Hide GUI mask and recovery in global mode

* Disabled enamask in Global mode
2024-10-01 09:10:59 +02:00
Lawrence37
f8386306c9 Merge pull request #6689 from abrock/defish
De-fish
2024-09-27 21:48:55 -07:00
Desmis
348c8e8894 Improve Dehaze for Raw files - Raw black point (#7133)
* Show min raw values in console, #5769

* Speedup

* outsourced calculation of raw min values

* First try GUI

* Improve GUI

* Clean code

* Change behavior GUI

* First step GUI Xtrans

* Second step GUI Xtrans

* Last step X-trans black dehaze

* Appimage and windows yml poordeha

* disabled sliders R G B when dehaze enabled

* Remove idle_register autoblackchanged

* Changes suggested by Lawrence37 to improve double processing

* Remove yml appaimage windows

---------

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2024-09-17 08:29:21 +02:00
Alexander Brock
53a64a9235 Make history event correctly show "Defish - Focal Length" when changing the focal length of the defish tool 2024-09-12 21:06:52 +02:00
Alexander Brock
ac7b3fc651 Add rtengine::ProcEvent for de-fishing 2024-09-11 17:39:59 +02:00
Alexander Brock
f6010c13c6 Add ADDSET functionality for scale parameter 2024-09-08 15:00:49 +02:00
Alexander Brock
69efe6ae5e Make the defish button the label of the defish frame 2024-09-04 22:54:16 +02:00
Alexander Brock
23fd9903df Implement requested changes 2024-09-04 00:59:26 +02:00
Alexander Brock
6fb8a7896b Group defish checkbox and focal length and disable focal length slider if defish is inactive 2024-09-04 00:35:27 +02:00
Alexander Brock
c9d1638ee6 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-08-09 23:33:01 +02:00
Lawrence Lee
23ec7f324e Add new icon for Selective Editing
The icon is a rectangular RT spot.

Switch the hand tool icon back to the normal open hand instead of the
high-contrast version.
2024-08-03 18:05:52 -07:00
Alexander Brock
494a995d57 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-07-28 15:30:51 +02:00
Desmis
cc0e941652 Selective editing - modifies the activation of the Laplacian according to the spots with Dehaze (#7122)
* Disable Laplace when others Spot with dehaze

* Disable Laplace when others Spot with dehaze

* appimage and widows yml with drexpos

* Compatibility 5.10 contrast attenuator

* Change control out of boud when using Contrast attenuator

* Comment code

* Comment code

* Comment code and fixed

* Clip original retinex to avoid crash in some cases

* Change tooltip

* Clip only Lapalacian if expose or soft enabled

* Various improvment to avoid crash

* Tonecurve hsv colortoning chmixer not allow negative RGB

* Fattal and black need clip issue 7151

* Disable Fattal

* Clean code

* Disable appimage and windows yml
2024-07-28 07:13:58 +02:00
Alexander Brock
159ebd45e8 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-07-27 12:41:48 +02:00
Alexander Brock
fc78a64066 Move scale option from perspective correction to lens/geometry 2024-07-20 14:56:21 +02:00
Alexander Brock
6d96bfe5cc Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-07-20 00:15:43 +02:00
Lawrence Lee
bb44729490 Merge branch 'dev' into libraw-copylib 2024-07-18 21:57:57 -07:00
Simone Gotti
2b97de233f Add initial metadata lens correction handling 2024-07-08 10:30:51 +02:00
Simone Gotti
5159de89cb imagedata: report if file is DNG 2024-07-08 10:29:43 +02:00
Lawrence37
6ecaa6f301 Merge pull request #7096 from xiota/pr_config
Enable extensions that are missing from config
2024-07-02 19:17:02 -07:00
Desmis
819b65af7f Keep values scope from 5.10 Selective Editing - for color & light - shadow/highlight - vibrance #7102 (#7107)
* ppversion 351 and keep valus scope for color and light shadow-highligt vibrance

* Change comment in ppversion.h

* Change procparams for colorscope pp<351

* Remove not used isset
2024-06-30 07:47:55 +02:00
xiota
7168870d69 Improve empty string check 2024-06-30 03:30:41 +00:00
Lawrence37
d492e2fadd Merge pull request #7104 from xiota/fix-thumbs
Change order of image/raw loading to generate thumbnails
2024-06-22 19:02:33 -07:00
Lawrence37
4c52d970bb Merge pull request #7065 from Lawrence37/lensfun-lens-crop-factor
Lensfun lens selection using camera crop factor
2024-06-22 18:59:31 -07:00
xiota
6eb191c5e5 Disable addExt/delExt buttons based on context 2024-06-17 02:59:34 +00:00
xiota
cffba6c3b0 Move add-extension panel to top of frame 2024-06-17 02:59:34 +00:00
Desmis
a1c6ce5dd2 Selective editing - adds the feather slider for each Graduated Filter (#7079)
* Feather GF color and vibrance

* Feather exposure

* Graduated filer feather wavelet

* Graduated filter feather log

* Graduated filter Cam16 feather

* Change history msg

* GF shadows highlight feather

* GF mask common feather

* Move feather settings in settings mask

* Change history msg

* Change label feather

* Change 2 labels
2024-06-16 07:35:50 +02:00
Lawrence Lee
abbaddbabd Merge branch 'dev' into libraw-copylib 2024-06-15 22:32:12 -07:00
xiota
02e8d3f33c Change order of image/raw loading to generate thumbnails 2024-06-16 02:32:38 +00:00
xiota
7f7e808b9c Don't allow deleting known extensions 2024-06-10 22:51:33 +00:00
xiota
8503d5323e Fix whitespace/formatting 2024-06-10 22:51:33 +00:00
xiota
29f4f37cdb Enable extensions that are missing from config 2024-06-10 22:51:33 +00:00
Lawrence37
59e8832dfb Merge pull request #6367 from xiota/jxl-import
Add ability to import JXL images
2024-06-08 17:12:13 -07:00
Lawrence Lee
2c1c124d8f Merge branch 'dev' into libraw-copylib 2024-06-02 18:15:43 -07:00
Alexander Brock
397c699271 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2024-06-01 14:22:58 +02:00
U-PCSPECIALIST01\jdesm
4a5194e2d7 Change sizeband to 6 in ToneEqualizerParamsEdited issue 7085 2024-05-28 08:06:37 +02:00
Desmis
5571c3a4c6 Local adjustments tools used globally - Laspotmain (#6928)
* First step LA globally

* fixed several GUI bad behavior

* better behavior shows additional settings

* Improve transition in main

* First step hide-show invers and scope

* Hide show invers and scope step2

* hide show others inverse and scope

* Try to improve

* Change windows.yml and appimage.yml

* In Preference set choice for default Spot Method

* Optimization call idle_register

* forgotten delete mainfp

* Re-enable sliders scope in colorlight - shadows - vibrance - move setting checkbox others settings

* Fixed bad behavior hide - show

* Optimize behavior

* Bad behavior scope when changing method

* Clean and comment code

* disable preview mask and modif for cbdl and retinex

* Fixed preview deltaE mask and modif log encode - exposure - new button preview color and light

* Button preview deltaE - exposure

* Button preview SH

* Button preview Vibrance

* Improce code using mask

* Fixed several bad behavior - preview TM and Contrast

* Preview log button

* Preview Ciecam button

* Preview common mask button

* Disable Preview button in settings when not used in tools

* Change call to controspotpanel in improcoordinator

* Change Local adjustments title to Selective Editing

* Change default value spotmethod in option

* Missing cddl in preview settings

* Change parameter setting spot type

* put selective editing tab just after exposure tab

* Disable preview ΔE button when another is enabled

Only one button should be active at any given time.

* Deactivate preview ΔE buttons when switching spots

* Change tooltip Spot method

* Change selective editing position

* Remove duplicate line in language default

* Remove appimage.yml windows.yml

---------

Co-authored-by: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
2024-05-16 08:21:16 +02:00
Desmis
18d69a6af6 Local adjustments - Colorappearance Cam16 - Source Data Adjustments - levels R G B and Black & White (#7071)
* Change management viewing temperature and tint

* Enable autotemp wbcamchanged and hide history message

* Change wbcamchnaged as proposed by kaesa

* First step levels

* Levels with luminosity mode

* History messages

* Clean and comment code

* Gamutmap xyz levels values

* Change range slope R G B

* Change range slope R G B

* Harmonize case Slope and Levels

* Harmonize case Slope and Levels 2

* Check Scale Yb viewing

* Small change

* Checbox black and white in source data adjustments

* Change tooltip avoid color shift issue 7066

* modify appimage.yml and windows.yml

* Fixed bad primaries space in free

* Fixed bwcie only in advanced mode
2024-05-12 07:33:48 +02:00
Lawrence37
bfc94310bf Merge pull request #6988 from sgotti/add_optional_thumbnail_rank_color_load_save_from_to_xmp_sidecar
Add optional image rank/color load/save from/to xmp sidecar
2024-05-11 21:45:00 -07:00