颤动

抖动会向图像中添加随机噪声以隐藏颜色量化效果。颜色量化是减少图像中使用的颜色数量,例如,如果图像已存储到8位文件中而没有错误扩散,则可能发生颜色量化。在抖动图像中,不可用的颜色是通过可用调色板中彩色像素的扩散来近似得出的。人眼将扩散视为其中各种颜色的混合。这会产生大量颜色的印象,并消除了条纹现象。

也可以看看噪声粮食扫描谷物F_ReGrain

输入和控制

连接类型

连接名称

功能

输入值

未命名

具有不需要的色彩量化效果的图像序列。

面具

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

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

Control (UI)

Knob (Scripting)

Default Value

功能

Dither Tab

channels

channels

all

抖动效果仅应用于这些通道。

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

amount

amount

0.1

从每个像素中最多添加或减去此数量的0.5以创建效果。较高的值会产生更多的抖动,反之亦然。

monodither

monodither

disabled

启用后,所有通道均使用相同的抖动模式。

seed

seed

1

通常为每个Dither节点生成相同的模式。改变seed数字会产生不同的模式,例如,如果您使用多个Dither节点。

static seed

static_seed

disabled

启用后,每帧的抖动模式保持不变,从而产生恒定的抖动效果。

mask

N/A

disabled

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

maskChannelInput

none

The channel to use as a mask. By default, the dither effect 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 dither 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 Dither node.

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

invert

invert_unpremult

disabled

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

mix

mix

1

在0的原始图像和1的完整抖动效果之间溶解。