Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how do i use kmeans clustering??

1 回表示 (過去 30 日間)
Laila Hayat
Laila Hayat 2012 年 11 月 21 日
im loading a pic onion.png and using function kmeans(x,k) i assigned k=5. now problem is that i cant find what 'x' is and how to use it? never used matlab so dont know how to use the functions
  8 件のコメント
Laila Hayat
Laila Hayat 2012 年 11 月 26 日
a=imread('onion.png'); imshow(a); ab=double(a); cluster=kmeans(ab, 5); finalImage=reshape(cluster ,5); figure, imagesc(finalImage)
Laila Hayat
Laila Hayat 2012 年 11 月 26 日
code i wrote till now

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by