Connected component structure Moreā¦
#include <types_c.h> struct CvConnectedComp { // fields double area; CvSeq* contour; CvRect rect; CvScalar value; };
Connected component structure
double area
area of the connected component
CvSeq* contour
optional component boundary (the contour might have child contours corresponding to the holes)
CvRect rect
ROI of the component
CvScalar value
average color of the connected component