Tight convex relaxations for vector-valued labeling