Statistics for Soft Segmentation of Images