How to find the islands of a binary matrix
12 views (last 30 days)
Show older comments
If you have a 2D binary matrix, how would you find the islands of ones?
Thanks
0 Comments
Accepted Answer
Walter Roberson
on 27 Feb 2018
regionprops() and request whichever identification mode you prefer, such as BoundingBox or 'PixelIdxList' or 'PixelList' or 'SubarrayIdx'
0 Comments
More Answers (0)
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!