Houdini 21.0 Nodes Copernicus nodes

HSV Adjust Copernicus node

Converts between RGB and HSV color spaces, or modifies HSV.

On this page

This node converts between RGB and HSV color spaces and performs a variety of HSV operations.

Note

HSV refers to hue, saturation, and value (brightness).

To convert between spaces, set Operation to Convert RGB to HSV or Convert HSV to RGB. Converting to HSV space lets you use any node to manipulate HSV and then convert it back into RGB space.

You can also use this node to apply global hue, saturation, and value shifts by setting Operation to Hue/Sat/Val Adjust. Normal saturation values lie between 0 (gray) and 1 (full color saturation). Normal color values for brightness lie between 0 (black) and 1 (white).

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.

The default value is 1, which means this node uses only the new value. See Mask for more information.

Operation

The operation that this node performs.

Hue/Sat/Val Adjust

Modify the hue, saturation, and value of the pixels.

Convert RGB to HSV

Convert the RGB space into the HSV space.

Convert HSV to RGB

Convert the HSV space into the RGB space.

Hue Shift

The amount (in degrees) to shift the hue around the HSV cone. This changes all colors to different hues. Gray pixels aren’t affected.

Hue Shift Mode

When a hueshift input is wired in, this is how to shift the source layer’s hue values.

Min/Max

Remap the incoming hueshift to set 0 and 1 to specific degrees.

Width

Remap the incoming hueshift to set the width between 0 and 1 to a specific distance in degrees.

Hue Shift Min

When Hue Shift Mode is Min/Max, this is the degree to remap 0 to on the hue wheel. A value of 0 represents no shift.

For example, when set to -60 the hue is shifted by -60 degrees where the input equals 0. The node interpolates for values between this setting and the Hue Shift Max.

Hue Shift Max

When Hue Shift Mode is Min/Max, this is the degree to remap 1 to on the hue wheel. A value of 0 represents no shift.

For example, when set to 88 the hue is shifted by 88 degrees where the input equals 1. The node interpolates for values between this setting and the Hue Shift Min.

Hue Shift Width

When Hue Shift Mode is Width, this is the distance in degrees to remap the width between 0 and 1 to on the hue wheel. A value of 0 represents no shift.

For example, when set to 40 this remaps 0 to -20 and 1 to 20.

Keep Luminance

Maintains the perceptual luminance of the pixel when hues shift since some hues appear brighter than others.

Saturation Scale

The amount to increase (>1) or decrease (<1) the color saturation of the image.

Saturation Shift

The amount to shift the color saturation of the pixels. Shifting is normally used only to reduce the saturation, otherwise grayscale elements suddenly take on a random color.

Value Scale

The amount to adjust the value (brightness) of the pixel.

Value Shift

The value (brightness) to add to all pixels.

Treat RGBA as Premultiplied

Treats RGBA as premultiplied, which multiplies the red, green, and blue channels by the alpha channel.

Inputs

source

The original layer to which you apply the HSV effect.

hueshift

An optional per-pixel hue amount that’s scaled by the Hue Shift Min, Hue Shift Max, and Hue Shift Width parameters.

saturation

An optional per-pixel saturation amount that’s scaled by the Saturation Scale and Saturation Shift parameters.

value

An optional per-pixel brightness amount that’s scaled by the Value Scale and Value Shift parameters.

mask

An optional per-pixel mask amount that’s scaled by the Mask parameter.

Outputs

hsv_adjust

The layer with the HSV effect applied.

Copernicus nodes