Matte

2D Modifier - Remove the green and blue screen

You need 8 IO channels to unlock this feature.

General


The show parameters change the render of the matte. It helps you to have a better look at the different passes of masking. Deactivate this option to see the final output. It can be also usefull to let this modifier in some mode to use it as a layer mask and go further in color correction or else.
Deactivated : On by default, render the final Output.
Show Input : Display the input layer. Can be usefull to pick a color
Show Filtered : Display the input layer wit hthe filtered modifiers group.In the example below, we add a 2D Transform Change pixels position using translate, scale and rotate parameters with Read More inside the filtered group.

Raw Alpha Matte : Display the mask generated by the removed color(s).
Alpha Matte : Display the mask generated by the removed color(s) with the Erode and Smooth edges parameters
Despill amout : Display despilled areas of the input frame.

Erode


The Erode parameter is the first way to enhance your masking. It's build on a Blur Quick-to-create multi purpose blur Read More that can be highly customized in advanced modified.

Smooth Edges


The Smooth Edges parameter is the second step to smooth the edges of the masking.

Despill


The Despill is the final color correction, decreasing the amount of selected colors in the frame. It can be in luminosity, Back Component, Grayscale or none.

Advanced Parameter and prefilter


go in advanced mode to check the advanced Mode of the matte modifier. This display the blurs used for the Erode and smooth edges directly in the elements tree.

The 2D Modifiers Group Group several 2D Modifier Read More named "preFilter" offers you the possibilities to enhance the input frame for the matte operation. In some case, increase the quantity of green or blue thanks a Color Balance Do a color balance discriminating Shadow Midtones Highlight Tones Read More can be very usefull. It can also be very interesting to use a People Mask Clip a person in frame Read More to remove all elements from the stage except for the person to be clipped and optimise the number of colours extracted.

Extract

SimpleMatteExtractor

Uniform color based Background remover can offer good result if the green or blue color are near to the preset of this mode.

Pick Colors



Activate the Show parameters to look at the Input Image and pick colors more precisely.

Ensure you are in Edit Mode on to pick the colors



The picked colors are stacked in the samples parameters. Unfold it to acces and modify colors that need to be removed.

Color Space

Defines the color space on wich the picked colors will be extracted. Depending this color space, the tolerance will affect different colors On the examples below, we only changed the color space. As you can see, the extracted colors areas are not the sames:

In RGB color space


In HSV color space


In LAB color space


In YCBRCR color space


The weight parameter changes its behaviour regarding on the choosen color space. In RGB, the number corresponds to R, G and B. In HSV, it represent Hue Saturation, Luminance.


Difference

Remove the background based on frame difference
It's a quite dirty method that might be used if you doesn't have any blue or green screen. The sublayer added to the matte defines the pixel matrix that will be removed on the input frames if identical. The legacy usage of this modifier consist in freezing a frame of a Video Input Extract the image from a Video Input Device Read More . play with the threshold to enhance the masking.

Extract - Function

a color level Function Function that maps a number (percentage, time, etc.) to a value Read More that defines the global threshold of the mask.

Parameters

  • Show (Matte Texture Display (Optional)) : Display any passes use to render the final output
  • Extract (Matte Extractor) : extraction mode of the background. Can be ElementAny component manipulated in the Element Tree , ElementAny component manipulated in the Element Tree or ElementAny component manipulated in the Element Tree
  • Erode (Matte Blur Options) : Erode the edges thanks a specific blur (Gaussian, Box or Circle)
  • Smooth Edges (Matte Blur Options) : Smooth the edges thanks a specific blur (Gaussian, Box or Circle)
  • Despill (Matte Despill Options) : Amount of despill
  • Advanced Mode (On/off option) : Custom the Erode and Smooth blurs modifier. Use any modifier as pre filter of the matte to enhance it.
  • Pre Filter (2D Modifier) : Only visible if advanceMode is on. A group of modifier
  • Refine Matte (2D Modifier) :

See Also: