MCMC in image analysis