Sapphire Plug-ins for AVX2: WarpToRect

S_WarpToRect

Warps the source clip by shifting and/or scaling. An on-screen rectangle can be used to visually adjust the transformation.

In the Sapphire Distort category.


Inputs:

Source: The current track. The input clip to be warped.

Background: Optional. The clip to use as background. The output of the effect is composited over this clip.

Mask: Optional. If provided, the amplitude of warping is scaled by the values of this input clip. Gray values internally scale the warping amplitude rather than simply cross-fading between the effect and the original source to allow more continuous results at the mask edges and more detailed control over the warping amounts. This input can be affected using the Blur Mask, Invert Mask, or Mask Use parameters.

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.

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

Blur Mocha: Default: 0, Range: 0 or greater.
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.
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.

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

Resize Mocha: Default: 1, Range: 0 to 2.
Scales the Mocha Mask. 1.0 is the original size.

Resize Rel X: Default: 1, Range: 0 to 2.
The relative horizontal size of the Mocha Mask.

Resize Rel Y: Default: 1, Range: 0 to 2.
The relative vertical size of the Mocha Mask.

Shift Mocha: X & Y,   Default: [0 0], Range: any.
Offsets the position of the Mocha Mask.

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

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

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.

Shift: X & Y,   Default: [0 0], Range: any.
Determines the amount of shift applied. This parameter can be adjusted using the Shift Widget.

Scale: Default: 1, Range: 0 or greater.
Determines the amount of scale applied. This parameter can be adjusted using the Shift Widget.

Scale Rel: X & Y,   Default: [1 1], Range: 0 or greater.
The relative horizontal and vertical scale. This parameter can be adjusted using the Shift Widget.

Constrain Aspect: Check-box,  Default: off.
If enabled the, aspect ratio of the input image is maintained by using the horizontal scaling for both axes.

Flip Left Right: Check-box,  Default: off.
Flips the image from left to right if enabled.

Flip Top Bottom: Check-box,  Default: off.
Flips the image from top to bottom if enabled. If you flip both left to right, and top to bottom, it is the same as rotating by 180 degrees.

Wrap: X & Y,  Popup menu,  Default: [ No No ].
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.

Filter: Check-box,  Default: on.
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.
Blurs the Mask input by this amount before using. This can provide a smoother transition between the masked and unmasked areas. It has no effect unless the Mask input is provided.

Invert Mask: Check-box,  Default: off.
If on, inverts the mask input so the effect is applied to areas where the Mask is black instead of white. This has no effect unless the Mask input is provided.

Mask Use: Popup menu,  Default: Luma .
Determines how the Mask input channels are used to make a monochrome mask.
Luma: the luminance of the RGB channels is used.
Alpha: only the Alpha channel is used, or if there is no valid Alpha channel the Red channel is used.
See general info for: Apply To Title/Key , Resolution , Bypass Effect , and Reset .


See Also:

WarpTransform
WarpVortex
WarpPerspective
WarpWaves
WarpWaves2
WarpPuddle
WarpBubble
WarpBubble2
WarpFishEye
WarpMagnify
WarpPolar
WarpRepeat
WarpChroma
WarpCornerPin
Shake
Sapphire Plug-ins Introduction

PRODUCT UPDATES & SPECIAL OFFERS

Join our email newsletter and keep up to date