The document discusses the use of the R package 'bayesimages' for Bayesian image segmentation, focusing on intractable likelihoods and the application of Markov Chain Monte Carlo (MCMC) methods. It emphasizes the challenges of scalability in image analysis due to large datasets and proposes using compiled code and parallel computation to enhance efficiency. The findings indicate that pre-computed surrogate models significantly reduce the computation time for model fitting from over 100 hours to just 4 hours.