Summary
In this chapter, we learned and demonstrated the concepts of histograms in general and saw how to create a simple histogram from a simple single-dimensional array. Then, we saw how to visualize a histogram for grayscale and color images. We also demonstrated how to use image contours. Finally, we visually demonstrated the operations that are performed in the area of mathematical morphology. These morphological operations will be extremely useful for real-life applications, some of which we will demonstrate in Chapter 11, Real-Life Applications of Computer Vision.
In the next chapter, we will demonstrate many of the concepts we learned in this and the earlier chapters by building real-life applications such as movement detectors, chroma keys with a green screen, and barcode detection in still images. It will be an exciting and interesting chapter that culminates all the knowledge we have gained so far.