Code covered by the BSD License

### Highlights fromEM image segmentation

4.7

4.7 | 10 ratings Rate this file 128 Downloads (last 30 days) File Size: 2.05 KB File ID: #10956

# EM image segmentation

03 May 2006 (Updated 03 May 2006)

Apllication of EM algorithm to segment a grey scale image on diferent classes

File Information
Description

This program gets an image and the desidered number of partitions and fits the image histogram using a mixture of gaussian distributions and provides a clasified image

MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File
Everyone's Tags
Tags I've Applied
19 Feb 2013
01 Jan 2013

sir
after executing this it is declaring that k is undefined

04 Dec 2012

Some people want to know how to view the segmented image. For example suppose you have two classes ie k=2; us the following code to view it
[row col] = size(ima);
final_img = zeros(row,col);
for i=1:row
for j=1:col
final_img(i,j)=1;
else
final_img(i,j)=255;
end
end
end
imshow(final_img/255);
This is a naive way of viewing it .. you may have to change somethings if k>2. Anywayz hope it helps. The mask basically stores the segmented image.

16 Nov 2011

great job.i am using the same algorithm in my project for x-ray images.can u please tell how to view the segmented image

18 Feb 2010

Sir, I am starting my project on the same subject. i was unable to find the algorithm psuedocode for em algorithm. kindly send me one at rprashanth31@gmail.com. Also can u just tell me the explanation for the source code..

21 Dec 2009

Hi, could you please explain how I can use "mask" to see result of segmentation??

17 Mar 2009

Greetings Prof., Very nice .. could you please let me know what exactly does the mask variable store ? As what i see it classifies each pixel that falls within each class . Am i correct in that assumption?

Thanks

24 May 2008

great job!

27 Apr 2008

Thanks

15 Aug 2007
06 Nov 2006

HI, Greetings,can it for my color image segmentation ?

04 Sep 2006
12 Jul 2006
03 May 2006

look when u make a code u must show us the output to see it then u read ur code .. try to explain that with output we can see bye