Diffused expectation maximisation for image segmentation