How to find histogram of image in python? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How to find histogram of image in python?

I do not need pre defined libraries, can i have manually written code in java..

15th Mar 2019, 8:59 PM
Manikant Gautam
Manikant Gautam - avatar
1 Antwort
0
split the whole histogram to 16 sub-parts and value of each sub-part is the sum of all pixel count in it. This each sub-part is called “BIN”. In first case, number of bins where 256 (one for each pixel) while in second case, it is only 16. BINS is represented by the term histSize in OpenCV docs. Source: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_begins/py_histogram_begins.html
15th Mar 2019, 10:45 PM
John Tsaou
John Tsaou - avatar