Oink
FilterErode FilterErode

FilterErode

Erode (filter): grows dark areas (size > 0) or light areas (size < 0) by a filter-weighted maximum; box is the fastest, gaussian the softest.

raw .md

Erode (filter): grows dark areas (size > 0) or light areas (size < 0) by a filter-weighted maximum; box is the fastest, gaussian the softest. Works on alpha by default; size starts at 1.

NodeFilterErode
MenuFilter › Erode (filter)
Names in each format
.oink comp (JSON)"type": "OC_N_filtererode"
.nk scriptFilterErode (how .nk import works)
Pythonnuke.createNode("FilterErode")
Assistant (MCP)create_node(type="FilterErode")
Tab searchfiltererode, or its initials fe

FilterErode properties

Inputs and outputs

PortNameType
input 0Imageimage
input 1maskimage
output 0Imageimage

Knobs

Panel tab FilterErode, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
channelschannelsmenualphargba, rgb, alpha, all, noneLayer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch>
sizesizefloat1-20 to 20size
filterfiltermenuBOXBOX (box), TRIANGLE (triangle), QUADRATIC (quadratic), GAUSSIAN (gaussian)filter
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 / values.nk 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

On this page