Use an intrinsic Markov random field prior to model the artery image. Keep things simple
and use a symmetric first-order field, so that you only need to fit
the MRF, its precision, and the data precision. Well, try fitting
both precisions. Because the MRF is improper, you may need a highly
informative prior for the data precision. Even then, you may find
that the MRF precision gets very large and the data precision very
small (so that it fits a smooth field and ignores the data), or the
reverse (so that it fits the data exactly and ignores any possible
spatial structure). See if you can find a prior specification that
gives some smoothing without going to either extreme. If not, try
fixing the data precision at some reasonable value and just fitting
the MRF and the MRF precision. Make side-by-side plots of the
original image and the posterior mean field. Also plot two
realizations of the posterior MRF. (The first pair should be rather
similar to each other, the second pair should be different from each other and
from the previous pair, in particular less smooth.)
You can read the data into a vector and check the image
with:
- artery=scan("artery.txt")
- image(1:64,1:64,matrix(artery,64,64),col=gray(1:129/129))