Many-to-many high order matching : applications to tracking and object segmentation