Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Erode

Erode

Updated: 20 Feb 2025

Shrink bright pixels and expand darker pixels.

image

Example .dfx

Method #

This node iteratively expands darker pixels in an image, eroding away at the bright areas and darkening the overall image. Useful for shrinking a mask which doesn’t fit tightly around the subject.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
Active Enables or disables the effect. Disabling the effect means it will no longer compute, so disabling a node when not in use can improve performance.
Iterations (Effect Size) How many times the erode function is run.
Mode Which directions the image is eroded in.
  • Horizontal + Vertical : Both horizontal and vertical are eroded.
  • Horizontal : Only horizontal is eroded.
  • Vertical : Only vertical is eroded.
  • Cross : Both diagonals are eroded.

The properties control the time at which the node is active. See Timeline for editing time segments.

ParameterDetails
Duration Control the duration of the node’s time segment.
  • Composition Duration : Use the length of the composition for the node’s time segment duration.
  • Custom : Set a custom duration for the node’s time segment.
Node Time The custom start and end time for the node.
Duration (Timecode) The length of the node’s time segment (in time).
Duration (Frames) The length of the node’s time segment (in frames).
Time Segment Enabled Set whether the node’s time segment is enabled or not in the Timeline.

Inputs

NameDescriptionTypical Input
ActiveEnables or disables the effect. Disabling the effect means it will no longer compute, so disabling a node when not in use can improve performance.Value