MATLAB: How to get coordinates of a curve in a binary image

binary imageimage coordinatesimage processing

Hi guys, I am having a binary image.How i can extract the coordinates of the curve from this image in matrix form? The image is attached for the reference.

Best Answer

You can use find(). You are unlikely to be happy with that however. You probably want bwboundaries or bwtraceboundary