Info

此问题已关闭。 请重新打开它进行编辑或回答。

Plotting K Mean Results, K Mean Output Matlab

2 次查看(过去 30 天)
Experts,
Hope you are fine and doing well, i have the K Mean Implementation which runs fine , Testing Code is given below,
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);
Now what i want to do is to draw k Mean results pictorially as shown below ,
Can you please provide some help how we can achieve this by using idx and C. I tried as given in matlab k mean demo but did't worked in my case.
Best Regards

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by