Houdini 20.5 Nodes Copernicus nodes

Segment by Connectivity Copernicus node

Segment a layer into connected components.

On this page

This operation breaks the incoming layer into connected components according to a rule.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Connectivity

This rule determines if pixels are connected or not.

Below Threshold

All pixels below the threshold are connected.

Above Threshold

All pixels above the threshold are connected.

At Threshold

Pixels are connected to their neighbours if they are on the same side of the threshold.

At Levels

Pixels are connected if they are in the same “band” of values. Each band is of size Threshold.

Threshold

The threshold for connectivity. For levels, this is the width of a band of connectivity.

Offset

A global offset for the At Levels mode to adjust where the bands split.

Inputs

source

A Mono or ID layer to detect connectivity in.

Outputs

id

An ID layer with a unique integer greater than or equal to zero for each connected region. Regions that do not match the connectivity region get an ID of -1.

alpha

A Mono layer which is 1 if the pixel met the connectivity rule, zero otherwise.

See also

Copernicus nodes