Nút khoảng cách Khóa

../../../_images/compositing_node-types_CompositorNodeDistanceMatte.png

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

Hình Ảnh

Đầu vào hình ảnh tiêu chuẩn.

Màu Khóa

The color that is to be keyed.

Tính Chất

Sai Số

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

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.

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

Hình Ảnh

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

Lớp Lồng

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