3. Histogram Calculation
Test histogram calculation with different images (vary contrast or brightnest of an image to see how different histogram looks)
https://docs.opencv.org/master/d8/dbc...
The aim is to use OpenCV to calculate & draw histograms of images.
Read the explanation and pay attention to the required steps:
• Loading an image
• Splitting the image into its R, G and B planes or components.
• Calculating the Histogram of each channel plane
• Plotting the three histograms in a window
Once more, use your own test images and compare the histograms.
Question to discuss:
What does histogram of an image show? What can a histogram tell you about the image (visual content)?