mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-29 11:26:57 +08:00
DOC: don't divide by 255 when it's not required ;-)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user