25 #ifndef __FIREVISION_MODELS_SHAPE_CIRCLE_H_
26 #define __FIREVISION_MODELS_SHAPE_CIRCLE_H_
31 #include <utils/math/types.h>
32 #include <fvutils/base/types.h>
33 #include <fvutils/base/roi.h>
34 #include <fvmodels/shape/shapemodel.h>
36 namespace firevision {
42 const unsigned int TBY_CIRCLE_RADIUS_MAX = 600;
43 const unsigned int TBY_CIRCLE_RADIUS_MIN = 2;
51 void printToStream(std::ostream &stream);
53 void setMargin(
unsigned int margin );
54 bool isClose(
unsigned int in_roi_x,
unsigned int in_roi_y );
56 void fitCircle(std::vector< fawkes::point_t >& points);
72 #endif // __FIREVISION_MODELS_SHAPE_CIRCLE_H_
unsigned int margin
Margin around shape.
int count
Number of pixels.
center_in_roi_t center
Center of object in ROI.
float radius
Radius of object.