how can I find the coordinates of connected pixel in a thinned image?

1 次查看(过去 30 天)
I want to find the coordinates of pixels that are connected together in a thinned image making some path. For example as in Urdu language the coordinates of the thinned image of alphabet Bay,pay or jeem etc...if i use [x,y]=find(image) function it gives the coordinates values of thinned image but not in a sequence. It scans from left to right and top to bottom.but i want coordinates of path in sequence. If anyone can help i will b very thankful.

回答(1 个)

Image Analyst
Image Analyst 2014-9-27
See suggestion in your duplicate question. http://www.mathworks.com/matlabcentral/answers/155347#comment_239615, but let's continue the discussion only in that thread because it's newer.

Community Treasure Hunt

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

Start Hunting!

Translated by