ICaliperParams.h
Go to the documentation of this file.
1 #ifndef iipr_ICaliperParams_included
2 #define iipr_ICaliperParams_included
3 
4 
5 #include "iser/ISerializable.h"
6 
7 #include "iipr/iipr.h"
8 
9 
10 namespace iipr
11 {
12 
13 
14 class ICaliperParams: virtual public iser::ISerializable
15 {
16 public:
21  {
34  };
35 
40  {
46  };
47 
51  virtual double GetWeightThreshold() const = 0;
52 
56  virtual void SetWeightThreshold(double threshold) = 0;
57 
62  virtual int GetPolarityMode() const = 0;
63 
68  virtual void SetPolarityMode(int mode) = 0;
69 
74  virtual int GetDirectionMode() const = 0;
75 
80  virtual void SetDirectionMode(int mode) = 0;
81 };
82 
83 
84 } // namespace iipr
85 
86 
87 #endif // !iipr_ICaliperParams_included
88 
89 
Only riseing edges (dark to bright) will be accepted.
virtual int GetDirectionMode() const =0
Get direction mode.
virtual int GetPolarityMode() const =0
Get polarity mode.
PolarityMode
Describe mode of polarity acceptance.
Only droping edges (bright to dark) will be accepted.
virtual double GetWeightThreshold() const =0
Get feature weight threshold will be used to cut weak fetures off.
virtual void SetPolarityMode(int mode)=0
Set polarity mode.
virtual void SetDirectionMode(int mode)=0
Set direction mode.
virtual void SetWeightThreshold(double threshold)=0
Set feature weight threshold will be used to cut weak fetures off.
Any polarity will be accepted.
DirectionMode
Describe mode of search direction.

© 2007-2011 Witold Gantzke and Kirill Lepskiy