ANR Tools

ANR AI Planar Tracker

Planar tracking of flat surfaces from masks you draw, with layered masks, a correction layer, and exports to Roto, a four-corner Tracker or a Card and Camera.

  • Trackers
  • Trackers pack
  • Tracker models
  • 2 inputs
  • 122 controls

Overview

The AI Planar Tracker follows a flat surface (a screen, a sign, a wall, a page) from a mask you draw around it in the viewer. Each frame it fits one plane to what it sees inside the mask, and moves four surface corners with it: the corners where an insert will sit.

Choose how the surface is found in Tracking Method. Algorithm (Enhanced Non-AI) matches image features on the CPU and refines the alignment, with an optional crop box that follows the track. Frame by Frame AI Tracker tracks points inside the mask with the AI point tracking model on the GPU, then fits the plane. Full Range AI Tracker analyses the whole shot at once with Analyze Shape: the Reference Frame is matched straight to every frame, so the plane does not drift over a long shot, and the surface is followed off the frame from the points still in the picture.

A node can hold several masks as layers, each with its own colour, track and Start and End frames. Track them one at a time, each separately, or several masks together as one surface (Track). A separate Adjust Track layer lets you key corner corrections over the raw track without changing it, and the post-track refinements make cleaned-up copies you can compare with the original.

When the track is right, the Export buttons build ordinary Nuke nodes: a tracked Roto of the mask, one Roto with every shape, a Tracker with the four corners, or a Card and a static Camera rendered with a ScanlineRender, ready for an insert.

Tracking Method offers Algorithm, Frame by Frame AI Tracker, Full Range AI Tracker, Custom Model and Optical Flow. With the Algorithm, Find Again with AI lets the AI find the shape again after it is lost behind something or leaves the frame. The AI methods build up the perspective over the shot without bending or flattening the shape. A Reference Frame outside the footage moves to the closest frame of the footage by itself, and the shape and track move with it.

Inputs

SourceOcclusionAI Planar TrackerOutput
  1. Sourcerequired

    The plate to track.

  2. Occlusionoptional

    A matte of whatever passes in front of the surface: where its alpha is above half, the pixels are ignored by the match. Used while Use Occlusion Input is on.

Output. The plate, with the masks, the tracked surface and the tools drawn in the viewer. The results are the keys on the node and the nodes the Export buttons build.

Quick start

  1. Add ANR AI Planar Tracker and connect the plate to Source. Go to a frame where the surface is clear.
  2. The node starts in drawing mode: click points around the surface in the viewer. Click the first point again, or press Enter, to finish the mask.
  3. The four surface corners start at the mask's bounds. Drag them onto the corners of the area your insert should cover (Fit Surface to Mask puts them back).
  4. Choose Tracking Method and Motion (Perspective for a flat surface seen from a moving camera).
  5. Press ▶ to track from the current frame to Last. Go back to the frame you drew on and press ◀ to track to First. ■ stops and keeps the frames already tracked.
  6. Scrub to check. Fix drift on the Adjust Track tab: turn on Adjust Track, drag the corners in the viewer on the frames that need it.
  7. Press an Export button, for example Create Tracker (4 Corners) or Scaling Card + Camera, and use the new nodes in your comp.
  8. To get a moving camera from walls and floors that stand still: track each surface on its own layer, select two or more in the layer list (Ctrl+click), and press Selected Tracks: Static Cards + Moving Camera.

The panel

The node's panel as Nuke shows it, with the values of a new node. Click any control to see what it does; tabs and sections work as in Nuke.

ANR_AI_Planar_Tracker1

The toolbar row of transport buttons, and the original controls in a closed group below it.

● Drawing Mask — Enter to finish|◀◀■▶▶|CenterFollowAnalyze Shape
StatusDrawing Mask: click its outline in the viewer. Click the first point again, or press Enter, to finish.
Planar Viewer
Adjust Track in Viewer
Show Mask
Show Surface
Wait for Viewer
Adapt to Appearance Changes
Keep Searching After Loss
Find Again with AI
New Mask
Finish Mask
Reference Frame1
Fit Surface to Mask
Tracking MethodAlgorithm (Enhanced Non-AI)
Custom Model
Image RefinementCPU
Search AreaCrop Box
Crop Size (%)200
MotionTranslation / Rotation / Scale / Shear
RangeInput
First1
Last100
Minimum Agreement0
Minimum Pixels Used (%)50
Blur Result0
Steady Size and Angle1.5
Tracking Shape Follows Track
Update Pattern Each Frame
Use Occlusion Input
Occlude From Layers Above
Track Backward
Step Back
Step Forward
Track Forward
Clear Track
Enable Adjust Track Layer
Key Adjust Layer
Remove Adjust Key
Clear Adjust Layer

All controls

ANR Planar48 controls

The toolbar row of transport buttons, and the original controls in a closed group below it.

