Sapphire Plug-ins for Autodesk: GrainRemoveMask


In the S_GrainMask Plugin.

Similar to GrainRemove but only applies the affect to areas specified by the Mask input. Smooths the source clip while retaining the edges. To adjust the parameters in this effect, first use the show:EDGES option to inspect which edges will be retained and adjust Edges Threshold, Edges Width, and Edges Scale until the important edges are fairly sharp and bright but not jaggy. Then return to show:RESULT and adjust the smooth parameters to remove the appropriate amount of grain.


Source: The clip to be processed.

Mask: Scales the amplitude of the applied effect. For black areas of Mask, the Source remains unchanged, for gray areas the effect is reduced. Only the red channel of this input is used. The mask can optionally be inverted using Invert Mask parameter.


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.

Smooth: Default: 0.1, Range: 0 or greater.
The amount of smoothing to apply to the non-edge regions.

Smooth Luma: Default: 0.5, Range: 0 or greater.
Scales the smoothing amount for the luminance component.

Smooth Chroma: Default: 1, Range: 0 or greater.
Scales the smoothing amount for the chrominance component.

Show: Popup menu,  Default: Result .
Selects between output options.
Result: outputs the final result.
Edges: outputs an image showing which edges are to be retained.

Edges Width: Default: 0.02, Range: 0 or greater.
The width of the edges to be retained.

Edges Scale: Default: 0.25, Range: 0 or greater.
The brightness of the edges to be retained.

Edges Threshold: Default: 0.3, Range: 0 or greater.
This value is subtracted from the initial edge image. Increasing it can help remove minor edges and speckles that should not be retained.

Invert Mask: Check-box,  Default: off, Shared .
If enabled, inverts the mask input so the effect is applied to areas where the Mask is black instead of white.



Mocha: Default: 0, Range: 0 or greater, Shared .
Brings up the Mocha window for tracking footage and generating masks.

Blur Mocha: Default: 0, Range: 0 or greater, Shared .
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.

Mocha Opacity: Default: 1, Range: 0 to 1, Shared .
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.

Invert Mocha: Check-box,  Default: off, Shared .
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.

Show Mocha Only: Check-box,  Default: off, Shared .
Bypass the effect and show the Mocha Mask itself.

Bypass Mocha: Check-box,  Default: off, Shared .
Ignore the Mocha Mask and apply the effect to the entire source clip.

Combine Masks: Popup menu,  Default: Union .
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
Union: Uses the area covered by both masks together.
Intersect: Uses the area that overlaps between the two masks.
Mocha Only: Ignore the Input Mask and only use the Mocha Mask.
See general info for: Res , On Fields , Redraw , Undo , Load Defaults , Crop , Add Noise , and Use Gamma .

See Also:

Sapphire Plug-ins Introduction


Join our email newsletter and keep up to date