A , also referred to as a black and white image, is an image where each pixel possesses a single value. This intensity value determines the shade of gray that is displayed. The conversion process from a color image to grayscale involves deactivating the color channels and extracting only the or brightness information. As a result, the image becomes , lacking color information but retaining the intensity or luminosity data.
One of the methods to understand the distribution of intensity values in a grayscale image is by examining its . A histogram provides a visual representation of how many pixels have a particular intensity value. Analyzing the histogram allows us to gain insights into the contrast, brightness, and tonal range of the image. For example, a histogram with a high peak towards one end indicates a dominant intensity value, whereas a broader distribution implies a more diverse range of intensities.