mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-12 12:30:16 +08:00
replacing lena in examples and most tests
This commit is contained in:
committed by
Stefan van der Walt
parent
e8967abe78
commit
1b217f971e
@@ -15,7 +15,7 @@ from skimage.color import rgb2gray
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
|
||||
img1 = rgb2gray(data.lena())
|
||||
img1 = rgb2gray(data.astronaut())
|
||||
tform = tf.AffineTransform(scale=(1.5, 1.5), rotation=0.5,
|
||||
translation=(150, -200))
|
||||
img2 = tf.warp(img1, tform)
|
||||
|
||||
Reference in New Issue
Block a user