| OpenCV 3.4.1 Open Source Computer Vision

Public Attributes | List of all members
CvConnectedComp Struct Reference
Image processing » C API

`#include "types_c.h"`

## Public Attributes
double | area
CvSeq * | contour
CvRect | rect
CvScalar | value

## Detailed Description

Connected component structure

## Member Data Documentation

## § area

double CvConnectedComp::area

area of the connected component

## § contour

CvSeq* CvConnectedComp::contour

optional component boundary (the contour might have child contours corresponding to the holes)

## § rect

CvRect CvConnectedComp::rect

ROI of the component

## § value

CvScalar CvConnectedComp::value

average color of the connected component

The documentation for this struct was generated from the following file:

- imgproc/include/opencv2/imgproc/types_c.h