Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvConnectedComponents

cvConnectedComponents


Module: OpenCV

Computes the connected components labeled image of boolean image.

Name Type Description
inSrc Image
inConnectivity RegionConnectivity
outLabeledImage Image

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.

Complexity Level

This filter is available on Basic Complexity Level.