Statistics for A Multilevel Method for Image Segmentation