Sapphire Plug-ins for AVX2: MakeRGBA

S_MakeRGBA

Combines an RGB input with a Matte input to make a single RGBA output. This plug-in is only needed in special circumstances, and for conforming from v1. In most cases it is not needed because in v2 you can now apply any effect to a title or key directly.

It is useful if you have imported a matte and fill as separate clips, and you want to combine them to be processed by other Sapphire plug-ins. You can also invert the matte, and use various compositing options.

It assumes the Matte input has CCIR601 levels, so it makes video black completely opaque and video white transparent.

For more information, check the documentation for Alpha Processing and Processing Titles and Keys .

In the Sapphire Composite category.


Inputs:

Matte: Selectable. Makes the alpha channel from this input clip.

Foreground: Selectable. Uses the RGB from this input clip.

Background: Optional. This input is ignored by default. However you can enable it to composite the Foreground input over the Background using the Matte.

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.

Matte Use: Popup menu,  Default: Luma .
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, or if there is no valid Alpha channel the Red channel is used.

Invert Matte: Check-box,  Default: on.
If enabled, the black and white of the Matte clip are inverted before combining with the RGB clip.

Comp Premult: Check-box,  Default: off.
If enabled and the Background input is present and selected, the foreground is composited over the background using a premultiplied (additive) composite. If this parameter is disabled then the composite is non-premultiplied (straight). If no Background input is present, this parameter's value is ignored.

Output Premult: Check-box,  Default: on.
If enabled, the RGB clip is multiplied by the Matte clip before combining and/or compositing.

Alpha Black Level: Integer,  Default: 16, Range: 0 to 255.
The pixel value in the alpha source that will be interpreted as full black. For CCIR601 levels (Avid standard for 8 bit images), 16 is black and values below 16 are superblacks. If your alpha clip has superblacks and superwhites, use 0 and 255 for alpha black and white levels. 16 bit images generally are imported with 0 and 255 as black and white, so use 0 and 255 in that case as well. If you notice some of your foreground or background bleeding through where the alpha should be fully opaque or transparent, adjust these params to clean that up.

Alpha White Level: Integer,  Default: 235, Range: 0 to 255.
The pixel value in the alpha source that will be interpreted as full white. For CCIR601 levels (Avid standard for 8 bit images), 235 is white and values above 235 are superwhites. If your alpha clip has superblacks and superwhites, use 0 and 255 for alpha black and white levels. 16 bit images generally are imported with 0 and 255 as black and white, so use 0 and 255 in that case as well. If you notice some of your foreground or background bleeding through where the alpha should be fully opaque or transparent, adjust these params to clean that up.

Opacity: Default: 1, Range: 0 or greater.
Scales the alpha channel by this amount to adjust the transparency of the Foreground clip.

Scale Lights: Default: 1, Range: 0 or greater.
Scales the brightness of the Foreground by this amount.

Offset Darks: Default: 0, Range: any.
Adds this gray value to the darker regions of the Foreground. This can be negative to increase contrast.
See general info for: Resolution , Clamp Output To Legal , Bypass Effect , and Reset .


See Also:

Layer
MatteOps
Sapphire Plug-ins Introduction

PRODUCT UPDATES & SPECIAL OFFERS

Join our email newsletter and keep up to date