A class of discrete multiresolution random fields and its application to image segmentation | Synapse