ANR Tools

ANR Patch Tool

Covers a blemish, mark or small object with clean texture from elsewhere in the frame, matched to the light round it and tracked through the shot.

  • Comp
  • Comp & Depth pack
  • 5 inputs
  • 106 controls

Overview

ANR Patch Tool covers an area of the plate with a clean sample from another part of the frame. You draw the area to fix, the Source, in the Viewer. A copy of that shape, the Destination, marks where the clean texture comes from: move, turn and scale it onto clean ground. The patch takes on the colour and light round the Source, so it sits in without a seam.

Patch Mode sets how the light is matched. Seamless Patch (Photoshop Lighting Match) matches the colour and lighting at the edge of the Source; Luminance Seamless (Keep Sample Hue) matches the brightness and keeps the sample's own colour; Direct Clone (No Lighting Match) copies the sample as it is. Grain Matched (Plate Grain) takes the sample's own grain out, matches the light, then puts real grain from the plate round the patch back in, so the patch's grain changes every frame like the plate's instead of freezing or doubling.

The patch is tracked with the ANR AI Planar Tracker's Algorithm, on the CPU: the buttons in the Planar Tracker (CPU) section track the Source through the shot, and the sample moves with it. With Wait for Viewer on (the default), Track Back and Track Fwd show every frame in the Viewer as it is tracked, and Track Quality is keyed on every tracked frame, so the timeline shows which frames are tracked. You can also connect a Tracker, CornerPin, Transform or ANR AI Planar Tracker to the Track input and follow its motion instead. A matte on the Occlusion input keeps whatever passes in front out of the track and out of the patch's colour.

By default the sample is read on every frame. Frame Offset reads it a few frames earlier or later, for a clean area that is covered now but clear nearby. Hold Sample From One Frame takes it from a single frame and carries it along the track while the light match stays live, and Motion Blur gives that held sample the plate's motion blur. The Grade tab grades the patch on its own, and its controls can be keyed.

Instead of drawing the area, connect a Roto (or anything with an alpha) to the Alpha input: its matte is the patch area on every frame, soft edge included, and Mask Expansion (px) moves its edge out or in. The drawn shape is still what the track follows and where the Viewer shows the Source and its sample: Shape From Alpha outlines the matte to make it, and runs by itself when you connect a Roto to a node with no shape drawn.

Inputs

SourceAlphaOcclusionTrackMaskPatch ToolOutput
  1. Sourcerequired

    The plate to fix. The patch is drawn, tracked and placed on it, and its clean texture is taken from it.

  2. Alphaoptional

    A Roto, or anything with an alpha: its matte is the patch area on every frame, in place of the drawn shape, with its own soft edge. A frame where the matte is empty is left unpatched.

  3. Occlusionoptional

    A matte of whatever passes in front of the patched surface, such as a hand or a person. Where its alpha is above half, the tracker ignores the pixels (while Use Occlusion Input is on) and the patch takes no colour from them: the nearest clear pixels stand in. It does not keep the occluder in front of the patch.

  4. Trackoptional

    A Tracker, CornerPin, Transform or ANR AI Planar Tracker whose motion the patch follows instead of its own track. Only its tracking data is read, not its picture: once when you connect it, and again each time you press Read Track Input.

  5. Maskoptional

    Limits where the patch is applied (its alpha): the patch shows only inside it, or only outside it with Invert Holdout Mask.

Output. The plate with the patch on it (Patched Plate). Output can also give the patch alone as premultiplied RGBA with its alpha, or a Sample Preview: the moved sample inside the Source shape with no light match, for lining it up.

