Matte Refiner
Matte Refiner refines existing alpha mattes and restores foreground colors using an AI-based model.
The model uses the input image and its alpha channel to recover fine details, improve edges, and reduce unwanted background color contamination.
Matte Refiner can be used with mattes generated by keying, rotoscoping, segmentation, or manual masking. An existing alpha matte is required.
Parameters
Despill Amount
Controls how much of the AI-refined foreground color is used in the output.
At 0%, the original foreground colors are preserved. At 100%, the fully refined foreground colors are used. Intermediate values blend between the two.
This parameter does not affect the refined alpha channel.
Output
Choose which part of the matte refinement process to display.
Input Alpha
Displays the original alpha channel as an opaque grayscale image.
Refined Alpha
Displays the AI-refined alpha channel as an opaque grayscale image. This is useful for inspecting recovered details and comparing the result with the input matte.
Result
Outputs the refined alpha channel together with the foreground colors, adjusted by the Despill Amount parameter.
This mode is used for compositing the refined foreground over a new background.
Input Foreground
Displays the original RGB image without applying the alpha channel.
Refined Foreground
Displays the refined RGB image without applying the alpha channel. This is useful for inspecting foreground color restoration and adjusting the Despill Amount.
Backend & Performance
Hardware Acceleration
Run calculations on the GPU. This will give massive speedups compared to CPU mode, especially on CUDA. On Windows with non-NVIDIA GPUs the speedup is still significant, but not all models are supported. Please check the product sites for notes about which models are supported.
Lower Precision
Compute with reduced precision if possible. This can save up to half of the memory and give you some speedups at the cost of sometimes slightly reduced quality.
Allow CPU Fallback
Run computation on the CPU if model cannot be executed on the GPU.
CUDA Memory Sharing (on CUDA machines only)
Try to keep frames data on the GPU for rendering. This is faster, especially on larger resolutions like 4k. Might not work on some NVIDIA driver versions (e.g. 476.x) so keep your drivers updated.
Model Offloading
Enabling this will make sure only the AI model parts which are needed for computation are kept on the GPU. This might lower VRAM usage under some settings at the cost of moving AI models in and out of GPU memory. Options are:
No offloading: Keep all models on the GPUs VRAM.
CPU: Move unneeded models to the RAM and back if needed. This will occupy RAM.
Full Unload: Completely unload models if not needed. This saves both VRAM and RAM but might be much slower, as the models have to be loaded again for every request.
Timeout
The maximum time a frame can be processed before the computation times out.
Samples (not available for all settings)
The number of ai samples to calculate. This will improve the models accuracy.
Parallel (only available if Samples > 2)
This will render all samples at the same time (faster), if disabled computation might be slower but require less VRAM.
Computation Tiles (not available for all settings)
Split the computation into several tiles. This can help if you run out of memory.
Deactivate Prerendering (Premiere only)
Will not render the effect during preview playback, only on stopped frames. Enable this for increased interactivity.
Stop Processing
Cancels a long-running frame computation immediately.
Restart
If a frame was canceled with “Stop Processing”, trigger a rerender.