mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
Reduce runtime of daisy visualization test case
This commit is contained in:
1 parent
ad3464701a
commit
f651cba56e
1 file changed
+3
-2
@@ -86,9 +86,10 @@ def test_daisy_normalization():
|
||||
|
||||
|
||||
def test_daisy_visualization():
|
||||
img = img_as_float(data.lena()[:128, :128].mean(axis=2))
|
||||
img = img_as_float(data.lena()[:32, :32].mean(axis=2))
|
||||
descs, descs_img = daisy(img, visualize=True)
|
||||
assert(descs_img.shape == (128, 128, 3))
|
||||
assert(descs_img.shape == (32, 32, 3))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from numpy import testing
|
||||
|
||||
Reference in new issue
Block a user