Skip to content

Connected Components

The Connected Components command scans the binary mask produced by Threshold and assigns a unique integer label to each connected group of foreground pixels. Each labelled region is one candidate object.

When to use

Connected Components is a required intermediate step between Threshold and Extract ROIs. It separates the monolithic foreground mask into individually labelled regions that can be further split by Watershed or immediately passed to Extract ROIs.

Parameters

This command has no configurable parameters. It operates on the binary mask from the previous step and outputs a labelled image.

Pipeline position

Threshold → Connected Components → [optional Watershed] → Extract ROIs