How to find the islands of a binary matrix
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MINA
le 27 Fév 2018
Réponse apportée : Walter Roberson
le 27 Fév 2018
If you have a 2D binary matrix, how would you find the islands of ones?
Thanks
0 commentaires
Réponse acceptée
Walter Roberson
le 27 Fév 2018
regionprops() and request whichever identification mode you prefer, such as BoundingBox or 'PixelIdxList' or 'PixelList' or 'SubarrayIdx'
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!