File list (Check if you may need any files):
MRF matlab code\addNoise.m
...............\computeBeliefs.m
...............\gaussplot.m
...............\getCliqueProb.m
...............\getLogProb.m
...............\getPropMat.m
...............\getRasterNeighbors.m
...............\ICM.m
...............\initBPMessages.m
...............\initICM.m
...............\initLocalEvidence.m
...............\initMRF.m
...............\initNodes.m
...............\initPaths.m
...............\ipf.m
...............\marginals2image.m
...............\multMessages.m
...............\oneIterBP.m
...............\runBP.m
...............\showIm.m
...............\states2image.m
...............\testMRF.m
...............\utAxisAngleToRotmat.m
...............\utCropImageToPowerOfTwo.m
...............\utFilename.m
...............\utIf.m
...............\utIsScalarBoolean.m
...............\utIsScalarInteger.m
...............\utIsScalarReal.m
...............\utIsSingleString.m
...............\utNormalize.m
...............\utParseArgs.m
...............\utReadPnm.m
...............\utRotmatToAxisAngle.m
...............\utSafeInverse.m
...............\utSafeMult.m
...............\utSigmoid.m
...............\utWritePnm.m
MRF matlab code