Real-time optical flow estimation