Determining a Good Reference Frame
The reference frame should be the frame where the reference feature is most representative in terms of shape, size, and rotation. It is usually the first frame, but it can be any frame that contains part of the motion you want to track since the analysis can proceed either forward or backward.