Two-stage analysis of the motion of 2-dimensional patterns, what is the first stage?