Masking Out Regions of the Image
If you don’t want to track all regions of your image, for example, if there are moving objects or reflections in the image, you can attach a matte to the Mask input to define image regions that should not be tracked. You can also use the source input’s alpha channel as a matte.
1. | If you want to use a separate matte for masking, connect it to the Mask input in the Node Graph. |
2. | In the properties panel, set Ignore Mask to the component you want to use as a mask: |
• None - Track features in the whole sequence.
• Source Alpha - Use the alpha channel of the source clip to define which areas to ignore.
• Source Inverted Alpha - Use the inverted alpha channel of the source clip to define which areas to ignore.
• Mask Luminance - Use the luminance of the mask input to define which areas to ignore.
• Mask Inverted Luminance - Use the inverted luminance of the mask input to define which areas to ignore.
• Mask Alpha - Use the mask input alpha channel to define which areas to ignore.
• Mask Inverted Alpha - Use the inverted mask input alpha channel to define which areas to ignore.
Note: PointCloudGenerator can track multiple ranges, adding the new points to the existing cloud, so feel free to mask and re-track as much as necessary.