How to draw correct path for this image
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
Image Analyst
2014년 1월 7일
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
Image Analyst
2014년 1월 15일
Well you can make it one by cropping and extending. Anyway, why don't you use bwdistgeodesic like Alex and Steve show you?
추가 답변 (1개)
Alex Taylor
2014년 1월 15일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Labyrinth problems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!