Gamma before-after Retinex to restore tones

This commit is contained in:
Desmis
2015-09-16 18:47:11 +02:00
parent 5f97c4f15b
commit e9a8a6f32b
12 changed files with 219 additions and 4 deletions

View File

@@ -32,8 +32,12 @@ protected:
Gtk::Label* labmdh;
Gtk::HBox* dhbox;
Gtk::Label* labgam;
Gtk::HBox* gambox;
MyComboBoxText* retinexMethod;
MyComboBoxText* retinexcolorspace;
MyComboBoxText* gammaretinex;
Gtk::CheckButton* medianmap;
double nextmin;
double nextmax;
@@ -52,6 +56,7 @@ protected:
CurveEditorGroup* transmissionCurveEditorG;
sigc::connection retinexMethodConn;
sigc::connection retinexColorSpaceConn;
sigc::connection gammaretinexConn;
FlatCurveEditor* transmissionShape;
bool lastmedianmap;
sigc::connection medianmapConn;
@@ -77,6 +82,7 @@ public:
void curveChanged (CurveEditor* ce);
void retinexMethodChanged();
void retinexColorSpaceChanged();
void gammaretinexChanged();
void ColorSpaceUpdateUI();
void writeOptions (std::vector<int> &tpOpen);
void updateToolState (std::vector<int> &tpOpen);