x,y coordinates of edge lines in image ??

7 次查看(过去 30 天)
Dear all,
I've got edge of image as follows.
I=imread('edge.png');
I=rgb2gray(I);
the_edge = edge(I);
Now I need to get the x,y coordinates of edge lines in image.Can anybody suggest an idea ?

采纳的回答

David Young
David Young 2011-6-14
[y, x] = find(the_edge);

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by