I recently noticed this new submission on the File Exchange by none other than one of the prolific newsgroup contributors, Image Analyst. Being a fan of puzzles myself, I was delighted to see the use of image processing to solve some mazes.
Here's a picture of a sample maze solution.
Instead of doing traditional actions like move right until hitting a dead end, the maze solver here uses image processing concepts such as morphological operations (e.g., dilation and erosion), thresholding, and sectioning an image into "blobs." Reading and understanding the code provided me with a fun way to reinforce the application of these image processing concepts.
Do you know of other MATLAB-based games or puzzles where understanding the code might provide insight into some computing domain for users? If so, let us know here.
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.