|
|
@ -2,41 +2,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
- Step 001: Load the image
|
|
|
|
- Step 001: Load the image
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/001_Image.png" alt="step 1 - image" width="500">
|
|
|
|
<img src="debug-steps/001_Image_w500.png" alt="step 1 - image" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 002: Normalize the image
|
|
|
|
- Step 002: Normalize the image
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/002_Normalized.png" alt="step 2 - normalized" width="500">
|
|
|
|
<img src="debug-steps/002_Normalized_w500.png" alt="step 2 - normalized" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 003: Erode the image
|
|
|
|
- Step 003: Erode the image
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/003_Eroded.png" alt="step 3 - eroded" width="500">
|
|
|
|
<img src="debug-steps/003_Eroded_w500.png" alt="step 3 - eroded" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 004: Threshold the image
|
|
|
|
- Step 004: Threshold the image
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/004_Threshold.png" alt="step 4 - threshold" width="500">
|
|
|
|
<img src="debug-steps/004_Threshold_w500.png" alt="step 4 - threshold" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 005: Dilate the image
|
|
|
|
- Step 005: Dilate the image
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/005_Dilated.png" alt="step 5 - dilated" width="500">
|
|
|
|
<img src="debug-steps/005_Dilated_w500.png" alt="step 5 - dilated" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 006: Crop the image
|
|
|
|
- Step 006: Crop the image
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/006_Cropped.png" alt="step 6 - cropped" width="500">
|
|
|
|
<img src="debug-steps/006_Cropped_w500.png" alt="step 6 - cropped" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 007: Show the maze with start and end points
|
|
|
|
- Step 007: Show the maze with start and end points
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/007_Maze.png" alt="step 7 - maze" width="500">
|
|
|
|
<img src="debug-steps/007_Maze_w500.png" alt="step 7 - maze" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 008: Create the maze bitmap
|
|
|
|
- Step 008: Create the maze bitmap
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/008_Maze Bitmap.png" alt="step 8 - maze bitmap" width="500">
|
|
|
|
<img src="debug-steps/008_Maze Bitmap_w500.png" alt="step 8 - maze bitmap" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 009: Find the maze path
|
|
|
|
- Step 009: Find the maze path
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/009_Maze Path.png" alt="step 9 - maze path" width="500">
|
|
|
|
<img src="debug-steps/009_Maze Path_w500.png" alt="step 9 - maze path" width="500">
|
|
|
|
|
|
|
|
|
|
|
|
- Step 010: Show the solution
|
|
|
|
- Step 010: Show the solution
|
|
|
|
|
|
|
|
|
|
|
|
<img src="debug-steps/010_Solution.png" alt="step 10 - solution" width="500">
|
|
|
|
<img src="debug-steps/010_Solution_w500.png" alt="step 10 - solution" width="500">
|
|
|
|
|
|
|
|
|
|
|
|