Houdini 22.0 Nodes Copernicus nodes

Quantize Copernicus node

Quantizes input data into discrete steps.

This operation quantizes input data into discrete steps, reducing the levels of color in the image. Large steps produce a posterizing effect.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Mask

The amount of the new value to mix in with the original value. Higher values mix in more of the new value. Lower values mix in less of the new value. A value of 1 means this node uses only the new value.

The default value is 1. See Mask for more information.

Method

The method of specifying the step size.

Width and Offset

Allow specifying the size directly.

Number of Segments

Specify the number of total segments.

Segments

The number of segments to quantize the data into. For example, 3 would result in 3 levels: 0, 0.5, and 1.

Width

The intensity spacing between quantized levels. This is expressed in fractions of the black and white range (0 to 1), so 0.1 produces 11 levels between black and white (0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 0.9 and 1).

Offset

Shifts the level where quantizing occurs. For an offset of 0.05 with a step of 0.1, the levels would be 0.05, 0.15, 0.25, … 0.95.

Rounding

Controls how values are rounded when picking the quantization bucket.

Floor

Assigned value of a pixels is equal to the largest quantized value that is no greater than it.

Closest

Assigned value of a pixel is equal to the nearest quantized value to it.

Ceiling

Assigned value of a pixel is equal to the smallest quantized value that is no smaller than it.

Custom

Rounding Threshold controls the rounding cutoff between the two nearest quantized values.

Rounding Threshold

When Rounding is set to Custom, this parameter controls the selection cutoff between the two nearest quantized values. The larger of the two nearest values is selected when the relative distance to it is is smaller than Rounding Threshold. Values of 0, 0.5, and 1 act like Floor, Closest, and Ceiling Rounding modes, respectively.

Compute Range

Click to fill in Minimum Value and Maximum Value with the minimum and maximum values of the input source layer.

Minimum Value

When Method is set to Number of Segments, the range between this and Maximum Value is divided into the specified Segments count.

Maximum Value

When Method is set to Number of Segments, the range between Minimum Value and this is divided into the specified Segments count.

Clamp Below

When enabled, input values are clamped from below by Minimum Value before quantization.

Clamp Above

When enabled, input values are clamped from above by Maximum Value before quantization.

See also

Copernicus nodes