Quick start

  1. Add ANR Patch Tool after the plate and connect it to Source. Go to a frame where the area to fix is easy to see.
  2. Click points round the area in the Viewer. Click the first point again, press Enter, or press Close Mask to close the shape. Or connect a Roto of the area to Alpha: the shape is made from its matte.
  3. Click DESTINATION (SAMPLE) at the top left of the Viewer and drag the sample shape onto clean texture. Drag its ring to scale it and the end of its ROTATE arm to turn it, or use Translate, Rotate and Scale in the Destination section.
  4. Choose a Patch Mode: Seamless Patch (Photoshop Lighting Match) for most fixes, Grain Matched (Plate Grain) on a grainy plate.
  5. Set Output to Sample Preview (No Seam Blend) to check what the sample brings in, then back to Patched Plate.
  6. Press Track Fwd >| to track the patch to the end of the Range; the Viewer shows each frame as it is tracked. Go back to the frame you drew on and press |< Track Back. Stop keeps the frames tracked so far.
  7. If the edge of the patch shows, raise Soft Edges.
  8. Scrub the shot. Where the clean area is covered on some frames, try Frame Offset or Hold Sample From One Frame.

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_Patch_Tool1
StatusClick points in the Viewer to draw the area to patch, then click the first point to close.
New / Clear MaskClose MaskUpgrade: Alpha InputShape From Alpha
Smooth Curve
Source Translatex0y0
Soft Edges0
Mask Expansion (px)0
Patch ModeSeamless Patch (Photoshop Lighting Match)
Gain1
Lift0
Gamma1
Saturation1
Contrast1
Grade Mix1
Match Darks and Brights
Grain Amount1
Lighting Adaptation1
Structure Preserve1
OutputPatched Plate
Invert Holdout Mask
Mix1
Reference Frame1Set To Current Frame
|< Track Back< Step BackStopStep Fwd >Track Fwd >|
Clear All TrackClear BackwardClear Forward
Track Quality0
StatusDraw and close a Source mask first: its mirror appears here as the sample.
Translatex0y0
Rotate0
Scale1
Scale X / Yx1y1
Flip Horizontal
Flip Vertical
Sample FilterCubic (Catmull-Rom Sharp)
Frame Offset0
Hold Sample From One Frame
Sample Frame1
Set Sample Frame to Current Frame
Motion Blur
Shutter0.5
Blur Samples10
Reset Destination Transform
MotionPerspective
Search AreaCrop Box
Crop Size (%)200
Wait for Viewer
Adapt to Appearance Changes
Keep Searching After Loss
Minimum Agreement0.5
Minimum Pixels Used (%)20
Tracking Shape Follows Track
Update Pattern Each Frame
Use Occlusion Input
RangeInput / Project Range
First1Last100

All controls

ANR Patch Tool64 controls
StatusStatusptSourceStatus

Live status of the Source mask and CPU Planar Tracker.

New / Clear MaskButtonptClearMask

Clears the current Source mask so you can draw a fresh shape in the Viewer.

Close MaskButtonptCloseMask

Closes an open Source mask (or click the first point / press Enter in the Viewer).

Upgrade: Alpha InputButtonSome modesptUpgradeV2

Swaps this node for the current ANR Patch Tool, which has the Alpha input (inputs Source, Alpha, Occlusion, Track, Mask): the same shape, track, settings and keys, the same name, each wire moved to its new input (the Mask to the last one) and the nodes below connected to it. One Undo puts this node back.

Shape From AlphaButtonptShapeFromAlpha

Makes the Source shape from the Alpha input: the outline of its matte on the Reference Frame (on the frame you are on when nothing is tracked yet). The patch area stays the Alpha input itself, frame by frame; this shape is what Track follows and where the Viewer shows the Source and its sample. Done for you when a Roto is connected to a node with no shape drawn.

Smooth CurveCheckboxptSmoothShape

When on, draws a smooth cubic Bezier curve through the mask points; when off, uses crisp straight edges.

Default: on

Source TranslatePositionptSrcTranslate

Moves the Source mask — and automatically moves the Destination sample mask by the exact same offset!

Default: 0 0

Soft EdgesSliderptShapeBlur

Softens the patch's edge, in pixels, after the patch is made and inward only: the patch fades in from 0 on the drawn line, so nothing outside the shape is touched. The drawn shape decides the patch and where its lighting is matched. A shape too small for the softness gets a smaller one.

Default: 0

Mask Expansion (px)SliderptExpand

Expands (+) or contracts (-) the Source & Destination mask boundary in pixels, up to 1000 either way (type the number; a big expansion takes longer to render).

Default: 0

Patch ModeMenuptPatchMode

Seamless Patch: solves a multi-grid harmonic membrane so sampled texture seamlessly matches the surrounding Source color & lighting gradient (like Photoshop's Patch Tool).
Luminance Seamless: matches brightness/shading while keeping Destination's chroma.
Direct Clone: feathered copy of Destination pixels with no lighting adjustment.
Grain Matched: like Seamless Patch, but the sample's own grain is taken out, the lighting is matched on the grain-free picture, and real grain from the plate round the patch is put back in -- it changes every frame like the plate's, so the patch does not flicker or show a frozen or doubled grain.

Default: Seamless Patch (Photoshop Lighting Match)Options: Seamless Patch (Photoshop Lighting Match) Luminance Seamless (Keep Sample Hue) Direct Clone (No Lighting Match) Grain Matched (Plate Grain)

GainColourSome modesptGradeGain

Multiplies the patch (the white point), per channel.

Default: 1

LiftColourSome modesptGradeLift

Raises or lowers the patch's blacks, per channel.

Default: 0

GammaColourSome modesptGradeGamma

Bends the patch's midtones, per channel (above 1 = brighter).

Default: 1

SaturationSliderSome modesptGradeSaturation

The patch's colour strength: 0 = grey, 1 = as it is.

Default: 1

ContrastSliderSome modesptGradeContrast

The patch's contrast about mid-grey (0.18): 1 = as it is.

Default: 1

Grade MixSliderSome modesptGradeMix

How much of the grade is used: 0 = none, 1 = all of it.

Default: 1

Match Darks and BrightsCheckboxptToneMatch

Before the lighting match, fits the patch's tones to the plate's round the patch -- darks to darks, brights to brights -- so something dark crossing the patch (a pole, a frame, a shadow) stays as dark as the plate's and is not lifted by the light measured on the brighter parts. Seamless, Luminance and Grain Matched modes.

Default: off

Grain AmountSliderptGrainAmount

Grain Matched only: how much of the plate's grain goes into the patch. 1 = the plate's own level.

Default: 1

Lighting AdaptationSliderptAdaptStrength

0.0 = Direct Clone, 1.0 = Full Photoshop-style seamless boundary lighting & color match.

Default: 1

Structure PreserveSliderptStructure

1.0 = 100% clean Destination texture replaces the blemish; lower values blend subtle original detail.

Default: 1

OutputMenuptOutput

Patched Plate: full plate with seamless patch applied.
Patch Only: premultiplied RGBA patch with alpha for custom Merge workflows.
Sample Preview: shows raw warped Destination pixels inside the Source mask for alignment.

Default: Patched PlateOptions: Patched Plate Patch Only (Premultiplied RGBA) Sample Preview (No Seam Blend)

Invert Holdout MaskCheckboxptInvertMask

Inverts the optional side Mask input.

Default: off

MixSliderptMix

Overall blend of the healed patch over the original plate.

Default: 1

Planar Tracker (CPU)

Reference FrameSliderptRefFrame

Reference frame where the Source mask was drawn.

Default: 1

Set To Current FrameButtonptSetRef

Sets Reference Frame to the current timeline frame (rebasing any existing track cleanly).

|< Track BackButtonptTrackBwd

Tracks the Source backward over the Range on the Tracking Settings tab, with the ANR AI Planar Tracker's Algorithm (CPU).

< Step BackButtonptStepBwd

Tracks the Source one frame backward.

StopButtonptStopTrack

Stops the track. The frames tracked so far are kept.

Step Fwd >ButtonptStepFwd

Tracks the Source one frame forward.

Track Fwd >|ButtonptTrackFwd

Tracks the Source forward over the Range on the Tracking Settings tab, with the ANR AI Planar Tracker's Algorithm (CPU).

Clear All TrackButtonptClearTrack

Clears all tracked planar keyframes.

Clear BackwardButtonptClearTrackBwd

Clears tracked keyframes before the current frame.

Clear ForwardButtonptClearTrackFwd

Clears tracked keyframes after the current frame.

Track QualitySliderptTrackKeys

Keyed on every tracked frame, so the timeline shows the tracked frames (the blue marks). Its value is how well that frame matched (1 = best; the Reference Frame is 1). Read-only: made from the track whenever it changes.

Default: 0

Destination

StatusStatusptDestStatus

Live status of the mirrored Destination sample region.

TranslatePositionptDstTranslate

Offset (X, Y) of the clean plate area to sample from, relative to Source.
Moving Destination NEVER moves Source; moving or tracking Source automatically moves Destination with it!

Default: 0 0

RotateSliderptDstRotate

Rotates the sampled Destination patch in degrees around its center so cloned texture never looks repetitive.

Default: 0

ScaleSliderptDstScale

Uniformly scales the sampled Destination area around its center.

Default: 1

Scale X / YPositionptDstAspect

Independent X / Y scale multiplier for the sampled Destination area.

Default: 1 1

Flip HorizontalCheckboxptDstFlipX

Mirrors the sampled pixels horizontally across the Destination center.

Default: off

Flip VerticalCheckboxptDstFlipY

Mirrors the sampled pixels vertically across the Destination center.

Default: off

Sample FilterMenuptFilter

Pixel interpolation filter used when sampling rotated/sub-pixel Destination regions.

Default: Cubic (Catmull-Rom Sharp)Options: Cubic (Catmull-Rom Sharp) Bilinear (Smooth) Impulse (Nearest)

Frame OffsetSliderptFrameOffset

Takes the patch's picture from this many frames later (+) or earlier (-) than the frame shown, carried along the track; the plate and its lighting match stay on the frame shown. Use it when the clean area is covered now but clear a few frames away. 0 = the same frame. Near the start or end of the clip the nearest frame is used. Hold Sample From One Frame, when ticked, decides instead.

Default: 0

Hold Sample From One FrameCheckboxptHoldSample

Takes the patch's picture from one frame (the Sample Frame) instead of from every frame, and carries it along the track; the lighting match stays live, frame by frame. For a sample area that moves its own way (parallax, something passing). Ticking it takes the frame you are on.

Default: off

Sample FrameSliderptSampleFrame

The frame the held sample is taken from.

Default: 1

Set Sample Frame to Current FrameButtonptSetSampleFrame

Takes the held sample from the frame you are on.

Motion BlurCheckboxptMotionBlur

Hold Sample only: smears the held picture along the track's own motion during the shutter, so the patch gets the same motion blur as the moving plate round it (a held frame is otherwise sharp, or blurred the way its own frame moved).

Default: off

ShutterSliderptMBShutter

How long the shutter stays open, in frames, centred on the frame: 0.5 = a 180-degree shutter. Match the plate's blur.

Default: 0.5

Blur SamplesSliderptMBSamples

How many positions along the motion are averaged: more is smoother and slower.

Default: 10

Reset Destination TransformButtonptResetDst

Resets Destination Translate, Rotate, Scale, and Flip back to defaults without affecting Source.

MotionMenuSome modesptMotionModel

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

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

Search AreaMenuSome modesptSearchMode

Crop Box limits feature search and image alignment to a box around the last accepted Source 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 (%)SliderSome modesptCropPct

200% = twice the Source's bounding-box width and height. Minimum 64 analysis pixels per side; clipped to the image. Larger boxes allow more motion but cost more work.

Default: 200

Wait for ViewerCheckboxSome modesptWaitViewer

On: Track Back / Track Fwd show every frame in the Viewer as it is tracked, and wait until the Viewer has drawn it before tracking the next (you see each frame and can stop exactly). Off: the whole range is tracked in one go without moving the timeline, which is faster; the patch and the timeline jump to the last tracked frame at the end.

Default: on

Adapt to Appearance ChangesCheckboxSome modesptAdaptive

Adapt to changing appearance. The Algorithm can recover a blink from nearby texture around the Source when the inside stops matching; recovery respects the crop box and the Occlusion input. Turn off for strict matching inside the Source.

Default: on

Keep Searching After LossCheckboxSome modesptKeepSearching

On: a frame below Minimum Agreement is left without a key and the track goes on looking. Off: the track stops there.

Default: on

Minimum AgreementSliderSome modesptMinAgree

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

Default: 0.5

Minimum Pixels Used (%)SliderSome modesptMinPixels

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

Default: 20

Tracking Shape Follows TrackCheckboxSome modesptShapeFollows

On: the shape moves with the track. Off: the shape stays where it is in the frame, and each frame is tracked from what is inside it, so new ground sliding through it keeps the track going (long moves across a surface). The patch still moves with the surface.

Default: on

Update Pattern Each FrameCheckboxSome modesptCatchEachFrame

Off: 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.

Default: off

Use Occlusion InputCheckboxSome modesptUseOcclusion

The tracker ignores what the matte on the Occlusion input covers (a hand or a person passing in front).

Default: on

RangeMenuSome modesptRangeMode

Frames Track Back and Track Fwd cover: the input's frame range (the project's for a still), or First / Last.

Default: Input / Project RangeOptions: Input / Project Range Custom Range

FirstSliderSome modesptRangeFirst

First frame of a Custom Range.

Default: 1

LastSliderSome modesptRangeLast

Last frame of a Custom Range.

Default: 100

Tracking Settings36 controls

How the patch is tracked: the Track input, the track buttons, Wait for Viewer, the tracker's settings and the Tracking Data.

Read Track InputButtonptTrk_inRead

Reads the motion of the node on the Track input (a Tracker, CornerPin, Transform or ANR AI Planar Tracker) into the Patch Tool's track, frame by frame, relative to the Reference Frame. It replaces the track. Press it again after changing the tracker.

|< Track BackButtonptTrk_ptTrackBwd

Tracks the Source backward over the Range on the Tracking Settings tab, with the ANR AI Planar Tracker's Algorithm (CPU).

< Step BackButtonptTrk_ptStepBwd

Tracks the Source one frame backward.

StopButtonptTrk_ptStopTrack

Stops the track. The frames tracked so far are kept.

Step Fwd >ButtonptTrk_ptStepFwd

Tracks the Source one frame forward.

Track Fwd >|ButtonptTrk_ptTrackFwd

Tracks the Source forward over the Range on the Tracking Settings tab, with the ANR AI Planar Tracker's Algorithm (CPU).

Clear All TrackButtonptTrk_ptClearTrack

Clears all tracked planar keyframes.

Clear BackwardButtonptTrk_ptClearTrackBwd

Clears tracked keyframes before the current frame.

Clear ForwardButtonptTrk_ptClearTrackFwd

Clears tracked keyframes after the current frame.

Wait for ViewerCheckboxptTrk_ptWaitViewer

On: Track Back / Track Fwd show every frame in the Viewer as it is tracked, and wait until the Viewer has drawn it before tracking the next (you see each frame and can stop exactly). Off: the whole range is tracked in one go without moving the timeline, which is faster; the patch and the timeline jump to the last tracked frame at the end.

Default: on

MotionMenuptTrk_ptMotionModel

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

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

Search AreaMenuptTrk_ptSearchMode

Crop Box limits feature search and image alignment to a box around the last accepted Source 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 (%)SliderptTrk_ptCropPct

200% = twice the Source's bounding-box width and height. Minimum 64 analysis pixels per side; clipped to the image. Larger boxes allow more motion but cost more work.

Default: 200

Adapt to Appearance ChangesCheckboxptTrk_ptAdaptive

Adapt to changing appearance. The Algorithm can recover a blink from nearby texture around the Source when the inside stops matching; recovery respects the crop box and the Occlusion input. Turn off for strict matching inside the Source.

Default: on

Keep Searching After LossCheckboxptTrk_ptKeepSearching

On: a frame below Minimum Agreement is left without a key and the track goes on looking. Off: the track stops there.

Default: on

Minimum AgreementSliderptTrk_ptMinAgree

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

Default: 0

Minimum Pixels Used (%)SliderptTrk_ptMinPixels

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

Default: 50

Tracking Shape Follows TrackCheckboxptTrk_ptShapeFollows

On: the shape moves with the track. Off: the shape stays where it is in the frame, and each frame is tracked from what is inside it, so new ground sliding through it keeps the track going (long moves across a surface). The patch still moves with the surface.

Default: on

Update Pattern Each FrameCheckboxptTrk_ptCatchEachFrame

Off: 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.

Default: on

Use Occlusion InputCheckboxptTrk_ptUseOcclusion

The tracker ignores what the matte on the Occlusion input covers (a hand or a person passing in front).

Default: on

RangeMenuptTrk_ptRangeMode

Frames Track Back and Track Fwd cover: the input's frame range (the project's for a still), or First / Last.

Default: Input / Project RangeOptions: Input / Project Range Custom Range

FirstNumberptTrk_ptRangeFirst

First frame of a Custom Range.

Default: 1

LastNumberptTrk_ptRangeLast

Last frame of a Custom Range.

Default: 100

TranslatePositionptTrk_translate

The track's move of Center, frame by frame (a Transform's translate). Keyed on every tracked frame.

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 0 0

RotateSliderptTrk_rotate

The track's turn about Center, in degrees (a Transform's rotate).

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 0

ScaleSizeptTrk_scale

The track's scale, width and height (a Transform's scale).

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 1 1

Skew XSliderptTrk_skewX

The track's shear (a Transform's skew X, skew order XY).

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 0

CenterPositionptTrk_center

The Source's centre on the Reference Frame: the center a Transform with these values needs.

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 1024 778

To 1PositionptTrk_to1

Where the track carries From 1 (a CornerPin2D's to1): exact for every Motion, Perspective too.

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 0 0

To 2PositionptTrk_to2

Where the track carries From 2 (a CornerPin2D's to2): exact for every Motion, Perspective too.

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 2048 0

To 3PositionptTrk_to3

Where the track carries From 3 (a CornerPin2D's to3): exact for every Motion, Perspective too.

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 2048 1556

To 4PositionptTrk_to4

Where the track carries From 4 (a CornerPin2D's to4): exact for every Motion, Perspective too.

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 0 1556

From 1PositionptTrk_from1

Corner 1 of the Source's box on the Reference Frame (a CornerPin2D's from1).

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 0 0

From 2PositionptTrk_from2

Corner 2 of the Source's box on the Reference Frame (a CornerPin2D's from2).

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 2048 0

From 3PositionptTrk_from3

Corner 3 of the Source's box on the Reference Frame (a CornerPin2D's from3).

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 2048 1556

From 4PositionptTrk_from4

Corner 4 of the Source's box on the Reference Frame (a CornerPin2D's from4).

Read-only: made from the track whenever it changes. Ctrl-drag it onto a Transform or CornerPin2D knob to link it, or copy its animation.

Default: 0 1556

Grade6 controls

A grade of the patch alone, after the light match: gain, lift, gamma, saturation, contrast and its own mix. Each can be keyed.

GainColourptGrd_ptGradeGain

Multiplies the patch (the white point), per channel.

Default: 1 1 1

LiftColourptGrd_ptGradeLift

Raises or lowers the patch's blacks, per channel.

Default: 0 0 0

GammaColourptGrd_ptGradeGamma

Bends the patch's midtones, per channel (above 1 = brighter).

Default: 1 1 1

SaturationSliderptGrd_ptGradeSaturation

The patch's colour strength: 0 = grey, 1 = as it is.

Default: 1

ContrastSliderptGrd_ptGradeContrast

The patch's contrast about mid-grey (0.18): 1 = as it is.

Default: 1

Grade MixSliderptGrd_ptGradeMix

How much of the grade is used: 0 = none, 1 = all of it.

Default: 1

Tips

  • In the Viewer, drag a point of the Source shape to reshape it. Ctrl+click or Alt+click its outline to add a point; Ctrl+Shift+click a point, or select it and press Delete, to remove it. Drag inside the shape to move it: the sample moves with it.
  • Click SOURCE (MASK) at the top left of the Viewer to edit the shape again. Changing a Destination control switches the Viewer to the sample by itself, and a Source control switches it back.
  • Source Translate moves the patch and its sample together; Translate, Rotate, Scale and the flips in Destination move only the sample. Reset Destination Transform puts the sample back on the Source.
  • Match Darks and Brights (off on a new node) keeps something dark that crosses the patch (a pole, a frame, a shadow) as dark as it is in the plate, instead of lifting it with the light of the brighter parts. It works with every Patch Mode but Direct Clone (No Lighting Match).
  • Lighting Adaptation blends from a plain copy (0) to the full light match (1). Structure Preserve below 1 lets some of the original detail show through the patch. Grain Amount sets how much of the plate's grain Grain Matched (Plate Grain) puts into the patch: 1 is the plate's own level.
  • Use Hold Sample From One Frame when the sample area moves its own way, with parallax or something passing through it; ticking it takes the frame you are on as the Sample Frame. Motion Blur, Shutter and Blur Samples work only with it, and are greyed out until it is ticked. Shutter 0.5 is a 180-degree shutter.
  • Clear Backward and Clear Forward clear the track keys before or after the current frame. When the Reference Frame is on the cleared side, the frames between it and the current frame hold the patch where it was drawn; they do not count as tracked, get no timeline mark, and a new track overwrites them.
  • When the patch goes partly out of the frame, the part still in the picture stays steady: its size and angle come from the nearby tracked frames, and a live sample's missing part comes from the nearest tracked frame that has it. With nothing to patch (no closed shape and nothing on Alpha, or Mix at 0), a plate with its own alpha passes straight through, so scrubbing is as fast as without the node.
  • At the foot of the Tracking Settings tab, Tracking Data shows the track as read-only Transform and Corner Pin values, keyed on every tracked frame: Ctrl-drag one onto a Transform or CornerPin2D knob to link it, or copy its animation.
  • Already have a track? Connect it to Track. After you change that tracker, press Read Track Input on the Tracking Settings tab to read it again.

Good to know

  • Tracking runs on the CPU with the ANR AI Planar Tracker's Algorithm: it needs no graphics card and no model download. The Tracking Settings tab holds that Algorithm's settings, with the same names, Wait for Viewer, and the track buttons again.
  • A new node starts with Soft Edges at 0, Motion on Translation / Rotation / Scale / Shear, Minimum Agreement at 0, Minimum Pixels Used (%) at 50 and Update Pattern Each Frame on.
  • Soft Edges work inward only: the patch fades in from the drawn line, and nothing outside the shape is touched. A shape too small for the softness gets a smaller one.
  • The Occlusion input keeps the occluder out of the track and out of the patch's colour, but the patch still covers it. To keep it in front, connect its matte to Mask as well and tick Invert Holdout Mask: the plate shows where the matte is.
  • New / Clear Mask also clears the track and Source Translate, and makes the frame you are on the Reference Frame.
  • With no frame tracked yet, a track starts from the frame you are on and makes it the Reference Frame. Set To Current Frame moves the Reference Frame to the frame you are on and keeps the track.
  • Read Track Input replaces the patch's track over the project's frame range, relative to the Reference Frame; a Tracker needs its tracks switched on at the Reference Frame. From a Tracker, 1 track gives a move, 2 a move, turn and scale, 3 an affine move, and 4 or more a perspective move.
  • An ANR Patch Tool from an older comp has no Alpha input and shows Upgrade: Alpha Input. It swaps the node for the current one with the same shape, track, settings, keys and name, each wire moved to its new input (the Mask to the last one) and the nodes below connected to it. One Undo puts the old node back.

Something unclear or missing? Write to support@anrfx.com.