Back to FabImage 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
Input value inSrc Image
Input value inConnectivity RegionConnectivity
Output value 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 FisFilter_cvConnectedComponents. Supported formats: 1xUInt8.

Complexity Level

This filter is available on Basic Complexity Level.