S_MatteOps

Grows, shrinks, or adds noise to the alpha channel of the Source input. This can be useful for removing blue or green spill from a chroma key.

In the Sapphire Composite effects submenu.


Inputs:

Source:  The input clip containing the matte to process. The matte is assumed to have anti-aliased but hard edges, because very soft edges might not be affected in a useful way.
        

Parameters:

Load Preset:   Push-button.
Brings up the Preset Browser to browse all available presets for this effect.

Save Preset:   Push-button.
Brings up the Preset Save dialog to save a preset for this effect.

Shrink- Grow+:   Default: 0,  Range: any.
Amount to grow the matte edges in approximate pixels, or shrink if negative.

Edge Softness:   Default: 1,  Range: 0.01 or greater.
The resulting softness of the edges.

Post Blur:   Default: 0,  Range: 0 or greater.
If positive, the result is blurred by this amount. This is an alternative method for softening the edges.

Filter:   Popup menu,  Default: Triangle.
The type of blur filter to use for the shrink or grow process.
Box:  uses a rectangular shaped filter.
Triangle:  smoother, uses a pyramid shaped filter.
Gauss:  smoothest, uses a gaussian shaped filter.

Matte Use:   Popup menu,  Default: Alpha.
Determines how the Matte input channels are used to make a monochrome matte.
Luma:  the luminance of the RGB channels is used.
Alpha:  only the Alpha channel is used.

Invert Matte:   Check-box,  Default: off.
If enabled, the black and white of the output matte are inverted.

Soft Borders:   Check-box,  Default: off.
If enabled, transparent borders are added to the input image before processing. This allows the result to include soft edges beyond the original image size. When off, the effect only occurs within the frame and the result will retain an edge at the borders. This parameter does not appear in FCP or DF because those applications don't support image expansion.

Output:   Popup menu,  Default: RGBA.
Selects the format of the output.
Matte:  the processed Matte is output as white.
RGBA:  the Alpha output channel receives the processed Matte, and the RGB channels are passed through from the input unchanged.
RGBA Premult:  the Alpha output channel receives the processed Matte, and the RGB channels receive the input multiplied by the new Matte. This option can be appropriate if you are shrinking a matte and need an RGBA result for pre-multiplied compositing.
Matte Premult:  the processed Matte is output on all channels.

Noise Amplitude:   Default: 0,  Range: 0 or greater.
The amount of noise texture to add to the edges.

Noise Width:   Default: 0.0224,  Range: 0 or greater.
The width of the area at the matte edges where the noise is included. This has no effect unless Noise Amplitude is positive

Frequency:   Default: 100,  Range: 0.1 or greater.
The frequency of the noise. Increase for finer grain noise, decrease for coarser noise. This has no effect unless Noise Amplitude is positive.

Frequency Rel X:   Default: 1,  Range: 0.01 or greater.
The relative horizontal frequency of the noise. Increase to stretch the noise vertically, decrease to stretch it horizontally. This has no effect unless Noise Amplitude is positive.

Octaves:   Integer,  Default: 1,  Range: 1 to 10.
The number of summed layers of noise. Each octave is twice the frequency and half the magnitude of the previous. This has no effect unless Noise Amplitude is positive.

Seed:   Default: 0.23,  Range: 0 or greater.
Used to initialize the random number generator. The actual seed value is not significant, but different seeds give different results and the same value should give a repeatable result.

Noise Shift:   X & Y,   Default: [0 0],  Range: any.
The horizontal and vertical translation of the noise texture.

Jitter Frames:   Integer,  Default: 1,  Range: 0 or greater.
If this is 0, the noise texture will remain the same for every frame processed. If it is 1, a new noise texture is used for each frame. If it is 2, a new noise texture is used for every other frame, and so on.


See Also:

MatteOpsComp
Distort
WarpBubble
Diffuse
Sapphire Plug-ins Introduction


© 2017, GenArts, Inc. All rights reserved.