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