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