DeFocus

The DeFocus node defocuses the image using a disc filter. This allows you to simulate the defocusing effect of a circular lens and create lens blur effects.

Note:  This is not yet suitable for Real-Time usage with high resolution images

This node has an equivalent in Nuke.

Inputs and Controls

Connection Type

Connection Name

Function

Input

src

The image sequence to which the DeFocus is added.

mask

An optional image to use as a mask. By default, the effects are applied according to the value in the alpha channel of the mask.

Control (UI)

Knob (Scripting)

Default Value

Function

Type name

TypeName

Defocus

The node type.

Enabled Enabled ticked If unchecked, this node will be omitted from the compiled image processing graph. Any incoming connections will be forwarded to the first output port, if any.
Label Label N/A An optional label to display on the node.
Parameters

Reset parameters to default value using the reset icon:

Defocus Defocus 1.000 The size of the defocus disc used.
Aspect ratio AspsectRatio 1.000

The horizontal aspect ratio of the defocus disc.

Scaling Scaling 1.000, 1.000 The amount to descale the defocus by.
Quality Quality 20 The interpolation used to smooth out the discs. Higher values produce better results, but take longer to render.