Graph cuts
Solution technique for general 2D problem