Nodo Recortar por distancia#

El nodo Recortar por distancia.

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).

Entradas#

Imagen

Entrada de color estándar.

Color a recortar

The color that is to be keyed.

Propiedades#

Tolerancia

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.

Decaimiento

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.

Espacio de color

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

Salidas#

Imagen

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

Mate

Una máscara alfa en blanco y negro que representa al recorte.