mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-10 11:01:06 +08:00
Reduce runtime of daisy visualization test case
This commit is contained in:
@@ -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