mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
added CvMat.find_homography
This commit is contained in:
parent
ed69d8cea8
commit
440d27cdcb
5 changed files with 121 additions and 1 deletions
|
@ -57,6 +57,11 @@ class TestOpenCV < OpenCVTestCase
|
|||
assert_equal(8, WARP_FLAG[:fill_outliers])
|
||||
assert_equal(16, WARP_FLAG[:inverse_map])
|
||||
|
||||
# Homography calculation methods
|
||||
assert_equal(0, HOMOGRAPHY_CALC_METHOD[:all])
|
||||
assert_equal(4, HOMOGRAPHY_CALC_METHOD[:lmeds])
|
||||
assert_equal(8, HOMOGRAPHY_CALC_METHOD[:ransac])
|
||||
|
||||
# Anti aliasing flags
|
||||
assert_equal(16, CONNECTIVITY[:aa])
|
||||
assert_equal(16, CONNECTIVITY[:anti_alias])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue