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

1 view (last 30 days)
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.

Answers (1)

Image Analyst
Image Analyst on 27 Sep 2014
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!