● Drawing Mask — Enter to finishButtonanrNative_new

Adds a new mask layer (New Shape). While you draw, it shows the mask's name and colour and reminds you that Enter finishes it.

|◀ButtonanrNative_plnStepBack

Tracks one frame backward.

◀ButtonanrNative_plnBack

Tracks backward from the current frame to First.

■ButtonanrNative_stop

Stop the analysis: ANR AI Planar Tracker1

▶ButtonanrNative_plnForward

Tracks forward from the current frame to Last.

▶|ButtonanrNative_plnStepForward

Tracks one frame forward.

CenterButtonanrNative_center

Centres the viewer on the active surface. The mask has to be finished first.

FollowCheckboxanrNative_follow

Keeps the viewer centred on the active surface as the frame changes.

Default: off

Analyze ShapeButtonSome modesanrNative_analyze

A button.

Planar Track

StatusStatusplnStatus

What the node is doing: drawing, tracking, how many frames were tracked or lost, and what an export made.

Planar ViewerCheckboxplnViewer

Shows the masks, the surface corners and the drawing tools in the viewer.

Default: on

Adjust Track in ViewerCheckboxplnAdjustMode

Lets you drag the surface corners in the viewer to key the Adjust Track correction layer.

Default: off

Show MaskCheckboxplnShowMask

Draws the mask outlines in the viewer.

Default: on

Show SurfaceCheckboxplnShowSurface

Draws the four surface corners (where the insert sits) in the viewer.

Default: on

Wait for ViewerCheckboxplnLive

On: while tracking, every frame is shown in the Viewer, and the next frame waits until the Viewer has drawn it (you see the track happen and can Stop it). Off: nothing is shown until the track finishes, which is faster.

Wait for Viewer. On (the default): while tracking, each frame is shown in the viewer before the next one is tracked, so you can watch the track and stop it. Off: nothing is shown until the track finishes, which is faster.

Default: on

Adapt to Appearance ChangesCheckboxplnAdaptive

Lets the match follow a surface whose look changes. With the Algorithm method it can also recover through a blink from texture around the mask. Turn off for strict matching inside the mask.

Default: on

Keep Searching After LossCheckboxplnKeepSearching

On: a frame that cannot be matched is left untracked and tracking carries on. Off: tracking stops at the first lost frame.

Default: on

Find Again with AICheckboxplnAiRelock

When the Algorithm loses the shape (something passes in front of it, or it leaves the frame), the AI model looks for it on the following frames. Once it is in view again the Algorithm picks it up there and carries on. Uses the graphics card and the Tracker models; the search adds about a second on the frames it runs.

Default: off

New MaskButtonplnNew

Start a new mask on the current frame. Replaces this plane's existing mask and track.

Finish MaskButtonplnFinish

Close the drawn outline and initialize the surface corners. Enter also finishes.

Reference FrameSliderplnReference

The frame the active mask was drawn on, where its surface corners are placed.

Default: 1

Fit Surface to MaskButtonplnFitSurface

Reset the four insert corners to the reference mask bounds; tracking is unchanged.

Tracking MethodMenuplnMethod

Algorithm uses CPU feature matches. Frame by Frame AI Tracker uses the installed AI point tracking model on CUDA to track points inside the mask. Both robustly fit one plane and refine its image alignment. No model download.

Full Range AI Tracker: Analyze Shape matches every frame straight to the reference frame at full resolution, so the plane does not drift over a long shot, then fits the plane to the matched points. Points that leave the picture are hidden until they really come back, and the plane is followed off the frame from the points still seen. NVIDIA graphics card; its model comes with the Tracker models.

Custom Model: your own weights file, chosen in Custom Model below (greyed out until this is picked): a newer or fine-tuned Frame by Frame model, tracked like the Frame by Frame AI Tracker, or an image matching model, tracked with AI image matching (CUDA; its model comes with the Tracker models). Which it is comes from the file.

Algorithm: tick Find Again with AI to have the AI look for the shape again after something covers it or it leaves the frame; Post Tracking Refine (Adjust Track tab) fills the frames it was hidden on.

