mirror of
https://github.com/jlengrand/Tippy.git
synced 2026-03-10 08:51:16 +00:00
Conflicts: examples/histogram_display.py tippy/statistics.py tippy/tests/test_statistics.py
21 lines
635 B
Python
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.
|
|
'''
|
|
|