MATLAB: X,y coordinates of edge lines in image ?

coordinate systemedgeimage processingMATLAB

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 ?

Best Answer

[y, x] = find(the_edge);