Region based image segmentation using stochastic image models