Joint motion estimation and segmentation based on the MDL principle