In this project, we study the hidden Markov random field (HMRF) model and its expectation-maximization (EM) algorithm. We implement a MATLAB toolbox named HMRF-EM-image for 2D image segmentation using the HMRF-EM framework. This toolbox also implements edge-prior-preserving image segmentation, and can be easily reconfigured for other problems, such as 3D image segmentation.
Is there a corresponding article in this code?
Can this code be applied to images with more than one channel, i.e. where each pixel is characterized by more than one gray value?
Compiling the mex files seems to have made most morphological image processing (imopen, imclose, etc.) functions unstable and continue to crash MATLAB. Any suggestions?
How can i use this for multispectral classification with PCA ?
The program is working properly.
Can you suggest how to apply it for segmenting gray matter from an MRI Scan Image?
Add link to document.
Rewrote several minor parts in C++.
Minor bugs have been fixed.
Create scripts with code, output, and formatted text in a single executable document.