Object segmentation using independent motion detection