Clustering the image using k means
2 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (2 件)
Image Analyst
2013 年 1 月 23 日
scatter() is often used to compare results by showing the clusters. Have you tried using scatter to visualize your cluster results?
2 件のコメント
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 件のコメント
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?
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!