Bayesian Image Segmentation in Practice

This article introduces the combination of Bayesian methods and Markov Random Fields (MRF) through an image segmentation example. By introducing ‘Homogeneity Prior’ and ‘Gibbs Sampling’, it demonstrates how to use MRF to solve image denoising and segmentation problems, and compares the results of traditional Maximum Likelihood, MRF Simulated Annealing, and the Simple Relaxation (ICM) method commonly used in industry. [Read More]

Markov Random Fields (MRF)

This article introduces the core concepts of Markov Random Fields (MRF), extending from Markov Chains in time series to MRFs on spatial lattices. It defines local dependencies through ’neighborhoods’ and ‘cliques,’ and details how the Hammersley-Clifford theorem connects MRFs with Gibbs distributions. Finally, it demonstrates a Python implementation of image denoising using MRF combined with Simulated Annealing and Gibbs Sampling. [Read More]