Azzera filtri
Azzera filtri

K Mean Clustering Output Results Plotting

4 visualizzazioni (ultimi 30 giorni)
rizwan
rizwan il 6 Apr 2015
Commentato: Image Analyst il 6 Apr 2015
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 Commento
Image Analyst
Image Analyst il 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.

Accedi per commentare.

Risposte (1)

Stalin Samuel
Stalin Samuel il 6 Apr 2015
  3 Commenti
Stalin Samuel
Stalin Samuel il 6 Apr 2015
check the dimensions of I

Accedi per commentare.

Categorie

Scopri di più su Graphics Performance in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by