(a) Standard pairwise MRF model with image-grid data, where the circle represents a node or a pixel. The black circles are neighbors of the white one; (b) an example of MRF used in segmentation, where the nodes of neighboring segments are connected by applying Delaunay triangulation method.