Constrained parametric min-cuts for automatic object segmentation