24 DllExport
size_t getNumLines(
const Mat &img,
int threshold1 = 100,
int threshold2 = 50);
33 DllExport
size_t getNumCircles(
const Mat &img,
int threshold1 = 100,
int threshold2 = 30);
54 DllExport
int getArea(
const Mat &img);
float getCompactness(const Mat &img)
Returns the compactness of the object in the source image.
float getOpacity(const Mat &img)
Returns the weighted-mean transparancy of the source image.
int getArea(const Mat &img)
Returns the number of non-zero pixels in the source image.
int getPerimeter(const Mat &img)
Returns the perimeter of an object in the source image.
float getVariance(const Mat &img)
Retunrs the variance of the source image.
size_t getNumCircles(const Mat &img, int threshold1, int threshold2)
Returns the number of circles in the source image.
size_t getNumLines(const Mat &img, int threshold1, int threshold2)
Returns the number of staight lines in the image.