1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

added CvHistogram functions

This commit is contained in:
ser1zw 2011-10-23 06:15:31 +09:00
parent 503209160d
commit e3cad86f0a
6 changed files with 692 additions and 52 deletions

View file

@ -124,6 +124,18 @@ class TestOpenCV < OpenCVTestCase
assert_equal(1, CV_SVD_MODIFY_A)
assert_equal(2, CV_SVD_U_T)
assert_equal(4, CV_SVD_V_T)
# Histogram representation format
assert_equal(0, CV_HIST_ARRAY)
assert_equal(1, CV_HIST_SPARSE)
assert_equal(1, CV_HIST_TREE)
assert_equal(1, CV_HIST_UNIFORM)
# Histogram comparison method
assert_equal(0, CV_COMP_CORREL)
assert_equal(1, CV_COMP_CHISQR)
assert_equal(2, CV_COMP_INTERSECT)
assert_equal(3, CV_COMP_BHATTACHARYYA)
end
def test_symbols