Files
Tippy/examples/histogram_display.py
Julien Lengrand-Lambert 4d142c6075 Merge branch 'master' of https://github.com/jlengrand/Tippy
Conflicts:
	examples/histogram_display.py
	tippy/statistics.py
	tippy/tests/test_statistics.py
2011-12-19 14:47:26 +01:00

21 lines
635 B
Python

'''
Created on Dec 15, 2011
@author: Julien Lengrand-Lambert
@email: julien@lengrand.fr
---
Here is a simple example of an histogram calculation on a grayscale image in
Python.
The histogram calculation is performed using the OpenCV library. In order to
simplify the process, an Histogram class has been created, which contains all
necessary data for a proper output image creation.
The final output is a list of IplImages in this script. Each item is a graphical
representation of teh histogram result for one channel.
To end the script, the user simply needs to hit a keyboard key with the input
image in the foreground.
'''