Nút khoảng cách Khóa (Distance Key Node)

Nút Khoảng Cách Khóa.

The Distance Key node determines a pixel's alpha value based on the three-dimensional distance between the image pixel color and the key color in a 3D color space.

This key works well when trying to single out a specific color in a background (not necessarily green).

Đầu Vào (Inputs)

Hình Ảnh (Image)

Đầu vào màu tiêu chuẩn.

Màu Khóa (Key Color)

The color that is to be keyed.

Tính Chất (Properties)

Dung Sai (Tolerance)

A threshold what the node considers a match between the key color and the foreground pixel. The tolerance affects how close a pixel needs to be to the background pixel to be considered an absolute match.

Suy Giảm Dần (Falloff)

When the Falloff value is high, pixels that are close to the Key Color are more transparent than pixels that are not as close to the Key Color (but still considered close enough to be keyed). When the Falloff value is low, it does not matter how close the pixel color (Image) is to the Key Color, it is transparent.

Color Space (Không Gian Màu Sắc)

It is also possible to work with YCbCr color space, but only the Cb and Cr channels are taken into consideration for determining the distance between the foreground and background pixels.

RGB, YCC

Đầu Ra (Outputs)

Hình Ảnh (Image)

The image with an alpha channel adjusted for the keyed selection.

Matte (Lớp Lồng)

Một bản màn chắn alpha trắng-đen của khóa.