You are here: User Guide > NukeX > Retiming and Motion Blur > Connecting VectorGenerator

Connecting VectorGenerator

To connect VectorGenerator:

1.   Select Time > VectorGenerator to insert a VectorGenerator node after the sequence from which you want to generate motion vectors.
2.   Attach a Viewer to the output of the VectorGenerator node.
3.   If your sequence is composed of a foreground object moving over a background, the motion estimation is likely to get confused at the edge between the two. To fix this, add a matte of the foreground region to the Matte input. Then, use Matte Channel in the VectorGenerator properties to select which component of the matte to use.

This helps the motion estimation algorithm inside VectorGenerator understand what is foreground and background in the image, so that the dragging of pixels between overlapping objects can be reduced.

White areas of the matte are considered to be foreground, and black areas background. Grey areas are used to attenuate between foreground and background

4.   If you supplied a foreground matte in the previous step, you can set Output in the VectorGenerator properties to:

Foreground - to output the vectors for the foreground regions.

Background - to output the vectors in the background regions.

5.   Proceed to Viewing and Refining the Results below.