Products, services, and OS functions
may not be available in this country.

Match move an object in Motion

To use a Match Move behavior, you need at least two objects in your project: a source object and a destination object. Typically, the source is a video clip, but can also be an object animated by keyframes or behaviors. The source object provides movement data based on a tracking analysis of its video or its animation attributes. That movement data is then applied to the destination object. The destination object can be an image, a shape, text, a particle emitter, a camera, and so on.

Match move a destination object to a source object in a clip

In this workflow, the Match Move behavior tracks recognizable objects such as people or faces, animals, and cars in the source clip, then applies that resulting track data to a destination object. As a result, the destination object matches the movement of the tracked element in the source clip.

  1. Import a source video clip into your Motion project, then import a destination object (such as an image or clip), or add a destination object (such as a shape, particle emitter, or text).

    The destination layer must be above the source video clip layer in the Layers list.

  2. In the Layers list, select the destination object, click Behaviors in the toolbar, then choose Motion Tracking > Match Move.

    Important: If you’re applying the Match Move behavior to a group, make sure the footage being analyzed resides outside of that group.

    An object tracker conforming to the destination object is added to the canvas.

  3. If necessary, change the shape or size of the object tracker.

  4. In the Behaviors Inspector, click the Analysis Method pop-up menu, then choose one of the following options:

    • Automatic: Automatically chooses the most suitable analysis method. Because the best method is highly dependent on the properties of a clip and each use case, you may need to experiment with different analysis methods to achieve the best result.

    • Combined: Uses a combination of the Machine Learning and Point Cloud analysis methods (described below) to track position, scale, and rotation.

    • Machine Learning: Uses a machine learning model trained on a dataset to identify people, animals, and many other common objects, allowing the tracker to follow the subject in a specified region of video. Choose this option when absolute tracking precision isn’t required, such as when attaching titles or graphics to objects or people. This method can overcome moderate occlusion—when an object (such as a tree or car) briefly obscures the subject being tracked.

    • Point Cloud: Tracks a specific reference pattern and identifies how the pattern transforms from one frame to the next. Choose this option when you need more precise tracking of specific pixels. This method tracks position, scale, and rotation, and excels at tracking regions that are rigid and somewhat flat (from the camera’s point of view).

  5. In the Behaviors Inspector, do one of the following:

    • Analyze the entire clip: Click Analyze. The clip is analyzed forward from the playhead position to the end of the clip (or to the frame where the reference pattern can no longer be tracked), and then backward from the playhead position to the start of the clip.

      Behaviors Inspector showing tracking behavior’s Analyze buttons
    • Analyze the portion of the clip before the playhead position: Click the left arrows next to the Analyze button.

    • Analyze the portion of the clip after the playhead position: Click the right arrows next to the Analyze button.

    The tracking analysis progress window displays the analysis method used for the track.

    Tip: If you’re using the Machine Learning analysis method and observe jitter during the analysis (the onscreen object tracker bouncing or jumping from one size to another), try switching to the Point Cloud analysis method. Its tracker is much less susceptible to quick changes.

  6. To stop the tracking analysis, click the Stop button in the progress window or press Esc.

    Tracking keyframes and the transformed object’s keyframes appear in the Keyframe Editor. If the Keyframe Editor is not visible, click the Show/Hide Keyframe Editor button in the lower-left corner of the Motion window.

    Show/Hide Keyframe Editor button in the timing toolbar

    A confidence curve is also displayed in the Keyframe Editor. This curve provides a visual indication of the tracker’s accuracy relative to its parameter settings in the Inspector. The confidence curve is for reference only and is not used for editing purposes.

    Keyframe Editor showing tracking keyframes and the tracked object keyframes

The movement of the destination object is matched to the movement of the reference pattern analyzed in the clip, but you can still reposition the object in the canvas. To apply scale changes in the source object to the destination object, see the following task Adjust the scale of a match-moved object.

Adjust the scale of a match-moved object

When you match move a destination object to a source clip using Object mode tracking, changes in the size of the source object are not automatically applied to the destination object. Using the Scale Mode pop-up menu, you can match changes in scale of the source object to the destination object.

  1. In Motion, complete steps 1–5 in the previous task, Match move a destination object to a source object in a clip.

  2. In the Adjust parameter row of the Behaviors Inspector, select Scale.

  3. Do one of the following:

    • Uniformly scale the destination object to the minimum dimension of the tracker region: Click the Scale Mode pop-up menu, then choose Scale All (Fit). If the destination object contains changes in scale, this setting scales the maximum size of the object to the minimum dimension of the tracker region.

    • Uniformly scale the destination object to the maximum dimension of the tracker region: Click the Scale Mode pop-up menu, then choose Scale All (Fill). If the destination object contains changes in scale, this setting scales the minimum size of the object to the maximum dimension of the tracker region.

    • Nonuniformly scale the destination object based on the size of the tracker region: Click the Scale Mode pop-up menu, then choose Scale X & Y. If the source object contains changes in scale, this setting may cause the destination object to be stretched or squashed.

