Text this: Dynamic graph cuts and their applications in computer vision