How to find the islands of a binary matrix
12 次查看(过去 30 天)
显示 更早的评论
If you have a 2D binary matrix, how would you find the islands of ones?
Thanks
0 个评论
采纳的回答
Walter Roberson
2018-2-27
regionprops() and request whichever identification mode you prefer, such as BoundingBox or 'PixelIdxList' or 'PixelList' or 'SubarrayIdx'
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!