Using MRFs and CRFs for computer vision problems.