Oink
Nodes

Erode

Erode (blur): moves the edges of a black and white matte by size pixels (positive shrinks it; the default is -1, which grows it) through a blur, with a soft one-pixel edge; blur softens the result and

raw .md

Erode (blur): moves the edges of a black and white matte by size pixels (positive shrinks it; the default is -1, which grows it) through a blur, with a soft one-pixel edge; blur softens the result and quality sets the blur quality. Grey solid areas change, as in Nuke.

NodeErode
Type idOC_N_erode
MenuFilter › Erode (blur)
Nuke classErode
Codeopencomp_core/nodes/filter/erode.py

Erode properties

Inputs and outputs

PortNameType
input 0Imageimage
input 1maskimage
output 0Imageimage

Knobs

Panel tab Erode, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
channelschannelsmenualphargba, rgb, alpha, all, noneLayer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch>
sizesizefloat-1-20 to 20size
blurblurfloat00 to 100blur
qualityqualityfloat151 to 100 (integer)quality
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 Erode. The standard Nuke mask knobs (channels, mask, invert, (un)premult, mix) are mapped too.

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