Page 272 - Build Your Own Quadcopter_ Power Up Your Designs with the Parallax Elev-8
P. 272
Chapter 9: Airbor ne V ideo Systems 251
Figure 9.29 Elev-8 snapshot.
within the image. What you normally should look for is a distribution that is reasonably
centered on the horizontal intensity scale, which in this case goes from 0 to 255. This range
reflects the range values for eight-bit pixel intensity. Figure 9.30 shows the RGB histogram
for the Elev-8 snapshot.
Outline Edge Extraction
The next effect is a little more complicated. I want to extract the Elev-8 outline from the raw
image. This processing algorithm examines all the pixel values on a specific line in the image
Figure 9.30 Elev-8 RGB histogram.