Depth Matte filter

This article covers features which are only available in the frontier edition of Livegrade.
See all articlesWhat is the frontier edition?

The Depth Matte filter runs a machine-learning depth estimation on the live image and uses the resulting depth map to key the image by distance: everything nearer than an adjustable depth threshold is kept, everything farther is made transparent. The matte is generated purely from the image content — no green screen and no camera metadata are required. The threshold is not just a flat cutoff: it is a 3D plane that can be turned, tilted, bent, and shifted to follow real scene geometry, such as a floor or a wall receding in perspective.

The filter appears as “Depth Matte” in the frontier filter list. All controls live in the filter’s settings panel in the grading controls; clicking a row’s label resets that row to its default. For a matte based on person or foreground subject segmentation instead of depth, see the Auto Matte filter.

Depth estimation#

Model popup (Image-Based / Video-Based (Experimental))
Selects the depth estimation model. “Image-Based” (default) is fast and precise, estimates each frame independently, and uses the Neural Engine. “Video-Based (Experimental)” looks at a window of recent frames, which stabilizes the depth over time (less flicker) but needs a few seconds after enabling or switching before the output settles; it uses the GPU. A caption under the popup describes the current choice.

Compute popup (Every Frame / Every 2nd / Every 3rd / Every 4th)
Sets how often a fresh depth map is computed; in between, the last depth map is reused and the matte “sticks” for the skipped frames. “Every Frame” (default) is the most accurate; larger intervals trade the matte’s update rate for performance.

Mode segmented control (Preview / Depth / Matte)
Sets what the viewer shows — this is a view switch only and does not change the key. “Preview” (default) shows the processed result: the keyed image with the far side removed. “Depth” shows a grayscale visualization of the raw depth map — the best way to judge what the model actually sees. “Matte” shows the black-and-white alpha matte itself (white = kept).

Keyer controls#

Threshold slider
Sets the depth at which the key cuts (0–1): pixels nearer than the threshold are kept, farther ones become transparent. 0 keeps almost nothing, 1 keeps almost everything. This is the primary control — set it so the cut sits just behind the subject.

Range slider
Sets the width of the transition band around the threshold (0–0.02) — a soft ramp in depth: pixels inside the band get partial transparency. Small values give a crisp depth cut; larger values tolerate depth estimation noise at the boundary.

Feather slider
Sets the blur radius applied to the finished matte (0–20) — a softening in image space (pixels), independent of depth. Smooths jagged matte edges; 0 disables the blur entirely.

Invert checkbox
Flips the key: the far side is kept and the near side removed — for when the background rather than the foreground is wanted.

“Rotation and Bend” box#

By default, the threshold is a plane parallel to the sensor (“everything nearer than X”). The following controls reshape the plane in 3D so the cut can follow the scene geometry:

Turn slider
Rotates the threshold plane around the vertical axis (±85°) — the cut depth becomes different on the left and right side of the frame, for example, for a wall receding to one side.

Bend slider
Curves the plane horizontally instead of keeping it flat (0–1) — useful when a straight, turned plane cannot follow the scene.

Offset X slider
Shifts the turned or bent plane horizontally (±1.5). Only enabled once Turn or Bend is non-zero.

Tilt slider
Rotates the plane around the horizontal axis (±85°) — different cut depth at the top and bottom of the frame. The classic case is a floor plane: keeping the actors while cutting the ground beyond a certain distance.

Offset Y slider
Shifts the tilted plane vertically (±1.5). Only enabled once Tilt is non-zero.

Analysis behavior#

  • The keyed area is transparent, not filled black: the removed region has zero alpha, and its appearance depends on what is composited behind the frame in the given output path.
  • The depth model loads asynchronously on first use, so expect a short delay before the filter takes effect after adding or enabling it. The Video-Based model additionally needs its warm-up frames.
  • The depth estimation runs at a small internal resolution, so the matte cannot resolve fine detail like hair — use Range and Feather to soften this limitation.