3 D motion estimation of atmospheric layers from image sequences