Seol mar théacs é seo: Energy minimization methods in computer vision and pattern recognition