Chapter 10
- Image processing is the task of analyzing and manipulating digital image files to create new versions of the images, or to extract important data from them.
- The smallest unit of a digital image is a pixel, which typically contains an RGB value: a tuple of integers between 0 and 255.
- Grayscaling is the processing of converting an image into gray colors by considering only the intensity of each pixel, represented by the amount of light available. It reduces the dimensionality of the image pixel matrix by mapping traditional three-dimensional color data to one-dimensional gray data.
- Thresholding replaces each pixel in an image with a white pixel if the pixel's intensity is greater than a previously specified threshold, and with a black pixel if the pixel's intensity is less than that threshold. After performing thresholding on an image, each pixel of that image can only hold two possible values, significantly reducing the complexity of image data...