Graphical models and image processing : GMIP.