You are here: Reference Guide > Filter Nodes > LevelSet

LevelSet

Within a single channel determined by the channel control, LevelSet outputs the distance from a pixel in the Viewer to the nearest pixel in the input channel with the value set in the threshold control.

LevelSet can be used to make high-quality dilate or unpremultiply operations. When gradient out is set to rgba, LevelSet outputs the motion vectors of pixels in the Viewer using the red (x axis) and green (y axis) values.