K Mean Clustering Output Results Plotting
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148753/image.png)
1 Kommentar
Image Analyst
am 6 Apr. 2015
You forgot to attach an image that we can use imread() on, so we can't run your code with your image.
Antworten (1)
Siehe auch
Kategorien
Mehr zu Feature Detection and Extraction finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!