enum cv::ConnectedComponentsTypes
Overview
connected components algorithm output formats Moreā¦
#include <imgproc.hpp> enum ConnectedComponentsTypes { CC_STAT_LEFT = 0, CC_STAT_TOP = 1, CC_STAT_WIDTH = 2, CC_STAT_HEIGHT = 3, CC_STAT_AREA = 4, CC_STAT_MAX = 5, };
Detailed Documentation
connected components algorithm output formats
Enum Values
CC_STAT_LEFT
The leftmost (x) coordinate which is the inclusive start of the bounding box in the horizontal direction.
CC_STAT_TOP
The topmost (y) coordinate which is the inclusive start of the bounding box in the vertical direction.
CC_STAT_WIDTH
The horizontal size of the bounding box.
CC_STAT_HEIGHT
The vertical size of the bounding box.
CC_STAT_AREA
The total area (in pixels) of the connected component.