Houdini 20.5 Nodes Copernicus nodes

Mono Copernicus node

Converts a layer to mono.

On this page

This node converts a layer into a mono layer, which is often done with a form of luminance computation. You can also use this node to extract a channel or grab the maximum channel, minimum channel, or the length of the channels treated as a vector.

If you want to extract a channel, you can use the Channel Extract COP instead of this node.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Operation

The method used to combine the source channels into the final value. The standard channel extension rules apply unless specified otherwise.

Note

Some luminance methods assume a source color space. No implicit conversion is done from your scene_linear to this space.

SGI Luminance

This is a historical luminance computation used in Houdini, which is believed to originate with SGI.

lum = 0.3086 * red + 0.6094 * green + 0.0820 * blue

NTSC Luminance

The standard NTSC luminance computation, which is a common luminance option.

lum = 0.299 * red + 0.587 * green + 0.114 * blue

HDTV Luminance

The HDTV standard luminance from BT 709.

lum = 0.2126 * red + 0.7152 * green + 0.0722 * blue

Average

An average of the channels.

Maximum Channel

The maximum of the channels.

Minimum Channel

The minimum of the channels.

Magnitude / Length

The length of the vector formed by taking the channels as components. For a mono input, this is the absolute value.

Hue

Convert to HSV and return the hue channel.

Saturation

Convert to HSV and return the saturation channel.

Value

Convert to HSV and return the value channel.

Red

Extract the red, or x, channel.

Green

Extract the green, or y, channel.

Blue

Extract the blue, or z, channel.

Alpha

Extract the alpha, or w, channel.

Custom

Perform custom weighting of the channels. Use the Dot Product COP if you want this weighting to vary per pixel.

Weights

When Operation is Custom, this is the weight by which to multiply each channel before adding them up to get the luminance.

Normalize Weights

When Operation is Custom, this scales the provided weights by their total to make sure the total equals one.

Inputs

source

The original layer to convert into a mono layer.

Outputs

mono

The resulting mono layer created by combining the source values into a single channel.

See also

Copernicus nodes