Revert contiguous array conversion

This commit is contained in:
Johannes Schönberger
2016-02-01 08:49:54 +01:00
parent 6eea36a3be
commit 045b04703a
2 changed files with 2 additions and 2 deletions
@@ -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)
@@ -25,7 +25,7 @@ from skimage.util.shape import view_as_blocks
# -- get `astronaut` from skimage.data in grayscale
l = np.ascontiguousarray(color.rgb2gray(data.astronaut()))
l = color.rgb2gray(data.astronaut())
# -- size of blocks
block_shape = (4, 4)