Stabilizing and Tracking > Tracking >

# Four-Point Tracking

With four-point tracking, you use four trackers in the Stabilizer to generate tracking data for anchoring the four corners of a bilinear surface to the background clip. The bilinear surface then tracks the horizontal and vertical translation of the reference points on the background clip.

Because four-point tracking applies to surfaces, you select the object that follows the pattern on the back clip by assigning the tracking data to its bilinear surface in Action.

The markers you use must be well defined and should be planned when shooting the sequence. It is not always possible to do four-point tracking when the markers are not well defined.

To perform four-point tracking:

1. Load front and back clips in Action.

   The front clip supplies the surface and the back clip supplies the four anchor points that you want to track.

2. Double-click the image node in the schematic to display the Surface menu.
3. Select Bilinear from the Shape box.
4. Click the Vertices tab to display the Stabilizer button and tracking options.
5. In the Stabilizer Option box, select Track
6. Click the Stabilizer button.

   The Stabilizer opens and the back clip appears.

   NoteIf the wrong clip appears in the image window, return to Action and change the back clip to the clip that contains the pattern you want to track.
7. Position the four trackers on the background clip, and click Analyse to generate the tracking data.
   NoteThe trackers should be positioned in order; otherwise, the result will be inverted or displaced. Place Tracker1 in the upper left area of the image to be tracked, Tracker2 in the upper right, Tracker3 in the lower left and Tracker4 in the lower right.
8. After the analysis is complete, make sure the trackers are still active, then click Return.

   The Surface menu in Action reappears. The tracking data is automatically applied to the four corners of the bilinear surface.

## Using Offsets

Instead of anchoring the entire front image to the back clip, you may only want to use a small region of the image. You can move the four corner anchor points anywhere inside or outside the front image to define the area of the front image that you want to use, and animate the resulting offsets.

If the anchor point offsets need to change from frame to frame to track a pattern on a bilinear surface, you can use the Stabilizer to generate the offsets automatically. Note that the image can be distorted when you use this method.

To generate the offsets using the Stabilizer:

1. Track the four anchor points on the back clip.
2. Display the Action Surface menu for the bilinear surface that you tracked.
3. In the Vertices tab, enable Edit Offsets and use the Offsets controls to edit the offsets to match the corners of your square.
4. Click the Stabilizer button.

   The front clip appears in the Stabilizer.

5. Position the four trackers on the front clip in the same order as the four anchor points.
6. Click Analyse to generate the tracking data. After the analysis is complete, make sure the trackers are still active, then click Return.

   The Surface menu in Action appears. The tracking data is automatically applied to the front clip.

You can also animate the offsets. The animation channels for the anchor point offsets are in the Offsets channel of the bilinear surface in Action Animation menu. To maintain resolution independence, each X and Y value is expressed as a percentage relative to its corresponding corner. Each anchor point offset starts with a default value of zero. For example, if you change the upper-left X offset value to 20, then the upper-left anchor point is moved inside the bilinear surface by 20%. Negative values offset the anchor points outside the bilinear surface.

You can also use the Copy and Paste buttons in the Channel Editor to copy one anchor point offset setup to another.

#### Related Information

- One-Point and Two-Point Tracking