Get coordinates from struct created with bwconncomp
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Stefan Lang
el 28 de Abr. de 2021
Comentada: Matt J
el 28 de Abr. de 2021
Hello guys
I have a binary image as a prediction from a neural network. This image has several regions (vertebras of the spine). When i run bwconncomp(binary_image), i get as a result a struct with 17-19 Objects (vertebras). Now i need to find the coordinates of the regions. [y x] = find(binary_image) just gives me all coordinates, but i need this separated for each region, so 17-19 coordinate arrays. How do i get this?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!