1 - I need help about using the fcm function with image, the demos in matlab is just using it with data , and its not clear how i can modify it to be used with images.
i also need to recover the segmented image & display it as it's.
my image is 512x512 Lena ... i segment the image according to its intensity values so i dont do much with the original matrix i get from reading my image
I = imread ('my Image');
Xdata = double(I)/255 ;
[center,U,obj_fcn]=fcm (Xdata,2);
the result is the partition matrix .... U 2x512
and the cluster centers .... centers 2x512
how can i recover my segmented image 512x512 and display it ... or i'm not getting the use of this function right?
2- i dont know if there is something wrong about my concept, i already read about image segmentation, also read about Fuzzy c-means ... is there any farther reading i'm supposed to do regarding image processing or fuzzy, that can enhance my understanding to the way of how i can deal with my image matrix and the output matrix from the FCM function ... i know its a lame question.
3- other question regarding the fcm function
everytime i run it, giving the same inputs and criteria, the number of iteration is changed. the default number is 100 iteration, but sometime the function stops at 47 iter, other times it do the complete 100 iteration ,,,, and give different matrix every time, how can i verify my result?
sorry i'm still new to all this chaotic stuff and i need help from you experts for any of the above questions.
thanx
|
|
0
|
|
|
|
Reply
|
Stir
|
11/2/2010 11:07:03 AM |
|