39 #ifndef VP_IMAGE_CIRCLE_H
40 #define VP_IMAGE_CIRCLE_H
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpColor.h>
44 #include <visp3/core/vpImage.h>
45 #include <visp3/core/vpImagePoint.h>
46 #include <visp3/core/vpRect.h>
48 #if defined(VISP_HAVE_OPENCV)
49 #include <opencv2/core/core.hpp>
69 #ifdef HAVE_OPENCV_CORE
85 float computeAngularCoverageInRoI(
const vpRect &roi,
const float &roundingTolerance = 0.001f)
const;
94 float computeArcLengthInRoI(
const vpRect &roi,
const float &roundingTolerance = 0.001f)
const;
103 unsigned int computePixelsInMask(
const vpImage<bool> &mask)
const;
115 float getRadius()
const;
127 float get_n20()
const;
133 float get_n02()
const;
139 float get_n11()
const;
Class that defines a 2D circle in an image.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Defines a rectangle in the plane.