Clustering the image using k means
이전 댓글 표시
I have detected the face and have extracted features for face such as mean ,variance ,standard deviation,
I have applied k means directly to image and have clustered,by converting to HSV,now i have to give comparison result
by applying kmeans on features extracted values on the image ,please tell how to perform this
답변 (2개)
Image Analyst
2013년 1월 23일
0 개 추천
scatter() is often used to compare results by showing the clusters. Have you tried using scatter to visualize your cluster results?
댓글 수: 2
nkumar
2013년 1월 24일
Image Analyst
2013년 1월 24일
편집: Image Analyst
2013년 1월 24일
You said "I have applied k means" but it appears that you have not. I don't have the Statistics Toolbox so I can't try your code or develop any using kmeans(). All I can suggest is this Mathworks example: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html
Thorsten
2013년 1월 24일
In your example, use
kmeans(r, number_of_clusters)
댓글 수: 5
nkumar
2013년 1월 26일
Image Analyst
2013년 1월 26일
You asked for 2 and got 2. Did you run the Mathworks Example to see how they can be displayed?
nkumar
2013년 1월 28일
nkumar
2013년 2월 3일
Image Analyst
2013년 2월 3일
I don't have the stats toolbox so I can't try anything myself. Why don't you call tech support?
카테고리
도움말 센터 및 File Exchange에서 k-Means and k-Medoids Clustering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!