Stabilize as an alternative to matchmove – Apple Shake 4 Tutorials User Manual
Page 221

Chapter 7
Tracking and Stabilization
221
3
Set shadowOpacity to approximately .7.
Note: For additional fine tuning, look at the script bus_track2.shk script in the $HOME/
nreal/Tutorial_Media/Tutorial_07/scripts directory. This script adds some color correction
and masking to take care of the reflections that go across the side of the bus from
frames 36 to 40.
Stabilize as an Alternative to MatchMove
You may have noticed that tuning the corners of the sign using the FG/BG Viewer
controls was less than ideal. Some might use the word “maddening and suicide-
inducing,” as there is no interactive feedback. An added drawback: Onscreen controls
from upstream are not properly adjusted by the MatchMove node. This is one
advantage that the Stabilize node has over the MatchMove node. As demonstrated in
the Eat At Joe’s tutorial, you can use Stabilize instead of MatchMove to create
matchmoves. This gives you a more intuitive control mechanism, but requires more
plumbing in the Node View. Note that for this exercise, you are copying the tracks from
MatchMove1, but you can generate the tracks with a Stabilize node.
To use Stabilize for creating a matchmove:
1
Attach Stabilize to the node you want to track (in this example, the bus image), and
generate your tracks.
2
Extract the node (select the Stabilize node and press E), and attach it to the image you
want to transform (in this example, the sign).
3
In the Stabilize parameters, activate the transformation with applyTransform and set
inverseTransform to match.
4
Composite the Stabilize over the background with an Over node.
5
Optional Step (not necessary for this tutorial): Insert a Transform–Viewport node above
the Stabilize node to adjust the frame around what you want to track. Or use a
CornerPin node, and invert its transform. Either of these techniques readjusts the corner
positions to match the image corners in the next step. This is useful only when you are
adjusting an image area that does not match the frame borders.
No shadow
With AddShadow