Basic Image AlgorithmS Library
2.8.0
|
This class describes a contour using the freemancode. More...
#include <FeatureDetector/ContourDetectorBase.hh>
Public Member Functions | |
BIASContour () | |
~BIASContour () | |
Public Attributes | |
std::vector< BIAS::Vector2 < double > > | contourPixel |
All pixels contained in the contour. More... | |
std::vector< int > | freemanCode |
The direction from the first to the second pixel is the first value in freemanCode list of difference vectors coded in FreeManCode, that means: 0 = step right – 1 = step right & step down – 2 = step down – 3 = step left & step down – ... More... | |
unsigned | length |
This class describes a contour using the freemancode.
Definition at line 40 of file ContourDetectorBase.hh.
|
inline |
Definition at line 43 of file ContourDetectorBase.hh.
|
inline |
Definition at line 44 of file ContourDetectorBase.hh.
std::vector<BIAS::Vector2<double> > BIAS::BIASContour::contourPixel |
All pixels contained in the contour.
Definition at line 44 of file ContourDetectorBase.hh.
Referenced by BIAS::ContourDetectorSimple< StorageType >::CreateContourBase_(), and BIAS::ContourDetectorSimple< StorageType >::InitDistanceImage_().
std::vector<int> BIAS::BIASContour::freemanCode |
The direction from the first to the second pixel is the first value in freemanCode list of difference vectors coded in FreeManCode, that means:
0 = step right –
1 = step right & step down –
2 = step down –
3 = step left & step down –
...
–
6 = step up –
7 = step right & step up
Definition at line 57 of file ContourDetectorBase.hh.
unsigned BIAS::BIASContour::length |
Definition at line 58 of file ContourDetectorBase.hh.
Referenced by BIAS::ContourDetectorSimple< StorageType >::CreateContourBase_(), and BIAS::ContourDetectorSimple< StorageType >::CreateDistanceImageByContour().