mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-28 12:45:58 +08:00
Fix warning in plot_gabors_from_astronaut
This commit is contained in:
@@ -51,7 +51,7 @@ np.random.seed(42)
|
||||
patch_shape = 8, 8
|
||||
n_filters = 49
|
||||
|
||||
astro = color.rgb2gray(data.astronaut())
|
||||
astro = np.ascontiguousarray(color.rgb2gray(data.astronaut()))
|
||||
|
||||
# -- filterbank1 on original image
|
||||
patches1 = view_as_windows(astro, patch_shape)
|
||||
|
||||
Reference in New Issue
Block a user