• Abid K's avatar
    Update samples/python2/hist.py · 96b2898f
    Abid K authored
    range in calcHist() changed from [0,255] to [0,256]. Otherwise, it won't count pixels with value 255. It can be verified taking sum of histogram values and checking it with image size.
    96b2898f
Name
Last commit
Last update
..
data added texture_flow.py sample
_coverage.py add #/usr/bin/env python to all python files
_doc.py add #/usr/bin/env python to all python files
asift.py add #/usr/bin/env python to all python files
browse.py add #/usr/bin/env python to all python files
calibrate.py add #/usr/bin/env python to all python files
camshift.py add #/usr/bin/env python to all python files
coherence.py add #/usr/bin/env python to all python files
color_histogram.py add #/usr/bin/env python to all python files
common.py add #/usr/bin/env python to all python files
contours.py add #/usr/bin/env python to all python files
deconvolution.py add #/usr/bin/env python to all python files
demo.py add #/usr/bin/env python to all python files
digits.py add #/usr/bin/env python to all python files
digits_adjust.py add #/usr/bin/env python to all python files
digits_video.py add #/usr/bin/env python to all python files
distrans.py add #/usr/bin/env python to all python files
edge.py add #/usr/bin/env python to all python files
facedetect.py add #/usr/bin/env python to all python files
facerec_demo.py Normalize line endings and whitespace
feature_homography.py add #/usr/bin/env python to all python files
find_obj.py add #/usr/bin/env python to all python files
fitline.py add #/usr/bin/env python to all python files
floodfill.py add #/usr/bin/env python to all python files
gabor_threads.py add #/usr/bin/env python to all python files
gaussian_mix.py add #/usr/bin/env python to all python files
hist.py Update samples/python2/hist.py
inpaint.py add #/usr/bin/env python to all python files
kmeans.py add #/usr/bin/env python to all python files
lappyr.py add #/usr/bin/env python to all python files
letter_recog.py add #/usr/bin/env python to all python files
lk_homography.py add #/usr/bin/env python to all python files
lk_track.py add #/usr/bin/env python to all python files
morphology.py add #/usr/bin/env python to all python files
mosse.py add #/usr/bin/env python to all python files
motempl.py add #/usr/bin/env python to all python files
mouse_and_match.py add #/usr/bin/env python to all python files
mser.py add #/usr/bin/env python to all python files
opt_flow.py add #/usr/bin/env python to all python files
peopledetect.py add #/usr/bin/env python to all python files
plane_ar.py add #/usr/bin/env python to all python files
plane_tracker.py add #/usr/bin/env python to all python files
squares.py add #/usr/bin/env python to all python files
stereo_match.py add #/usr/bin/env python to all python files
texture_flow.py add #/usr/bin/env python to all python files
turing.py add #/usr/bin/env python to all python files
video.py add #/usr/bin/env python to all python files
video_dmtx.py add #/usr/bin/env python to all python files
video_threaded.py add #/usr/bin/env python to all python files
watershed.py add #/usr/bin/env python to all python files