Composites the Foreground over the Background using a
Matte while defocusing both layers by different amounts.
Inputs:
Front: The clip to use as foreground.
Back: The clip to use as background.
Matte: Specifies the opacities of the Front clip. Only the
red channel of this input is used.
Parameters:
Defocus Front: Default: 0.1, Range: 0 or greater.
The amount to defocus the Foreground and its Matte. This parameter can be adjusted using the Fg Defocus Widget.
Defocus Back: Default: 0, Range: 0 or greater.
The amount to defocus the Background. This parameter can be adjusted using the Bg Defocus Widget.
Rel Height: Default: 1, Range: 0.01 or greater.
The relative height of the iris shape. If it
is not 1, circles become ellipses, etc.
Use Gamma: Default: 1, Range: 0.1 or greater.
Values above 1 cause highlights in the source clip to
keep their brightness after the defocus is applied.
Matte Gamma: Default: 1, Range: 0.1 or greater.
The gamma value to use for the defocus of the Matte.
Shape: Popup menu, Default: Circle.
Determines the shape of the simulated camera iris.
Circle: round.
3 sides: triangle.
4 sides: square.
5 sides: pentagon.
6 sides: hexagon.
7 sides: etc.
Roundness: Default: 0, Range: any.
Modifies the shape of the simulated camera iris. A
value of 1 produces a circle; 0 gives a flat-sided polygon with a
number of sides given by the Shape parameter. Less than 0 causes
the sides to squeeze inward giving a star shape, while a value greater
than 1 causes the corners to squeeze inward, giving a flowery
shape. Has no effect if the Shape is set to Circle.
Rotate: Default: 0, Range: any.
Rotates the iris shape.
Bokeh: Default: 0, Range: any.
Softens the outer edge of the iris shape, which gives a
softer look to the defocused highlights. A negative value darkens
the center of the iris shape, producing a ring-like defocus shape.
Boost Highlights: Default: 0, Range: 0 or greater.
The amount to increase the luma of the highlights in the source clip.
Increase this parameter to blow out the highlights without affecting the darks or mid-tones.
Hilite Threshold: Default: 0.9, Range: 0 or greater.
The minimum luma value for highlights. Pixels brighter than this will be brightened according to the Boost Highlights parameter.
Comp Premult: Check-box, Default: off.
Enable this for a better composite if the
Foreground pixel values have been pre-multiplied by the Matte pixel
values. This is also known as an 'additive' composite.
Invert Matte: Check-box, Default: off.
If enabled, the black and white of the matte
are inverted before use.
Edge Mode: Popup menu, Default: REFLECT.
Determines the behavior when accessing areas outside the source image.
BLACK: Areas outside the source image are treated as black, which can produce
dark areas around the edges of the image.
Select this for fastest rendering.
REPEAT: Repeats the last pixel outside the border of the image.
REFLECT: Reflects the image outside the border.
Params2:
Lens Noise: Default: 0, Range: 0 or greater.
Increase to add noise to the iris shape, dirtying up the defocus a little. Can make the result more realistic. Turn up past 1 for a more stylistic result.
Noise Freq: Default: 10, Range: 0.01 or greater.
The frequency of the added noise. Ignored if Lens Noise is zero.
Noise Freq Rel X: Default: 1, Range: 0.01 or greater.
The relative horizontal frequency of the
added iris noise. Increase to stretch it vertically or decrease to
stretch it horizontally.
Noise Seed: Default: 0.123, Range: 0 or greater.
The seed value for the added noise. To make the noise
appear different on each frame, animate this to be different on each
frame. The actual value doesn't matter; only that it's different.