Info

This question is closed. Reopen it to edit or answer.

Plotting K Mean Results, K Mean Output Matlab

2 views (last 30 days)
rizwan
rizwan on 8 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!