26 #ifndef __ContourDetectorBase_hh__
27 #define __ContourDetectorBase_hh__
29 #include <bias_config.h>
31 #include <Base/Image/Image.hh>
32 #include <Base/Math/Vector2.hh>
46 std::vector<BIAS::Vector2<double> > contourPixel;
68 template <
class StorageType>
77 std::vector<BIAS::BIASContour>& contours)=0;
82 dMaxNumContours_ = maxnum;
88 return dMaxNumContours_;
102 #endif // __ContourDetectorBase_hh__
This class describes a contour using the freemancode.
std::vector< int > freemanCode
The direction from the first to the second pixel is the first value in freemanCode list of difference...
std::vector< BIAS::BIASContour > detectedContours_
int dMaxNumContours_
maximum number of corners to return
The image template class for specific storage types.
int GetMaxNumContours()
return maximum number of contours
purely virtual interface defining class for contour detectors
void SetMaxNumContours(const int maxnum)