Splitting an object in an image into segments
Mostrar comentarios más antiguos
I have a number of wavy lines in a logical image. Using bwlabel I am able to get the individual pixel indices for each line.
I was wondering if there is a way to select, on a single line, where you want to split it into segments, and return the pixel indices separately for the each segment a line is split into?
Respuesta aceptada
Más respuestas (1)
Elisa
el 18 de Jul. de 2013
0 votos
In one I don't know...
But using few lines, after bwlabel, I would use regionprops with area propertie...In a third line, cut that piece of the matrix...
Categorías
Más información sobre Region and Image Properties en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!