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
THANK YOU!!!!!!!!!!!! THIS IS PERFECT! I needed it so much, you saved my life !
In how many iterations does the algorithm converges?
Dear Prof. Jose Vicente Manjon Herrera,
In line 69, you set the stop criteria as:
if((nloglik-loglik)<0.0001) break; end;
Would this cause problem for very small negative nloglik?
I think you could just use values of mask, similar way to "Labeled Componentes Algorithm", remember ?. Every component is labeled with one single number like 1,2...etc. After that just multiply with original image
Aniway, Jose Vicente Do you think "ICA" or this method suits better for image segmentation?
Good job!! I am starting my project on the same subject. But I can't understand your code exactly...could you please let me know what exactly explanation for the source code.
And I want to know means (red color line, blue color line, green color line, y-axis and x-axis)
MY e-mail address is firstname.lastname@example.org
very good job！
please, sir , send me a source code on image segmentation. I want to segement weeds from soil.My email address is email@example.com .
after executing this it is declaring that k is undefined
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);
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.
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
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 firstname.lastname@example.org. Also can u just tell me the explanation for the source code..
Hi, could you please explain how I can use "mask" to see result of segmentation??
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?
HI, Greetings,can it for my color image segmentation ?
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
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.