mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-11 12:43:04 +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
|
patch_shape = 8, 8
|
||||||
n_filters = 49
|
n_filters = 49
|
||||||
|
|
||||||
astro = color.rgb2gray(data.astronaut())
|
astro = np.ascontiguousarray(color.rgb2gray(data.astronaut()))
|
||||||
|
|
||||||
# -- filterbank1 on original image
|
# -- filterbank1 on original image
|
||||||
patches1 = view_as_windows(astro, patch_shape)
|
patches1 = view_as_windows(astro, patch_shape)
|
||||||
|
|||||||
Reference in New Issue
Block a user