Draw a histogram of a color image using Opencv

can anyone connect me or give an example code in C / C ++ that creates histograms for color image (RGB) and displays them?

+5
source share
5 answers

The following are very good guides for drawing a bar chart with an open CV:
http://aishack.in/tutorials/drawing-histograms-opencv/

Codes are easy to follow!

+6
source

The OpenCV 2.3 documentation has a new guide for building a histogram for a color image .

+4
source

opencv has built-in histograms. The documentation shows an example: http://opencv.willowgarage.com/documentation/cpp/histograms.html

0
source

All Articles