Optical Flow: dense optical flow (the AI Vector Tracker's motion model) follows the plane from frame to frame, checked both ways so the pixels an occluder covers are left out; the motion is fitted to what is in view and every frame is refined and checked against the reference picture, so it does not drift. A frame with too little of the plane in view is left untracked rather than guessed. Find Again with AI matches the reference straight to a lost frame. NVIDIA graphics card; its model comes with the Tracker models.

The Full Range AI Tracker analyses the whole shot at once with Analyze Shape; the other methods track frame by frame with the track buttons.

Default: Algorithm (Enhanced Non-AI)Options: Algorithm (Enhanced Non-AI) AI Full Range Tracker Enhanced Alignment (Non-AI) Image Matching (AI) Custom Model Optical Flow

Custom ModelFileplnCustomModel

The weights file Tracking Method's Custom Model tracks with (greyed out until Custom Model is picked): picked in the Custom Model window, which opens when you choose Custom Model: a model you installed, a file on this PC, or one from the list. A whole-range model works like the Full Range Tracker, with Analyze Shape; a newer or fine-tuned copy of the Frame by Frame model tracks like the Frame by Frame AI Tracker, an image matching file with AI image matching. Every weight the model has must be in the file, at its size, or it is refused with a message and nothing is tracked; it never runs code from the file. An image matching file still needs the image matching model, which comes with the Tracker models: the file replaces only its weights. The other methods keep their built-in models.

Default: empty

Image RefinementMenuplnCompute

GPU accelerates dense alignment on the installed CUDA runtime. Feature detection and robust fitting remain on CPU; AI always uses GPU.

Default: CPUOptions: CPU GPU (CUDA)

Search AreaMenuplnSearchMode

Algorithm only. Crop Box limits feature search and image alignment to a box around the last accepted mask position. It follows successful tracks; after loss it stays at the last accepted position. Use Whole Frame or a larger box for large jumps.

Default: Crop BoxOptions: Whole Frame Crop Box

Crop Size (%)SliderplnCropSize

200% = twice the tracked mask bounding-box width and height. Minimum 64 analysis pixels per side; clipped to the image. Larger boxes allow more motion but cost more work. Combined-mask tracking uses the combined bounds. Source decoding and output size are unchanged.

Default: 200

MotionMenuplnMotion

Surface degrees of freedom. Perspective solves full 8-DOF homography; Translation / Rotation / Scale / Shear (and Affine) solves 6-DOF planar shear without perspective tilt.

How the surface may move: Translation, Translation / Rotation / Scale, Affine, or Perspective (a flat surface under any camera move).

Default: Translation / Rotation / Scale / ShearOptions: Translation Translation / Rotation / Scale Affine Perspective Translation / Rotation / Scale / Shear

RangeMenuplnRangeMode

Which frames to track. Input: the frames of the footage into Source. Global: the project's frame range. Custom: First and Last as typed. First and Last always show the range in use; typing a frame into either switches to Custom.

Default: InputOptions: Input Global Custom

FirstSliderplnFirst

First frame of the tracking range. Shows the range in use; typing a frame switches Range to Custom.

Default: 1

LastSliderplnLast

Last frame of the tracking range. Shows the range in use; typing a frame switches Range to Custom.

Default: 100

Minimum AgreementSliderplnMinimum

Minimum visible surface agreement (0-0.95). Tracking stops immediately when agreement drops below this value (unless Keep Searching After Loss or Find Again with AI is on).

Default: 0

Minimum Pixels Used (%)SliderplnMinPixels

Minimum percentage of the planar surface that must remain visible inside the frame and unoccluded. As the plane leaves the frame toward this limit, perspective tilt is smoothly conditioned so off-screen corners stay steady.

Default: 50

Blur ResultSliderplnBlurResult

Smooths the track over time, in frames: the result the viewer shows, renders and exports is the tracked motion blurred over nearby tracked frames (about 3 x this many on each side). Takes out jitter; higher values also round off fast moves. The tracked keys are not changed: 0 gives the track back exactly.

Default: 0

Steady Size and AngleSliderplnSteady

Takes the frame-to-frame wobble out of the shape's size, turn and shear, in frames, and leaves its position exactly where the track put it. On a soft or small target one frame cannot tell the size or the angle precisely, so they jiggle; this reads them from the nearby tracked frames (about 3 x this many on each side) instead. A steady zoom or turn is kept as it is. The tracked keys are not changed: 0 gives the track back exactly.

Default: 1.5

Tracking Shape Follows TrackCheckboxplnShapeFollows

On: the shape moves with the track (as before). Off: the shape stays where you drew it in the frame, and each frame is tracked from what is inside it, so new ground sliding through the shape keeps the track going (drone shots, long moves across a surface). The track data still moves with the surface. Algorithm methods.

Default: on

Update Pattern Each FrameCheckboxplnCatchEachFrame

Off (as before): every frame is matched to the reference picture. On: the reference is renewed on every tracked frame (frame to frame), for a surface whose look changes over the shot. Frame to frame drifts slowly over long shots: leave it off when the look holds. Algorithm methods.

Default: off

Use Occlusion InputCheckboxplnUseOcclusion

Ignores the pixels the Occlusion input marks (alpha above half) when matching.

Default: on

Occlude From Layers AboveCheckboxplnAutoLayerOcc

Automatically treat visible finished masks stacked above the active layer in the Layer List as foreground occlusion holdouts (top-down layer matting).

Default: off

Track BackwardButtonplnBack

Track from the current frame to First. On a frame the track has not reached, the mask starts where the viewer shows it.

Step BackButtonplnStepBack

Track one frame backward.

Step ForwardButtonplnStepForward

Track one frame forward.

Track ForwardButtonplnForward

Track from the current frame to Last. On a frame the track has not reached, the mask starts where the viewer shows it.

Clear TrackButtonplnClear

Remove tracking keys and keep the mask and surface at their reference positions.

Enable Adjust Track LayerCheckboxplnApplyAdjust

Applies the Adjust Track corrections on top of the track. Off shows the raw track; the correction keys are kept.

Default: off

Key Adjust LayerButtonplnKeyAdjust

Key all four correction offsets on the current frame. The underlying track is unchanged.

Remove Adjust KeyButtonplnRemoveAdjust

Remove the four correction keys on this frame.

Clear Adjust LayerButtonplnClearAdjust

Remove all correction keys; keep the underlying track.

Planar Track51 controls

Where you work: mask layers, tracking method and range, transport, and the Export buttons.

anrPlanarLayersPanelanrPlanarLayers

The list of mask layers, with Start, End, Track, View and Keys columns. Select a row to make that mask active; New Shape, Duplicate and Remove manage layers, and the red button stops tracking. Double-click Start or End to type a layer's first or last frame (empty = the whole range); the Start Here and End Here buttons set them to the current frame for the selected layers.

Default: empty

TrackMenuanrPlanarScope

Which masks a track press works on: the Active layer, every enabled layer tracked one after another (Enabled layers separately), or the enabled masks combined into one surface (Enabled masks together).

Default: Active layerOptions: Active layer Enabled layers separately Enabled masks together

StatusStatusanrPlanar_plnStatus

What the node is doing: drawing, tracking, how many frames were tracked or lost, and what an export made.

Planar ViewerCheckboxanrPlanar_plnViewer

Shows the masks, the surface corners and the drawing tools in the viewer.

Default: on

Show MaskCheckboxanrPlanar_plnShowMask

Draws the mask outlines in the viewer.

Default: on

Show SurfaceCheckboxanrPlanar_plnShowSurface

Draws the four surface corners (where the insert sits) in the viewer.

Default: on

Finish MaskButtonanrPlanar_plnFinish

Close the drawn outline and initialize the surface corners. Enter also finishes.

Reference FrameSlideranrPlanar_plnReference

The frame the active mask was drawn on, where its surface corners are placed.

Default: 1

Fit Surface to MaskButtonanrPlanar_plnFitSurface

Reset the four insert corners to the reference mask bounds; tracking is unchanged.

Tracking MethodMenuanrPlanar_plnMethod

Algorithm uses CPU feature matches. Frame by Frame AI Tracker uses the installed AI point tracking model on CUDA to track points inside the mask. Both robustly fit one plane and refine its image alignment. No model download.

Full Range AI Tracker: Analyze Shape matches every frame straight to the reference frame at full resolution, so the plane does not drift over a long shot, then fits the plane to the matched points. Points that leave the picture are hidden until they really come back, and the plane is followed off the frame from the points still seen. NVIDIA graphics card; its model comes with the Tracker models.

Custom Model: your own weights file, chosen in Custom Model below (greyed out until this is picked): a newer or fine-tuned Frame by Frame model, tracked like the Frame by Frame AI Tracker, or an image matching model, tracked with AI image matching (CUDA; its model comes with the Tracker models). Which it is comes from the file.

Algorithm: tick Find Again with AI to have the AI look for the shape again after something covers it or it leaves the frame; Post Tracking Refine (Adjust Track tab) fills the frames it was hidden on.

Optical Flow: dense optical flow (the AI Vector Tracker's motion model) follows the plane from frame to frame, checked both ways so the pixels an occluder covers are left out; the motion is fitted to what is in view and every frame is refined and checked against the reference picture, so it does not drift. A frame with too little of the plane in view is left untracked rather than guessed. Find Again with AI matches the reference straight to a lost frame. NVIDIA graphics card; its model comes with the Tracker models.

The Full Range AI Tracker analyses the whole shot at once with Analyze Shape; the other methods track frame by frame with the track buttons.

Default: Algorithm (Enhanced Non-AI)Options: Algorithm (Enhanced Non-AI) Frame by Frame AI Tracker Full Range AI Tracker Custom Model Optical Flow

Custom ModelFileanrPlanar_plnCustomModel

The weights file Tracking Method's Custom Model tracks with (greyed out until Custom Model is picked): picked in the Custom Model window, which opens when you choose Custom Model: a model you installed, a file on this PC, or one from the list. A whole-range model works like the Full Range Tracker, with Analyze Shape; a newer or fine-tuned copy of the Frame by Frame model tracks like the Frame by Frame AI Tracker, an image matching file with AI image matching. Every weight the model has must be in the file, at its size, or it is refused with a message and nothing is tracked; it never runs code from the file. An image matching file still needs the image matching model, which comes with the Tracker models: the file replaces only its weights. The other methods keep their built-in models.

Default: empty

Custom Model...ButtonanrPlanarCustomWindow

Installed models, a file on this PC, or download one from the list with its licence.

Opens the Custom Model window: the models you installed, A. Install a local model for a file on this PC, and B. Download and install for the list, with each model's licence beside it. It also opens when you pick Custom Model in Tracking Method.

Points in ShapeNumberSome modesanrPlanarAnalysisPoints

Maximum query points distributed inside the active mask, on its reference frame.

Default: 128

Analyze ShapeButtonSome modesanrPlanarAnalyze

Finish a shape, then analyze its points across First–Last, using the shape reference frame. Automatically creates track keys.

Update Shape from AnalysisButtonSome modesanrPlanarApplyAnalysis

A button.

Search AreaMenuanrPlanar_plnSearchMode

Algorithm only. Crop Box limits feature search and image alignment to a box around the last accepted mask position. It follows successful tracks; after loss it stays at the last accepted position. Use Whole Frame or a larger box for large jumps.

Default: Crop BoxOptions: Whole Frame Crop Box

Crop Size (%)SlideranrPlanar_plnCropSize

200% = twice the tracked mask bounding-box width and height. Minimum 64 analysis pixels per side; clipped to the image. Larger boxes allow more motion but cost more work. Combined-mask tracking uses the combined bounds. Source decoding and output size are unchanged.

Default: 200

Image RefinementMenuanrPlanar_plnCompute

GPU accelerates dense alignment on the installed CUDA runtime. Feature detection and robust fitting remain on CPU; AI always uses GPU.

Default: CPUOptions: CPU GPU (CUDA)

MotionMenuanrPlanar_plnMotion

Surface degrees of freedom. Perspective solves full 8-DOF homography; Translation / Rotation / Scale / Shear (and Affine) solves 6-DOF planar shear without perspective tilt.

How the surface may move: Translation, Translation / Rotation / Scale, Affine, or Perspective (a flat surface under any camera move).

Default: Translation / Rotation / Scale / ShearOptions: Translation Translation / Rotation / Scale Affine Perspective Translation / Rotation / Scale / Shear

Adapt to Appearance ChangesCheckboxanrPlanar_plnAdaptive

Adapt to changing appearance. Algorithm mode can recover a blink from nearby texture around the mask when the interior stops matching. Recovery respects the crop box and Occlusion input, and requires consistent measured motion. Turn off for strict matching inside the mask.

Default: on

Keep Searching After LossCheckboxanrPlanar_plnKeepSearching

On: a frame that cannot be matched is left untracked and tracking carries on. Off: tracking stops at the first lost frame.

Default: on

Find Again with AICheckboxanrPlanar_plnAiRelock

When the Algorithm loses the shape (something passes in front of it, or it leaves the frame), the AI model looks for it on the following frames. Once it is in view again the Algorithm picks it up there and carries on. Uses the graphics card and the Tracker models; the search adds about a second on the frames it runs.

Default: off

Tracking Shape Follows TrackCheckboxanrPlanar_plnShapeFollows

On: the shape moves with the track (as before). Off: the shape stays where you drew it in the frame, and each frame is tracked from what is inside it, so new ground sliding through the shape keeps the track going (drone shots, long moves across a surface). The track data still moves with the surface. Algorithm methods.

Default: on

Update Pattern Each FrameCheckboxanrPlanar_plnCatchEachFrame

Off (as before): every frame is matched to the reference picture. On: the reference is renewed on every tracked frame (frame to frame), for a surface whose look changes over the shot. Frame to frame drifts slowly over long shots: leave it off when the look holds. Algorithm methods.

Default: off

RangeMenuanrPlanar_plnRangeMode

Which frames to track. Input: the frames of the footage into Source. Global: the project's frame range. Custom: First and Last as typed. First and Last always show the range in use; typing a frame into either switches to Custom.

Default: InputOptions: Input Global Custom

FirstSlideranrPlanar_plnFirst

First frame of the tracking range. Shows the range in use; typing a frame switches Range to Custom.

Default: 1

LastSlideranrPlanar_plnLast

Last frame of the tracking range. Shows the range in use; typing a frame switches Range to Custom.

Default: 100

Range from ViewerButtonanrPlanarRange

Sets Range to Custom with the viewer's in and out points.

Minimum AgreementSlideranrPlanar_plnMinimum

Minimum visible surface agreement (0-0.95). Tracking stops immediately when agreement drops below this value (unless Keep Searching After Loss or Find Again with AI is on).

Default: 0

Minimum Pixels Used (%)SlideranrPlanar_plnMinPixels

Minimum percentage of the planar surface that must remain visible inside the frame and unoccluded. As the plane leaves the frame toward this limit, perspective tilt is smoothly conditioned so off-screen corners stay steady.

Default: 50

Use Occlusion InputCheckboxanrPlanar_plnUseOcclusion

Ignores the pixels the Occlusion input marks (alpha above half) when matching.

Default: on

Occlude From Layers AboveCheckboxanrPlanar_plnAutoLayerOcc

Automatically treat visible finished masks stacked above the active layer in the Layer List as foreground occlusion holdouts (top-down layer matting).

Default: off

Wait for ViewerCheckboxanrPlanar_plnLive

On: while tracking, every frame is shown in the Viewer, and the next frame waits until the Viewer has drawn it (you see the track happen and can Stop it). Off: nothing is shown until the track finishes, which is faster.

Wait for Viewer. On (the default): while tracking, each frame is shown in the viewer before the next one is tracked, so you can watch the track and stop it. Off: nothing is shown until the track finishes, which is faster.

Default: on

|◀ButtonanrPlanar_plnStepBack

Track one frame backward

◀ButtonanrPlanar_plnBack

Track backward

■ButtonanrPlanarStop

Stop the analysis: ANR AI Planar Tracker1

▶ButtonanrPlanar_plnForward

Track forward

▶|ButtonanrPlanar_plnStepForward

Track one frame forward

Clear TrackButtonanrPlanar_plnClear

Remove tracking keys and keep the mask and surface at their reference positions.

Center ViewButtonanrPlanarCenter

Centres the viewer on the active surface. The mask has to be finished first.

Follow TrackCheckboxanrPlanarFollow

Center the 2D Viewer on the active surface as the frame changes. Keep this node panel open.

Default: off

Create Tracked RotoButtonanrPlanarRoto

Builds a Roto node, connected to the plate, with the active mask in a folder that carries the planar motion (Adjust Track included), keyed on every tracked frame.

All Shapes to One RotoButtonanrPlanarRotoAll

One Roto node holding every visible shape of this node, each in its own folder with its own tracked motion (Adjust Track included). Hidden layers are left out, so a refined copy does not come out twice with its original.

Create Tracker (4 Corners)ButtonanrPlanarTracker

Builds a Tracker with four tracks at the surface corners (Bottom Left, Bottom Right, Top Right, Top Left), for a CornerPin or any tool that wants tracks. Untracked frames are switched off.

Scaling Card + CameraButtonanrPlanarCard

Bake the active tracked surface into an animated Card, a static Camera and a connected ScanlineRender. Includes Adjust Track. Replace the Insert input with your artwork. Matches this camera view; not a real-world depth solve.

Moving Card + CameraButtonanrPlanarMovingCard

Fixed-size rectangular card with animated translation and rotation; static camera. Uses the focal length and proportions below. Reports screen fitting error; never animates scale to conceal a mismatch.

Static Card + Moving CameraButtonanrPlanarMovingCamera

A fixed-size card that stands still where it is on the current frame, and a camera with animated translation and rotation; on the current frame the camera sits at the origin. The camera path is solved over the whole shot and kept smooth, so it does not jump and motion blur holds; the card stays on the track within a small allowance, reported as fit error. Uses the focal length and proportions below. This is the plane moving against the camera, not a solved camera: a small card cannot tell tilt from move, so the path is a plausible one, and it only means a real camera move if the surface really stands still.

One still card and a camera that moves around it, from the active track, with editable translate and rotate curves. The camera is at the origin on the current frame. A small card cannot tell tilt from move: for a true camera path, track several surfaces and use Selected Tracks: Static Cards + Moving Camera.

Selected Tracks: Static Cards + Moving CameraButtonanrPlanarMovingCameras

One camera from several surfaces: Ctrl+click two or more tracks in the list, then press this. Choose things that really stand still and face different ways, such as a wall and the ground: that is what shows the true camera move, and usually the lens too. Each surface becomes a card that stands still, all seen by one moving camera; on the current frame the camera sits at the origin. A surface that does not fit is named and left out. It needs the camera to move: a pan on a tripod gives the rotation, but no depth.

From two or more selected tracks of surfaces that stand still (walls, a floor, a table): one solved camera and one still card per surface, in a Scene with a ScanlineRender. The status line gives the fit in pixels. With three or more surfaces, one that moves is found, named and left out; with two, it says they disagree. If the shot has no parallax, the camera only rotates, and the status line says so.

Moving Card / Camera Focal (mm)SlideranrPlanarCardFocal

Moving Card and Moving Camera only. Focal length on a 36mm-wide filmback. This is an assumption, not recovered lens metadata.

Default: 50

Card Width / HeightSlideranrPlanarCardAspect

Moving Card and Moving Camera only. Actual rectangular surface width divided by height. Zero estimates once from the reference and assumed lens. The resulting dimensions stay fixed for the entire export.

Default: 0

Solve Lens (Selected Tracks)CheckboxanrPlanarSolveLens

Selected Tracks only. Measure the focal length from the shot, starting from the focal above, and use it only if it clearly fits better. Untick it when you know your lens and have typed it above.

On: the lens comes from the shot, and Moving Card / Camera Focal (mm) is only its starting guess. Off: the camera keeps the focal you typed. Used by Selected Tracks: Static Cards + Moving Camera.

Default: on

Adjust Track23 controls

The correction layer over the raw track, and the post-track refinements.

Blur ResultSlideranrPlanar_plnBlurResult

Smooths the track over time, in frames: the result the viewer shows, renders and exports is the tracked motion blurred over nearby tracked frames (about 3 x this many on each side). Takes out jitter; higher values also round off fast moves. The tracked keys are not changed: 0 gives the track back exactly.

Default: 0

Steady Size and AngleSlideranrPlanar_plnSteady

Takes the frame-to-frame wobble out of the shape's size, turn and shear, in frames, and leaves its position exactly where the track put it. On a soft or small target one frame cannot tell the size or the angle precisely, so they jiggle; this reads them from the nearby tracked frames (about 3 x this many on each side) instead. A steady zoom or turn is kept as it is. The tracked keys are not changed: 0 gives the track back exactly.

Default: 1.5

anrPlanarAdjustTrackPanelanrPlanarAdjustTrack

The Adjust Track switch: on, you can drag corners in the viewer and the correction layer is applied; off, the corrections are bypassed and kept.

Default: empty

Key Adjust LayerButtonanrPlanar_plnKeyAdjust

Key all four correction offsets on the current frame. The underlying track is unchanged.

Remove Adjust KeyButtonanrPlanar_plnRemoveAdjust

Remove the four correction keys on this frame.

Clear Adjust LayerButtonanrPlanar_plnClearAdjust

Remove all correction keys; keep the underlying track.

Post Tracking RefineMenuanrPlanarOccMode

What to do with occluded, AI-carried, untracked, or explicitly listed frames on this surface. Picking one applies it to the active track non-destructively (the original tracked keys are preserved so switching back to Independent restores them).

Follow Visible Markers: rigid similarity surface carry — holds the last confident surface organization (pan, scale, rotation) and blends smoothly into the far side with no jump.

Independent: restores the raw unrefined tracked keys as recorded by the tracker.

Interpolate Gap: straight corner bridge across interior stretches between clean anchor frames.

Trajectory Matching: rebuilds every target stretch using a cubic Hermite curve matching the 3-frame speed and direction on each side, and continues out past open ends.

Trajectory Repair: also lifts isolated 1-frame spikes, false 1-2 frame re-finds, and pre/post-occlusion boundary drag frames, plus denoised AI step guidance when available.

Smart Edge Trajectory & Mid-Frame Gap: Trajectory Matching where the surface touches/leaves the screen border, and a straight Interpolate Gap bridge on mid-frame interior occlusions.

Default: IndependentOptions: Follow Visible Markers Independent Interpolate Gap Trajectory Matching Trajectory Repair Smart Edge Trajectory & Mid-Frame Gap

Custom Frame RefinementTextanrPlanarRefineFrames

Frames to rebuild with Post Tracking Refine, separated by commas. 1, 3, 9-15 refines frames 1 and 3 and every frame from 9 to 15. A dash between two numbers is a range (15-9 works too); a minus sign at the start of an entry is a negative frame (-5). Frames outside the tracking range (First - Last) are skipped, and an entry that is not a frame or a range is skipped and named in the status. Listed frames are rebuilt from the clean frames around them even if they tracked well. Leave blank to refine occluded, AI-carried, untracked or low-confidence frames automatically.

Default: empty

Refine Low-Confidence FramesCheckboxanrPlanarRefineLowConfidence

Include low-agreement frames (below Refine Below Agreement) as target frames when applying Post Tracking Refine. The Reference Frame is always protected.

Default: on

Keep Moving Off-ScreenNumberanrPlanarCoastFrames

Maximum frames to continue carrying the surface along its exit/entry velocity on open-ended stretches at the start or end of the track (0-1000).

Default: 5

Refine Occluded FramesButtonanrPlanarRefineOccluded

Apply Post Tracking Refine, Custom Frame Refinement, and Keep Moving Off-Screen to the active layer without tracking again.

Restore Unrefined TrackButtonanrPlanarRestoreRawTrack

Restore the active layer to its original unrefined tracked keys before Post Tracking Refine.

Include Low-Agreement FramesCheckboxanrPlanarRefineWeak

Fill Gaps and Trajectory Matching also rebuild keys below Refine Below Agreement. The reference is protected. Nothing changes until you click a refinement button; Back to Original restores the source.

Default: off

Refine Below AgreementSlideranrPlanarRefineAgreement

Planar image-agreement threshold, not AI point confidence. Applies only when Include Low-Agreement Frames is checked.

Default: 0.7

Radius (frames)NumberanrPlanarSmoothRadius

Smooth Jitter: how many frames on each side are averaged.

Default: 2

AmountSlideranrPlanarSmoothAmount

Smooth Jitter: how strongly each frame is pulled towards the average of its neighbours, 0 to 1.

Default: 0.5

Refine ImagesButtonanrPlanarRefine_images

Track the surface again with image alignment, seeded by this track. Makes a refined copy as a new layer; the original is kept.

Smooth JitterButtonanrPlanarRefine_smooth

Average each frame with its neighbours (Radius, Amount). Gaps are not bridged. Makes a refined copy as a new layer; the original is kept.

Fix Rogue MotionButtonanrPlanarRefine_rogue

Find stretches where the surface wanders off the path of the frames around it (points that moved their own way pulled it) and rebuild them from the good frames on either side. Makes a refined copy as a new layer; the original is kept.

Reject Rogue PointsButtonanrPlanarRefine_points

Full Range Tracker only: score every analysis point over the whole shot, drop the ones that keep moving against the rest, and fit the surface again from the points that agree. Makes a refined copy as a new layer; the original is kept.

Works only on a track made with the Full Range AI Tracker.

Fill GapsButtonanrPlanarRefine_gaps

Fill untracked frames inside the track (up to 30 in a row) from the frames on either side. Makes a refined copy as a new layer; the original is kept.

Trajectory MatchingButtonanrPlanarRefine_trajectory

Rebuild the frames the surface was lost on (it left the picture, or was hidden). While any of it can be seen the track already follows it. Where it was lost, the surface carries on from where it was lost at its own speed and direction, comes back along the path it returns on, and the two are blended so it lands on the track with no jump. Past the ends of the track it keeps moving, out to First and Last. Makes a refined copy as a new layer; the original is kept.

Back to OriginalButtonanrPlanarRefineRevert

Remove the refined copy that is active and bring back the track it was made from.

Tips

  • Draw the mask on texture that moves with the surface, and keep reflections and moving things out of it. Connect a matte of foreground objects to Occlusion when they cross the surface.
  • With the Algorithm method, Search Area: Crop Box keeps the search near the last good position; for big jumps, raise Crop Size (%) or use Whole Frame.
  • Keep Searching After Loss on: a frame that cannot be matched is left untracked and tracking carries on. Off: tracking stops at the first lost frame.
  • Adapt to Appearance Changes lets the track follow a surface whose look changes over the shot; turn it off for strict matching inside the mask.
  • Update Pattern Each Frame (Algorithm methods): off, every frame is matched to the reference picture; on, the reference is renewed on every tracked frame, for a surface whose look changes over the shot. Frame to frame drifts slowly over a long shot, so leave it off while the look holds.
  • When a surface is in only part of the shot, give its layer Start and End frames in the layer list: the viewer draws the layer only between them, and Create Tracked Roto and All Shapes to One Roto start and end its shape there.
  • Mask editing in the viewer: click-drag places a smooth point, Z smooths the selected points, Shift-click or box-select picks several. With two or more points selected, a transform box moves, scales and rotates them (Shift for proportional scale or 15-degree steps, Escape cancels).
  • Click another mask's outline in the viewer to make it the active layer.
  • The refinements on the Adjust Track tab (Refine Images, Smooth Jitter, Fix Rogue Motion, Fill Gaps, Trajectory Matching) each make a refined copy as a new layer and keep the original; Back to Original removes the copy.
  • Follow Track keeps the viewer centred on the active surface as you scrub; keep the node's panel open.

Good to know

  • Picking Custom Model opens its window. A whole-range model then works like the Full Range AI Tracker, with Analyze Shape; a Frame by Frame file tracks like the Frame by Frame AI Tracker. Models you install stay in that window, on both trackers. Each model's licence is shown before anything downloads, and a model marked research only is not for paid work.
  • The AI methods need an NVIDIA GPU (CUDA). The Algorithm method runs on the CPU; Image Refinement: GPU (CUDA) speeds up its alignment.
  • If the Tracker models were not installed with ANR Tools, Nuke offers to download them when you create the node. The Full Range AI Tracker's model is part of the Tracker models, so it needs no download of its own and works offline.
  • Create Tracked Roto and the Card exports need a track with no untracked frames inside it; Create Tracker (4 Corners) accepts gaps and switches the corners off on those frames.
  • A mask that was never tracked exports to Roto as drawn, standing still.
  • The Card exports match this camera view only. They are not a real-world depth solve.
  • The toolbar row on the ANR Planar tab and in the viewer comes with Nuke 14.0 to 16.0. It is not there yet in Nuke 16.1 and 17: use the buttons on the Planar Track tab.
  • The Full Range AI Tracker tracks with Analyze Shape, not with the track buttons, which it hides; ■ stops an analysis at once. Where the surface is partly outside the frame, it follows the points still in the picture; where none is, the surface carries on from the frames on either side.

Something unclear or missing? Write to [email protected].