New Threshold slider for Hot/Dead Pixel Filters to suppress false positives which lead to artifacts, issue 2738
This commit is contained in:
@@ -22,17 +22,19 @@
|
||||
#include <gtkmm.h>
|
||||
//#include "adjuster.h"
|
||||
#include "toolpanel.h"
|
||||
#include "adjuster.h"
|
||||
#include "guiutils.h"
|
||||
#include "../rtengine/rawimage.h"
|
||||
|
||||
class PreProcess : public ToolParamBlock, /*public AdjusterListener,*/ public FoldableToolPanel {
|
||||
class PreProcess : public ToolParamBlock, public AdjusterListener, public FoldableToolPanel {
|
||||
|
||||
protected:
|
||||
Gtk::CheckButton* hotPixel;
|
||||
Gtk::CheckButton* hotPixel;
|
||||
Gtk::CheckButton* deadPixel;
|
||||
bool lastHot,lastDead;
|
||||
sigc::connection hpixelconn;
|
||||
sigc::connection hpixelconn;
|
||||
sigc::connection dpixelconn;
|
||||
|
||||
Adjuster* hdThreshold;
|
||||
public:
|
||||
|
||||
PreProcess ();
|
||||
@@ -42,8 +44,10 @@ class PreProcess : public ToolParamBlock, /*public AdjusterListener,*/ public Fo
|
||||
//void setBatchMode (bool batchMode);
|
||||
//void setDefaults (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited=NULL);
|
||||
|
||||
void hotPixelChanged();
|
||||
void hotPixelChanged();
|
||||
void deadPixelChanged();
|
||||
void adjusterChanged (Adjuster* a, double newval);
|
||||
|
||||
|
||||
//void adjusterChanged (Adjuster* a, double newval);
|
||||
//void setAdjusterBehavior (bool linedenoiseadd, bool greenequiladd);
|
||||
|
Reference in New Issue
Block a user