Exact optimization for markov random fields with convex priors
Introduction to Algorithms