ICircleFinderParams.h
Go to the documentation of this file.
1 #ifndef iipr_ICircleFinderParams_included
2 #define iipr_ICircleFinderParams_included
3 
4 
5 #include "iser/ISerializable.h"
6 
7 #include "iipr/iipr.h"
8 
9 
10 namespace iipr
11 {
12 
13 
18 {
19 public:
20 
25  {
30 
35  };
36 
37 
42  virtual int GetCaliperMode() const = 0;
43 
48  virtual void SetCaliperMode(int caliperMode) = 0;
49 
53  virtual bool IsOutlierEliminationEnabled() const = 0;
54 
58  virtual void SetOutlierEliminationEnabled(bool isOutlierEliminationEnabled = true) = 0;
59 
63  virtual double GetMinOutlierDistance() const = 0;
64 
68  virtual void SetMinOutlierDistance(double minOutlierDistance) = 0;
69 
73  virtual int GetRaysCount() const = 0;
74 
78  virtual void SetRaysCount(int raysCount) = 0;
79 };
80 
81 
82 } // namespace iipr
83 
84 
85 #endif // !iipr_ICircleFinderParams_included
86 
87 
virtual void SetRaysCount(int raysCount)=0
Set the number of projection rays using for the find the circle points.
virtual double GetMinOutlierDistance() const =0
Get the minimal outlier distance.
virtual void SetOutlierEliminationEnabled(bool isOutlierEliminationEnabled=true)=0
Enable the outlier elimination.
virtual void SetCaliperMode(int caliperMode)=0
Set caliper mode.
virtual bool IsOutlierEliminationEnabled() const =0
Return true, if the outlier elimination is activated.
Interface for the circle finder parameter.
The first found caliper is taked for circle calculation.
The best found caliper is taked for circle calculation.
virtual int GetRaysCount() const =0
Get the number of projection rays using for the find the circle points.
virtual void SetMinOutlierDistance(double minOutlierDistance)=0
Set minimal outlier distance.
virtual int GetCaliperMode() const =0
Get caliper mode.

© 2007-2011 Witold Gantzke and Kirill Lepskiy