Haze removal: Allow blend between normal and luminance mode, #5972
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user