Houdini 20.5 Nodes Copernicus nodes

Segment by Value Copernicus node

Segment a Mono layer into bands of similar value.

On this page

This operation sets an output ID layer where input pixels lie in the same band of values. This creates a series of iso-contours. Pixels will have the same ID if they have similar values, even if not connected.

Parameters

Method

How to specify the bands.

Width and Offset

The width of the band is specified, along with an offset from zero.

Number of Segments

The number of segments that should fit inside the provided range.

Width

The maximum difference in value to belong to the same segment.

Offset

An offset of where to start the first segment.

Segments

The number of segments to fit in the provided minimum to maximum values.

Segment Location

Whether to floor (Starts at Value) or round (Centered at Value) to convert the value into a segment integer.

Minimum Value

The minimal input value to use. Values outside this will follow the Value Below rules. This is also used in the Number of Segments method as the start of the interval.

Maximum Value

The maximal input value to use. Values outside this will follow the Value Above rules. This is also used in the Number of Segments method as the end of the interval.

Values Below

How to treat values below the minimal value.

Extend

They are converted and rounded with no clamping.

Invalid (-1)

An explicit -1 is output for the segment id.

Clamp

They are clamped to the minimal value.

Wrap

They are wrapped, so will segment values will repeat cyclicly.

Values Above

How to treat values above the maximal value.

Extend

They are converted and rounded with no clamping.

Invalid (-1)

An explicit -1 is output for the segment id.

Clamp

They are clamped to the minimal value.

Wrap

They are wrapped, so will segment values will repeat cyclicly.

Inputs

source

A Mono layer to segment.

Outputs

id

An ID layer storing the segment numbers generated.

See also

Copernicus nodes