Borrar filtros
Borrar filtros

How to find the islands of a binary matrix

6 visualizaciones (últimos 30 días)
MINA
MINA el 27 de Feb. de 2018
Respondida: Walter Roberson el 27 de Feb. de 2018
If you have a 2D binary matrix, how would you find the islands of ones?
Thanks

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by