Hi! I'm facing a problem of not being able to predict which cluster contains the image i require in a k-means clustering method. I've enclosed the details of the problem.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Meera Girijan
el 28 de Abr. de 2016
Editada: Meera Girijan
el 30 de Abr. de 2016
I'm doing an image segmentation using k-means algorithm to extract just a particular feature from a whole image, for instance a car from the surrounding environment. I've taken three clusters for this. I need to save just the cluster that contains the car, but not able to isolate it since the clusters are generated randomly.
3 comentarios
Respuesta aceptada
Walter Roberson
el 28 de Abr. de 2016
You cannot use k-means clustering alone to detect the presence or absence of something. k-means clustering is going to find the given number of clusters without having any interpretation of what the clusters mean. If you feed it an image of a banana instead of an image of a car, it is going to find 3 clusters in the image of the banana.
You should therefore be extracting feature descriptions from portions of the image and run clustering on the feature descriptions -- possibly only on two clusters ("matches" and "does not match") You can then given an interpretation to the clustering based upon knowing what the features imply.
4 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!