Conflicts:
	examples/histogram_display.py
	tippy/statistics.py
	tippy/tests/test_statistics.py
This commit is contained in:
Julien Lengrand-Lambert
2011-12-19 14:47:26 +01:00
3 changed files with 0 additions and 310 deletions

View File

@@ -18,13 +18,3 @@ To end the script, the user simply needs to hit a keyboard key with the input
image in the foreground.
'''
import cv
import tippy.statistics as st
import tippy.display_operations as do
img_name = "tippy/data/tippy.jpg"
img = cv.LoadImage(img_name, cv.CV_LOAD_IMAGE_COLOR)
hist = st.Histogram(img)
imgs = hist.to_images() # list of Red, Green, Blue channels
do.display_single_image(imgs[2], "Blue channel histogram of the tippy image")