DOC: don't divide by 255 when it's not required ;-)

This commit is contained in:
Nicolas Pinto
2012-02-14 19:56:42 -05:00
parent 5e9ad08b80
commit e77d7a7e44
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ np.random.seed(42)
patch_shape = 8, 8
n_filters = 49
lena = color.rgb2gray(data.lena()) / 255.
lena = color.rgb2gray(data.lena())
# -- filterbank1 on original Lena
patches1 = view_as_windows(lena, patch_shape)
+1 -1
View File
@@ -24,7 +24,7 @@ from skimage.util.shape import view_as_blocks
# -- get `lena` from skimage.data in grayscale
l = color.rgb2gray(data.lena()) / 255.
l = color.rgb2gray(data.lena())
# -- size of blocks
block_shape = (4, 4)