struct CvConnectedComp

Overview

Connected component structure Moreā€¦

#include <types_c.h>

struct CvConnectedComp
{
    // fields

    double area;
    CvSeq* contour;
    CvRect rect;
    CvScalar value;
};

Detailed Documentation

Connected component structure

Fields

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