Text this: Energy minimization methods in computer vision and pattern recognition :