K Mean Clustering Output Results Plotting
Mostrar comentarios más antiguos
I have the following code which runs fines...
index_string = int2str(k);
Image_Path = strcat('D:\MS\Research\Classification Model\Research Implementation\EnhancedImage\ROI',index_string,'.jpeg');
I1 = imread(Image_Path);
I=double(I1);
figure
subplot(1,3,1)
imshow(I1)
subplot(1,3,2)
[idx,C] = adaptcluster_kmeans(I);
I want to show the output of K Means like this , what should i do?

1 comentario
Image Analyst
el 6 de Abr. de 2015
You forgot to attach an image that we can use imread() on, so we can't run your code with your image.
Respuestas (1)
Stalin Samuel
el 6 de Abr. de 2015
0 votos
3 comentarios
rizwan
el 6 de Abr. de 2015
Stalin Samuel
el 6 de Abr. de 2015
check the dimensions of I
rizwan
el 6 de Abr. de 2015
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!