Convex Relaxations for Binary Image Partitioning and Perceptual Grouping