View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 4 ratings Rate this file 71 Downloads (last 30 days) File Size: 812 KB File ID: #37530 Version: 1.7
image thumbnail



Quan Wang (view profile)


17 Jul 2012 (Updated )

Implementation of the Hidden Markov Random Field Model and its Expectation-Maximization Algorithm

| Watch this File

File Information

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.

Required Products MATLAB Compiler
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
08 Oct 2015 dag

dag (view profile)

Compiling the mex files seems to have made most morphological image processing (imopen, imclose, etc.) functions unstable and continue to crash MATLAB. Any suggestions?

01 Feb 2015 Balu

Balu (view profile)

04 Apr 2014 Regan Dhakshnamurthy

How can i use this for multispectral classification with PCA ?

Comment only
03 Mar 2014 Siqi

Siqi (view profile)


03 Jul 2013 Octa

Octa (view profile)

The program is working properly.

Can you suggest how to apply it for segmenting gray matter from an MRI Scan Image?

Thank you.

26 Dec 2012 1.6

Minor bugs have been fixed.

17 Mar 2014 1.7

Rewrote several minor parts in C++.

Contact us