25 #ifndef _FIREVISION_MODELS_SHAPE_CIRCLE_H_ 26 #define _FIREVISION_MODELS_SHAPE_CIRCLE_H_ 28 #include <fvmodels/shape/shapemodel.h> 29 #include <fvutils/base/roi.h> 30 #include <fvutils/base/types.h> 31 #include <utils/math/types.h> 36 namespace firevision {
39 const unsigned int TBY_CIRCLE_RADIUS_MAX = 600;
40 const unsigned int TBY_CIRCLE_RADIUS_MIN = 2;
51 bool isClose(
unsigned int in_roi_x,
unsigned int in_roi_y);
53 void fitCircle(std::vector<fawkes::upoint_t> &points);
68 #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.