Houdini 20.5 Nodes Copernicus nodes

Segment by Value Copernicus node

Segment a mono layer into bands of similar value.

On this page

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

Parameters

Method

The method used to specify the bands of similar value.

Width and Offset

Specify the width of the band and an offset from zero.

Number of Segments

Specify the number of segments that fit inside the provided range.

Width

When Method is Width and Offset, this is the maximum difference in value to belong to the same segment.

Offset

When Method is Width and Offset, this is the offset of where to start the first segment.

Segments

When Method is Number of Segments, this is the number of segments to fit in the provided minimum to maximum values.

Segment Location

The method used to convert the value into a segment integer.

Starts at Value

Floor to convert the value into a segment integer.

Centered at Value

Round to convert the value into a segment integer.

Minimum Value

The minimal input value to use. Values outside of this follow the Values Below rules. When Method is Number of Segments, this is the start of the interval.

Maximum Value

The maximal input value to use. Values outside of this follow the Values Above rules. When Method is Number of Segments, this is the end of the interval.

Values Below

The method used to treat values below the Minimum Value.

Extend

Convert and round values with no clamping.

Invalid (-1)

An explicit -1 is output for the segment ID.

Clamp

Clamp values to the minimal value.

Wrap

Wrap values, which means segment values repeat cyclicly.

Values Above

The method used to treat values above the Maximum Value.

Extend

Convert and round values with no clamping.

Invalid (-1)

An explicit -1 is output for the segment ID.

Clamp

Clamp values to the minimal value.

Wrap

Wrap values, which means segment values repeat cyclicly.

Inputs

source

The layer to segment.

Outputs

id

The ID layer that stores the generated segment numbers.

See also

Copernicus nodes