🗓 Spring 2019
Recovering a clean image from noisy input image through representing the image using the pairwise Markov random field model and implementing coordinate descent.
Resulted in ~99.4% accuracy.
Noisy
Recovered Image
The noisy image
The graphical model used is a pairwise Markov Random Field (MRF) shown below.
There are two types of cliques in this MRF. For
Giving the final energy function for the model:
which defines a joint distribution over x and y given by
coordinate-descent algorithm:
- Initialize
$\lbrace x_i\rbrace (x_i=y_i), h>0, \beta >0, \eta>0$ . - For each
$x_i$ , fix the neighborhood and see whether$- x_i$ would decrease the energy, if so flip$-x_i$ . - Stop when no changes can be made for
$\mathbf{x}$ . - Optimize parameters
$h, \beta > \eta$ until desired recovery accuracy.