How to find the islands of a binary matrix

9 visualizzazioni (ultimi 30 giorni)
If you have a 2D binary matrix, how would you find the islands of ones?
Thanks

Risposta accettata

Walter Roberson
Walter Roberson il 27 Feb 2018
regionprops() and request whichever identification mode you prefer, such as BoundingBox or 'PixelIdxList' or 'PixelList' or 'SubarrayIdx'

Più risposte (0)

Categorie

Scopri di più su Matrix Computations in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by