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

implemented CvMat#morphology, and modified CvMat#morphology_*

This commit is contained in:
ser1zw 2011-01-29 20:07:36 +09:00
parent a9717d18a8
commit b9092881ac
5 changed files with 74 additions and 24 deletions

View file

@ -29,6 +29,13 @@ class TestOpenCV < OpenCVTestCase
assert_equal(1, CV_SHAPE_CROSS)
assert_equal(2, CV_SHAPE_ELLIPSE)
assert_equal(100, CV_SHAPE_CUSTOM)
# Types of morphological operations
assert_equal(2, CV_MOP_OPEN)
assert_equal(3, CV_MOP_CLOSE)
assert_equal(4, CV_MOP_GRADIENT)
assert_equal(5, CV_MOP_TOPHAT)
assert_equal(6, CV_MOP_BLACKHAT)
end
def test_symbols