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
This commit is contained in:
Desmis
2023-01-24 14:29:50 +01:00
committed by GitHub
parent 21afbaf90b
commit 7afdfc1e2b
10 changed files with 415 additions and 51 deletions

View File

@@ -81,6 +81,8 @@ protected:
bool lastfbw;
sigc::connection fbwconn;
bool isBatchMode;
bool lastgamut;
sigc::connection gamutconn;
private:
rtengine::ProcEvent EvICMprimariMethod;
@@ -107,6 +109,7 @@ private:
rtengine::ProcEvent EvICMpreser;
rtengine::ProcEvent EvICMLabGridciexy;
rtengine::ProcEvent EvICMfbw;
rtengine::ProcEvent EvICMgamut;
LabGrid *labgridcie;
IdleRegister idle_register;
@@ -121,6 +124,7 @@ private:
Gtk::Box* iVBox;
Gtk::Box* wTRCBox;
Gtk::CheckButton* fbw;
Gtk::CheckButton* gamut;
Gtk::CheckButton* obpc;
Gtk::RadioButton* inone;
@@ -196,6 +200,7 @@ public:
void aiChanged(int n);
void oBPCChanged();
void fbwChanged();
void gamutChanged();
void ipChanged();
void ipSelectionChanged();
void dcpIlluminantChanged();