An Octagon ShapeModel. More...
#include <BeoSub/CannyModel.H>
Public Member Functions | |
OctagonShape (const double thresh, double *dims, const bool debug=false) | |
Constructor. | |
virtual | ~OctagonShape () |
Destructor. | |
Protected Member Functions | |
virtual float | getDist (double p[], const Image< float > &distMap, Image< PixRGB< byte > > &xdisp) const |
Core of the distance computation. |
An Octagon ShapeModel.
Definition at line 150 of file CannyModel.H.
OctagonShape::OctagonShape | ( | const double | thresh, | |
double * | dims, | |||
const bool | debug = false | |||
) |
Constructor.
Definition at line 277 of file CannyModel.C.
OctagonShape::~OctagonShape | ( | ) | [virtual] |
Destructor.
Definition at line 282 of file CannyModel.C.
float OctagonShape::getDist | ( | double | p[], | |
const Image< float > & | distMap, | |||
Image< PixRGB< byte > > & | xdisp | |||
) | const [protected, virtual] |
Core of the distance computation.
Implements ShapeModel.
Definition at line 286 of file CannyModel.C.
References ShapeModel::getDistVal(), and height.