Contents | Home > Getting started > Creating a Garbage Mask
You can use a Garbage Mask to hide or mask out a specific area of an input image. You can use either a Texture or draw a Polygon shape to create a Garbage Mask.
To use a saved texture to apply a Garbage Mask:
-
Select the image that you want to apply the Garbage Mask to.
-
Enable the Garbage Mask Checkbox.
-
From the Mode drop-down, select Texture.
-
Choose the saved Texture that you would like to use as a Garbage Mask.
-
Optionally, select the Invert checkbox to reverse the masked and unmasked areas.
-
Optionally, select Signed Distance Field and use the Quality, Distance, and Threshold parameters to dilate the mask. For more information, see Keyer properties.
-
To add an opacity gradient to the edges of the Garbage Mask, adjust the Blend value. As you increase the value, the transition between protected and unprotected parts of the image becomes smoother.
You can draw a polygon and use it as a Garbage Mask in the 2D Garbage Mask Editor.
To draw a polygon shaped Garbage Mask:
-
Select the image that you want to apply the Garbage Mask to.
-
Enable the Garbage Mask Checkbox.
-
From the Mode drop-down, select Polygon.
-
Select, Edit Polygon. The 2D Garbage Mask Editor opens.
-
In the 2D Garbage Mask editor, click intermittently around the image to define the mask area. You can add points, delete points, and move them around.
-
Select Save to save the polygon as a texture.
-
Optionally, select the Invert checkbox to reverse the masked and unmasked areas.
-
Optionally, select Signed Distance Field and use the Quality, Distance, and Threshold parameters to dilate the mask. For more information, see Keyer properties.
- To add an opacity gradient to the edges of the Garbage Mask, adjust the Blend value. As you increase the value, the transition between protected and unprotected parts of the image becomes smoother.