CONTOURS FROM APPARENT MOTION: A COMPUTATIONAL THEORY