How to draw correct path for this image
Show older comments

Above is my input(model) file. Left starting corner is starting point and right end is finishing. So i want to draw correct path from start to end. So anyone help me to get the output file like below

Accepted Answer
More Answers (1)
Alex Taylor
on 15 Jan 2014
0 votes
The Image Processing Toolbox functions bwdistgeodesic and graydist can be used to solve this problem. This is explored in the following blog post:
That Image Analyst already provided.
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!