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

added CvMat#copy_make_border

This commit is contained in:
ser1zw 2011-07-08 21:46:38 +09:00
parent 7add8ec805
commit 53fd238569
5 changed files with 76 additions and 0 deletions

View file

@ -44,6 +44,10 @@ class TestOpenCV < OpenCVTestCase
assert_equal(3, CV_MEDIAN)
assert_equal(4, CV_BILATERAL)
# Border types
assert_equal(0, IPL_BORDER_CONSTANT)
assert_equal(1, IPL_BORDER_REPLICATE)
# Thresholding types
assert_equal(0, CV_THRESH_BINARY)
assert_equal(1, CV_THRESH_BINARY_INV)