Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvConnectedComponents
Module: | OpenCV |
---|
Computes the connected components labeled image of boolean image.
Name | Type | Description | |
---|---|---|---|
inSrc | Image | ||
inConnectivity | RegionConnectivity | ||
outLabeledImage | Image |
Requirements
For input inSrc only pixel formats are supported: 1⨯uint8.
Read more about pixel formats in Image documentation.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inSrc must be a single channel image wit UInt8 or Int8 pixel type in cvConnectedComponents. |
DomainError | Not supported inSrc pixel format in AvsFilter_cvConnectedComponents. Supported formats: 1xUInt8. |
Complexity Level
This filter is available on Basic Complexity Level.