Detect a edge as a function
Mostrar comentarios más antiguos
I have a image that are edges of an object (file attached)

Now, i want to detect all of edges as functions like X and Y vector. X contains position on x-axis, Y contains position on y-axis of every point in a edge (curve). Every edge (curve) has a function (a set of x,y vector). But i have no any algorithm to do that. I need a help
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 25 de Sept. de 2015
0 votos
If you can get a binary image instead of that, then you can use bwboundaries(). It looks like you used either edge() or bwperim(). Don't use bwperim if you want edge coordinates. You might want to experiment with activecontour() instead of edge().
1 comentario
Nguyen Tan Duoc
el 25 de Sept. de 2015
Categorías
Más información sobre Object Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!