Oink
Nodes

Keyer

Keyer: Nuke's basic keyer.

raw .md

Keyer: Nuke's basic keyer. Pick an operation (luminance, red / green / blue, saturation, min / max of a channel, greenscreen, bluescreen) and shape the key with the range trapezoid A B C D; the key goes to the output channel (alpha by default). The channels knob names it.

NodeKeyer
Type idOC_N_keyer
MenuKeyer › Keyer
Nuke classKeyer
Codeopencomp_core/nodes/keyer/keyer.py

Keyer properties

Usage

  • Values below A are 0, rise from A to B, stay 1 up to C and fall to 0 at D. C = D keeps everything above C at 1.
  • greenscreen / bluescreen give 1 on the foreground and 0 on a clean screen; for real screens use ScreenKey or IBK.

Inputs and outputs

PortNameType
input 0Imageimage
input 1maskimage
output 0Imageimage

Knobs

Panel tab Keyer, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
operationoperationmenuluminanceluminance (luminance key), red (red keyer), green (green keyer), blue (blue keyer), saturation (saturation key), min_red (min red), min_green (min green), min_blue (min blue), max_red (max red), max_green (max green), max_blue (max blue)...operationhow the key value is measured from the rgba colour.
rangerange (A B C D)vector ×40, 1, 1, 1-1 to 2rangeA B C D of the trapezoid.
channelsoutputtextalphaoutputLayer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch>
mask_channelmaskmenunonenone, rgba.alpha, rgba.red, rgba.green, rgba.blueMask channel, e.g. rgba.alpha (none = no mask)
injectinjectboolfalseCopy the mask into mask.a for nodes downstream
invert_maskinvertboolfalseinvert_mask
fringefringeboolfalseOnly apply the effect at the edges of the mask
mixmixfloat10 to 1mix

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / valuesNuke knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring
unpremult(Un)premult byenumnonenone, rgba.alpha
invert_unpremultinvertbooleanfalse(Un)premultiply by 1 - alpha

Nuke equivalent

Imports from and exports to Nuke's Keyer.

Knobs with a different name here:

Nuke knobKnob here
outputchannels

Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.

On this page