K Mean Clustering Output Results Plotting

1 回表示 (過去 30 日間)
rizwan
rizwan 2015 年 4 月 6 日
コメント済み: Image Analyst 2015 年 4 月 6 日
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 件のコメント
Image Analyst
Image Analyst 2015 年 4 月 6 日
You forgot to attach an image that we can use imread() on, so we can't run your code with your image.

サインインしてコメントする。

回答 (1 件)

Stalin Samuel
Stalin Samuel 2015 年 4 月 6 日
  3 件のコメント
Stalin Samuel
Stalin Samuel 2015 年 4 月 6 日
check the dimensions of I
rizwan
rizwan 2015 年 4 月 6 日
It is 206*314

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by