How to draw correct path for this image

3 Ansichten (letzte 30 Tage)
saravanakumar D
saravanakumar D am 7 Jan. 2014
Kommentiert: Image Analyst am 15 Jan. 2014
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

Akzeptierte Antwort

Image Analyst
Image Analyst am 7 Jan. 2014
This is what my maze solving program does. Go to my File Exchange to get it: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  4 Kommentare
saravanakumar D
saravanakumar D am 15 Jan. 2014
But it's not have two walls.It's not perfect maze
Image Analyst
Image Analyst am 15 Jan. 2014
Well you can make it one by cropping and extending. Anyway, why don't you use bwdistgeodesic like Alex and Steve show you?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Alex Taylor
Alex Taylor am 15 Jan. 2014
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.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by