New Threshold slider for Hot/Dead Pixel Filters to suppress false positives which lead to artifacts, issue 2738

This commit is contained in:
DrSlony
2015-04-17 22:51:12 +02:00
parent 16d0841f1e
commit 8aeae061c4
26 changed files with 47 additions and 48 deletions

View File

@@ -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);