- What is an image histogram?
- Calculate the histogram of a grayscale image using 64 bins.
- Add 50 to every pixel on a grayscale image (the result will look lighter) and calculate the histogram.
- Calculate the red channel histogram of a BGR image without a mask.
- What functions do OpenCV, NumPy, and Matplotlib provide for calculating histograms?
- Modify the grayscale_histogram.py script to compute the brightness of these three images (gray_image, added_image, and subtracted_image). Rename the script to grayscale_histogram_brightness.py.
- Modify the comparing_hist_equalization_clahe.py script to show the execution time of both cv2.equalizeHist() and CLAHE. Rename it to comparing_hist_equalization_clahe_time.py.