Clustering the image using k means
Mostrar comentarios más antiguos
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
Respuestas (2)
Image Analyst
el 23 de En. de 2013
0 votos
scatter() is often used to compare results by showing the clusters. Have you tried using scatter to visualize your cluster results?
2 comentarios
nkumar
el 24 de En. de 2013
Image Analyst
el 24 de En. de 2013
Editada: Image Analyst
el 24 de En. de 2013
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
el 24 de En. de 2013
In your example, use
kmeans(r, number_of_clusters)
5 comentarios
nkumar
el 26 de En. de 2013
Image Analyst
el 26 de En. de 2013
You asked for 2 and got 2. Did you run the Mathworks Example to see how they can be displayed?
nkumar
el 28 de En. de 2013
nkumar
el 3 de Feb. de 2013
Image Analyst
el 3 de Feb. de 2013
I don't have the stats toolbox so I can't try anything myself. Why don't you call tech support?
Categorías
Más información sobre k-Means and k-Medoids Clustering en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!