Page 276 - Build Your Own Quadcopter_ Power Up Your Designs with the Parallax Elev-8
P. 276

Chapter  9: Airbor ne V ideo  Systems       255






















                             Figure 9.35  Vertical pipe.






                                I also processed the original unprocessed image in Figure 9.33 through the RoboRealm
                             Canny edge detector just to compare the results to the Wikipedia image in Figure 9.34.
                             Figure 9.36 shows the result, which is very similar to Figure 9.34.
                                I will now show you the Elev-8 Canny-edge-detector image now that you know a little
                             bit about this technique. Figure 9.37 is the processed Elev-8 image.
                                When I compared Figure 9.31, which is the outline technique, to Figure 9.37, it was
                             apparent that the Canny approach produced more distinct edges than the outline approach
                             did. The outline image seems to contain a substantial number of non-edge pixels, which I
                             presume is a result of the simplistic, edge-detection algorithm that I discussed previously.


























                              Figure 9.36  RoboRealm Canny edge detection on the steam-engine valves.
   271   272   273   274   275   276   277   278   279   280   281