Number of spot in binary image
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mohammed alany
le 8 Juin 2019
Commenté : mohammed alany
le 8 Juin 2019
how i can find the spot of binary imagr,
the result of binary image below must be = 4
how i can find it?????
0 commentaires
Réponse acceptée
Walter Roberson
le 8 Juin 2019
bw = im2bw(imread('image.jpeg'));
[~, numspots] = bwlabel( imclearborder(~bw) );
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!