色相转换

HueShift转换输入图像的色彩空间。它的工作原理是将颜色转换为CIE XYZ空间,然后进行简单的缩放并在该空间上旋转。在XYZ空间中,X和Z控制颜色,Y是亮度。

输入和控制

连接类型

连接名称

功能

输入值

未命名

图像序列要进行色相偏移。

面具

用作遮罩的可选图像。默认情况下,移位仅限于蒙版的非黑色区域。

首先,遮罩输入在节点的右侧显示为三角形,但是当您拖动它时,它将变成标记为遮罩的箭头。如果看不到遮罩输入,请确保mask控件被禁用或设置为none

Control (UI)

Knob (Scripting)

Default Value

功能

HueCorrect Tab

channels

channels

rgb

移位仅应用于这些通道。

如果您将此设置为除all要么none,您可以使用右侧的复选框选择单个频道。

input graypoint

ingray

0.25

转换为CIE XYZ空间后,颜色会偏斜,因此该灰色为X = Z = 0。

output graypoint

outgray

0.25

在完成所有其他操作之后,CIE XYZ空间将偏斜到输出灰度点,因此将完全饱和的图像着色为指定的颜色。

overall saturation

saturation

1

将X和Z乘以指定的总饱和度值。

color axis rgb

color

1, 0, 0

通过设置此色轴,可以在XZ平面的一个方向上调整饱和度。调整saturation along axis 控制以影响饱和度。

saturation along axis

color_saturation

1

沿由color axis控制。

hue rotation

hue_rotation

0

调整绕Y轴的旋转,这对于制作迷幻效果非常有用。

brightness

brightness

1

将图像乘以指定值。

mask

N/A

disabled

在右侧启用关联的遮罩通道。禁用此复选框与将频道设置为none

maskChannelInput

none

The channel to use as a mask. By default, the correction is limited to the non-black areas of this channel.

inject

inject

disabled

复制mask输入到预定义mask.a渠道。注入面罩可让您在下游使用同一面罩。

invert

invert_mask

disabled

反转遮罩通道的使用,以便将校正限制在遮罩的非白色区域。

fringe

fringe

disabled

启用后,仅将效果应用于蒙版的边缘。

禁用时,该效果将应用到整个蒙版。

(un)premult by

N/A

disabled

在右侧启用关联的通道。禁用此复选框与将频道设置为none

unpremult

none

The image is divided by this channel before being processed, and multiplied again afterwards.

If you are using premultiplied input images, you may want to check (un)premult by and select rgba.alpha here. This will simulate applying the correction before the premultiplication was done. It is the same as adding an Unpremult node before this node and a Premult node after, but allows you to work faster if you’re only using one HueShift node.

If you are using unpremultiplied input images, you should leave this set to none.

invert

invert_unpremult

disabled

反转(非)预乘通道的使用。

mix

mix

1

在0的原始图像和1的全移之间溶解。