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> 42 const unsigned int TBY_CIRCLE_RADIUS_MAX = 600;
43 const unsigned int TBY_CIRCLE_RADIUS_MIN = 2;
54 bool isClose(
unsigned int in_roi_x,
unsigned int in_roi_y );
56 void fitCircle(std::vector< fawkes::upoint_t >& points);
72 #endif // __FIREVISION_MODELS_SHAPE_CIRCLE_H_
void printToStream(std::ostream &stream)
Print info.
unsigned int margin
Margin around shape.
void setMargin(unsigned int margin)
Set margin around shape.
void fitCircle(std::vector< fawkes::upoint_t > &points)
Fit circle.
int count
Number of pixels.
bool isClose(unsigned int in_roi_x, unsigned int in_roi_y)
Check if the given point is close to the shape.
center_in_roi_t center
Center of object in ROI.
float radius
Radius of object.