mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
Fix matching test cases
This commit is contained in:
1 parent
a1a2f9c988
commit
20d81529f4
1 file changed
+2
-2
@@ -32,7 +32,7 @@ def test_binary_descriptors_lena_rotation_crosscheck_false():
|
||||
img = data.lena()
|
||||
img = rgb2gray(img)
|
||||
tform = tf.SimilarityTransform(scale=1, rotation=0.15, translation=(0, 0))
|
||||
rotated_img = tf.warp(img, tform)
|
||||
rotated_img = tf.warp(img, tform, clip=False)
|
||||
|
||||
extractor = BRIEF(descriptor_size=512)
|
||||
|
||||
@@ -65,7 +65,7 @@ def test_binary_descriptors_lena_rotation_crosscheck_true():
|
||||
img = data.lena()
|
||||
img = rgb2gray(img)
|
||||
tform = tf.SimilarityTransform(scale=1, rotation=0.15, translation=(0, 0))
|
||||
rotated_img = tf.warp(img, tform)
|
||||
rotated_img = tf.warp(img, tform, clip=False)
|
||||
|
||||
extractor = BRIEF(descriptor_size=512)
|
||||
|
||||
|
||||
Reference in new issue
Block a user