Haze removal: Allow blend between normal and luminance mode, #5972

This commit is contained in:
Ingo Weyrich
2020-10-29 12:20:45 +01:00
parent aae90a0ad3
commit 31a9cf3fe0
9 changed files with 44 additions and 58 deletions

View File

@@ -28,14 +28,15 @@ class Dehaze final : public ToolParamBlock, public AdjusterListener, public Fold
private:
Adjuster *strength;
Adjuster *depth;
Adjuster *saturation;
Gtk::CheckButton *showDepthMap;
Gtk::CheckButton *luminance;
// Gtk::CheckButton *luminance;
rtengine::ProcEvent EvDehazeEnabled;
rtengine::ProcEvent EvDehazeStrength;
rtengine::ProcEvent EvDehazeDepth;
rtengine::ProcEvent EvDehazeShowDepthMap;
rtengine::ProcEvent EvDehazeLuminance;
rtengine::ProcEvent EvDehazeSaturation;
public:
@@ -49,7 +50,7 @@ public:
void adjusterChanged(Adjuster *a, double newval) override;
void enabledChanged() override;
void showDepthMapChanged();
void luminanceChanged();
// void luminanceChanged();
void setAdjusterBehavior(bool strengthAdd);
};