A Hybrid Algorithm for Motion Segmentation