mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
add CvMat#adaptive_threshold
This commit is contained in:
parent
86b5d1918b
commit
71b2743c76
4 changed files with 135 additions and 0 deletions
|
@ -62,6 +62,10 @@ class TestOpenCV < OpenCVTestCase
|
|||
assert_equal(4, CV_THRESH_TOZERO_INV)
|
||||
assert_equal(8, CV_THRESH_OTSU)
|
||||
|
||||
# Adaptive methods
|
||||
assert_equal(0, CV_ADAPTIVE_THRESH_MEAN_C)
|
||||
assert_equal(1, CV_ADAPTIVE_THRESH_GAUSSIAN_C)
|
||||
|
||||
# Retrieval mode
|
||||
assert_equal(0, CV_RETR_EXTERNAL)
|
||||
assert_equal(1, CV_RETR_LIST)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue