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