EdgeDetect

A basic edge detection node with options for a blur before the edge detection and an erode after.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image sequence to detect edges in.

Control (UI)

Knob (Scripting)

Default Value

Function

EdgeDetectWrapper Tab

Edge Detector

edgedetector

sobel

Choose an edge detection method:

simple

sobel

prewitt

channels

channels

all

The effect is only applied to these channels.

If you set this to something other than all or none, you can use the checkboxes on the right to select individual channels.

Threshold

threshold

0

 

output

N/A

disabled

Enables the associated mask channel to the right. Disabling this checkbox is the same as setting the channel to none.

output

none

Sets the output channel for the edge detect applied.

mask

N/A

disabled

Enables the associated mask channel to the right. Disabling this checkbox is the same as setting the channel to none.

maskedgedetect

none

The channel to use as a mask. By default, the blur is limited to the non-black areas of this channel.

PreBlur/PostErode

Erode size

erodesize

0

 

Blur size

blursize

0

Lower numbers make the calculations faster but the result might not be as smooth. The image size is scaled down so that the blur filter is no larger than this number, and then scaled up with linear interpolation after filtering.

Blur quality

blurquality

15

Set the blur quality. The lower the number, the faster the calculation.