Optical flow by nonlinear relaxation