How can i apply k-means in gray scale images so that it always set forground is black and background is white(if i used 2 clusters)?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When i apply k-means in a gray scale image ,i found that for some pictures the foreground pixels are black,background are white and vice-versa(I use 2-clusters). How can i apply k-means in gray scale images so that it always set forground is black and background is white?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!