mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-11 11:25:30 +08:00
MAINT: Remove deprecated Lena
This commit is contained in:
@@ -26,7 +26,6 @@ __all__ = ['load',
|
||||
'horse',
|
||||
'hubble_deep_field',
|
||||
'immunohistochemistry',
|
||||
'lena',
|
||||
'logo',
|
||||
'moon',
|
||||
'page',
|
||||
@@ -62,22 +61,6 @@ def camera():
|
||||
return load("camera.png")
|
||||
|
||||
|
||||
@deprecated('skimage.data.astronaut')
|
||||
def lena():
|
||||
"""Colour "Lena" image.
|
||||
|
||||
**This image has been removed from scikit-image due to copyright
|
||||
concerns.**
|
||||
|
||||
The standard, yet sometimes controversial Lena test image was
|
||||
scanned from the November 1972 edition of Playboy magazine. From
|
||||
an image processing perspective, this image is useful because it
|
||||
contains smooth, textured, shaded as well as detail areas.
|
||||
|
||||
"""
|
||||
raise RuntimeError("This image has been removed due to copyright concerns.")
|
||||
|
||||
|
||||
def astronaut():
|
||||
"""Colour image of the astronaut Eileen Collins.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user