How to find the islands of a binary matrix

6 次查看(过去 30 天)
If you have a 2D binary matrix, how would you find the islands of ones?
Thanks

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by