HueShift

HueShift transforms the input image’s colorspace. It works by transforming the colors to CIE XYZ space and then doing simple scales and rotates on the space. In XYZ space, X and Z control the color and Y is the brightness.

This node has an equivalent in Nuke.

Inputs and Controls

Connection Type

Connection Name

Function

Input

src

The image sequence to hue shift.

mask

An optional image to use as a mask. By default, the effects are applied according to the value in the alpha channel of the mask.

Control (UI)

Knob (Scripting)

Default Value

Function

Type name

TypeName

HueShift

The node type.

Enabled Enabled ticked If unchecked, this node will be omitted from the compiled image processing graph. Any incoming connections will be forwarded to the first output port, if any.
Label Label N/A An optional label to display on the node.
Parameters

Reset parameters to default value using the reset icon:

Switch between a single channel and separate channels:

     
Input greypoint InputGreypoint 0.250 After converting to Cl E XYZ space, the colors are skewed so that this gray color is X = Z = 0.
Output greypoint OutputGreypoint 0.250 After all other operations are completed, the CIE XYZ space is skewed to the output gray point so a fully desaturated image is tinted the specified color.
Overall saturation OverallSaturation 1.000 Multiplies X and Z by the overall saturation value.
Colour axis ColourAxis Red: 1.000 Green: 0.000 Blue: 0.000 Alpha: 1.000 Adjusts the saturation in one direction in the XZ plane by setting this color axis. Adjust the saturation along axis control to affect the saturation.
Saturation along axis SaturationAlongAxis 1.000 Adjusts the color saturation in the direction specified by the color axis control.
Hue rotation HueRotation 1.000

Adjusts the rotation around the Y axis, which is mostly useful for making psychedelic effects.

Brightness Brightness 1.000 Multiplies the image by the specified value.