DistortChromaMask

In the S_DistortMask Plugin.

Similar to DistortChroma but scales the amount of distortion by the Mask input. Warps the chrominance of the source input by different amounts using the gradient of the Lens input clip. This can generate optical glass-like effects as if the source clip were being viewed through an arbitrarily shaped or textured prism.

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.
The severity of the lens distortions. 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.
The magnitude of lens distortion for the red end of the spectrum. Make negative to invert the direction of the red distortions.

Warp Blue:   Default: 1,  Range: any.
The magnitude of lens distortion for the blue end of the spectrum. Make negative to invert the direction of the blue distortions.

Steps:   Integer,  Default: 8,  Range: 3 to 100.
The number of color samples along the spectrum to include. More steps give a smoother result, but require more time to process.

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.

Params2:

Color1:   Default rgb: [1 0 0].
The color at the 'red' end of the spectrum.

Color2:   Default rgb: [0 1 0].
The color in the middle of the spectrum.

Color3:   Default rgb: [0 0 1].
The color at the 'blue' end of the spectrum.

White Balance:   Check-box,  Default: off.
When enabled, the three colors are adjusted internally so they sum to white. In this case, the colors of unwarped regions are not affected and the average color of the result remains the same.

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


See Also:

DistortMask
DistortBlurMask
DistortRGBMask
DistortFineMask
DistortChroma
EmbossGlass
WarpChroma
Sapphire Plug-ins Introduction


© 2010, GenArts, Inc. All rights reserved.