DistortRGBMask

In the S_DistortMask Plugin.

Similar to DistortRGB but scales the amount of distortion by the Mask input. Warps the red, green, and blue color channels of the source input by different amounts using the gradient of the Lens input clip.

Inputs:

Source:  The clip to be processed.

Lens:  Distorts the source using the brightness values of this input clip.

Mask:  The amount of lens distortion is scaled by this input, so the Source is unaffected where the Mask is black. The Mask can optionally be blurred or inverted using the Blur Mask or Invert Mask parameters. Only the red channel of this input is used.
        

Parameters:

Amount:   Default: 1,  Range: any,  Shared.
Scales the magnitude of the lens distortion for all channels. Make negative to invert the direction of the distortions.

Blur Lens:   Default: 0.5,  Range: 0 or greater,  Shared.
Smooths out the edges in the lens image by this amount before using it.

Rotate Warp Dir:   Default: 0,  Range: any,  Shared.
Rotates the warping direction by this many degrees. If non-zero, this can add some unusual twisting effects to the lens distortion.

Wrap:   X & Y,  Popup menu,  Default: [REFLECT REFLECT].
Determines the method for accessing outside the borders of the source image.
NO:  gives black beyond the borders.
TILE:  repeats a copy of the image.
REFLECT:  repeats a mirrored copy. Edges are often less visible with this method.

Warp Red:   Default: 0.5,  Range: any.
Scales the amount of lens distortion for the red channel. Negate to invert the direction.

Warp Green:   Default: 0.75,  Range: any.
Scales the amount of lens distortion for the green channel. Negate to invert the direction.

Warp Blue:   Default: 1,  Range: any.
Scales the amount of lens distortion for the blue channel. Negate to invert the direction.

Amount Rel:   X & Y,   Default: [1 1],  Range: any,  Shared.
The relative amounts of horizontal and vertical distortion. This has no effect unless Amount is positive.

Filter:   Check-box,  Default: on,  Shared.
If enabled, the image is adaptively filtered when it is resampled. This gives a better quality result when parts of the image are warped smaller.

Blur Mask:   Default: 0,  Range: 0 or greater,  Shared.
Blurs the Mask input by this amount before using. This can provide a smoother transition between the masked and unmasked areas.

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.

See general info for: Res, On Fields, Redraw, Undo, Load Defaults, Crop, Add Noise, and Use Gamma.


See Also:

DistortMask
DistortBlurMask
DistortChromaMask
DistortFineMask
DistortRGB
EmbossGlass
WarpChroma
Sapphire Plug-ins Introduction


© 2010, GenArts, Inc. All rights reserved.