mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
change arguments of CvMat#dft, CvMat#dct
This commit is contained in:
parent
ad3fcebd25
commit
ea8622fa8f
4 changed files with 43 additions and 67 deletions
|
@ -164,12 +164,6 @@ class TestOpenCV < OpenCVTestCase
|
|||
assert_equal(2, INVERSION_METHOD[:svd_sym])
|
||||
assert_equal(2, INVERSION_METHOD[:svd_symmetric])
|
||||
|
||||
# Flags for DFT and DCT
|
||||
assert_equal(0, DXT_FLAG[:forward])
|
||||
assert_equal(1, DXT_FLAG[:inverse])
|
||||
assert_equal(2, DXT_FLAG[:scale])
|
||||
assert_equal(4, DXT_FLAG[:rows])
|
||||
|
||||
# Interpolation methods
|
||||
assert_equal(0, INTERPOLATION_METHOD[:nn])
|
||||
assert_equal(1, INTERPOLATION_METHOD[:linear])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue