mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-01 12:31:10 +08:00
Revert contiguous array conversion
This commit is contained in:
1 parent
6eea36a3be
commit
045b04703a
2 files changed
+2
-2
No files matched your search
@@ -51,7 +51,7 @@ np.random.seed(42)
|
||||
patch_shape = 8, 8
|
||||
n_filters = 49
|
||||
|
||||
astro = np.ascontiguousarray(color.rgb2gray(data.astronaut()))
|
||||
astro = color.rgb2gray(data.astronaut())
|
||||
|
||||
# -- filterbank1 on original image
|
||||
patches1 = view_as_windows(astro, patch_shape)
|
||||
|
||||
Reference in new issue
Block a user