Match move a destination object to points or patterns in a source clip

In this typical workflow, the Match Move behavior tracks points or patterns in the source clip, then applies that resulting track data to a destination object. As a result, the destination object matches the movement of the tracked element in the source clip.

  1. Import a source video clip into your Motion project, then import a destination object (such as an image or clip), or add a destination object (such as a shape, particle emitter, or text).

    The destination layer must be above the video clip layer in the Layers list.

  2. In the Layers list, select the destination object, click Behaviors in the toolbar, then choose Motion Tracking > Match Move.

    Important: If you’re applying the Match Move behavior to a group, make sure the footage being analyzed resides outside of that group.

    By default, an object tracker conforming to the destination object is added to the center of the canvas.

  3. In the Behaviors Inspector, click the Mode pop-up menu, then choose Point.

    In the canvas, the object tracker changes to a point tracker. Because the default Match Move tracker records position data, it’s known as an anchor tracker.

    Onscreen point tracker
  4. Optional: To track more complex motion (such as a rotating element or an element with four corners), do one of the following:

    • Add a second point tracker to track additional rotation and scale data: In the Behaviors Inspector, select the Rotation-Scale checkbox (under the Anchor checkbox), then drag the new point tracker into position in the canvas. See Two-point tracking.

    • Add four point trackers to track an element with four corners: In the Behaviors Inspector, click the Type pop-up menu, choose Four Corners, then proceed to step 3 of Use four-corner tracking to pin a destination object to a source object.

      To remove a point tracker, click Remove in the track row in the Behaviors Inspector.

  5. Move the playhead to the frame where you want the track analysis to begin.

  6. In the canvas, drag the tracker (or trackers) to the area (or areas) you want to track.

    As you drag the tracker in the canvas, the region around the tracker becomes magnified to help you find a suitable reference pattern.

    Canvas showing magnified area that appears when dragging track point

    Note: For more information about adjusting the point tracker, see Adjust onscreen trackers.

  7. In the Behaviors Inspector (or HUD), do one of the following:

    • Analyze the clip forward from the position of the playhead: Click Analyze.

    • Analyze the portion of the clip before the playhead position: Click the left arrows next to the Analyze button.

    • Analyze the portion of the clip after the playhead position: Click the right arrows next to the Analyze button.

    The behavior analyzes the movement of the reference pattern in the video clip, then matches the movement of the destination object to it.

  8. To stop the tracking analysis, click the Stop button in the progress window or press Esc.

    The points in the canvas correspond to the tracking keyframes that appear in the Keyframe Editor. If the Keyframe Editor is not visible, click the Show/Hide Keyframe Editor button in the lower-left corner of the Motion window.

    Show/Hide Keyframe Editor button in the timing toolbar

    A confidence curve is also displayed in the Keyframe Editor. This curve provides a visual indication of the tracker’s accuracy relative to its parameter settings in the Inspector. The confidence curve is for reference only and is not used for editing purposes.

    Keyframe Editor showing tracking keyframes and the tracked object keyframes

Match move using animation data from keyframes or behaviors

Because objects animated with keyframes or with behaviors already contain motion data, you can apply that data to a destination object using the Match Move behavior without performing a tracking analysis.

The following simple example uses a “magic wand” image (a rectangular shape) animated using the Spin behavior and the Magic Dust particle emitter (available in the Library). The Match Move behavior extracts the animation of the magic wand and applies it to the Magic Dust particle emitter to create the illusion of sparkles flying off the tip of the spinning wand.

  1. In Motion, make sure the destination object (the particle emitter) is above the source object (the magic wand shape) in the Layers list.

  2. In the Layers list, select the destination object, click Behaviors in the toolbar, then choose Motion Tracking > Match Move.

    In the Layers list, the Match Move behavior appears directly under the particle emitter.

    Layers list showing the Match Move behavior applied to a particle emitter

    Because the animated source object (the spinning magic wand) is below the Match Move behavior in the Layers list, the source animation data is automatically loaded into the Source well in the Behaviors Inspector. If you don’t see the animated object in the Source well, drag the animated object from the Layers list into the Source well.

    Inspector showing Match Move behavior settings
  3. In the canvas, drag the destination object (the particle emitter) to the tip of the magic wand.

    The motion path inherited from the source object appears in the canvas, attached to the destination object.

    Canvas showing object at its starting point

    As a result, the particle emitter and the wand now share the same animation path.

  4. Play the project (press the Space bar).

    The particles match the movement of the wand.

    Canvas showing two objects moving together

Once you’ve match moved an object, you can still adjust the object (resize, rotate, scale, move, apply filters to, and so on). Tracking data is separate from an object’s own properties or transform parameters.

For a full description of Match Move parameters, see Match Move controls.

Download this guide: PDF

Morty Proxy This is a proxified and sanitized view of the page, visit original site.
Helpful?
Character limit: 250
Maximum character limit is 250.
Thanks for your feedback.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.