In this section, we will learn the fundamentals of how to represent an image in a digital format and how to use images in a better way in the machine learning world for tasks such as image manipulation.
We will start by looking at how humans see color. Let's assume we have a yellow box. The brain can see the color yellow. The light waves that are observed by the human eye are translated into color by the visual cortex of the brain. When we look at a yellow box, the wavelengths of the reflected light determine what color we see. The light waves reflect off the yellow box and hit our eyes with a wavelength of 570 to 580 nanometers (the wavelength of yellow light).
In the next section, we will read about the digital representation of images. We are going to use the OpenCV library to process an image.