skeleton extension to object border
Mostrar comentarios más antiguos
Hello, I have the edge representation of binary image and it´s skeleton. Skeleton is given by thinning algorithm and so it doesn´t touch the object border, as you can see in the picture attached. What I want to do is also demonstrated in the picture. I need the skeleton (it is supposed to be medial axis) to be from one tip of object border to the opposite. In other words, the end-point of skeleton (object a), marked with green line) is supposed to be connected with tip points of object (object a), marked with orange line). Output should approximately look like object b) (created manually)
In articles, there they do it via extrapolation so I tried polyfit, but I don´t know how to extrapolate it. I tried spline interpolation also. Still I think this is not a good way due to very different orientation of objects. I was thinking about finding the tip point on the border and then connecting skeleton end- point with this tip but I have absolutely no idea how to find the tip coordinates (marked with orange line) :( Does anyone more image processing skilled have an idea?

Respuesta aceptada
Más respuestas (1)
Mariana
el 6 de Abr. de 2014
0 votos
Categorías
Más información sobre Morphological Operations 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!