mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 17:45:20 +08:00
add coffee picture from flickr
This commit is contained in:
@@ -184,3 +184,18 @@ def chelsea():
|
||||
|
||||
"""
|
||||
return load("chelsea.png")
|
||||
|
||||
|
||||
def coffee():
|
||||
"""Coffee cup.
|
||||
|
||||
An example with several shapes (including an ellipse). The background
|
||||
is composed of stripes.
|
||||
|
||||
Notes
|
||||
-----
|
||||
This image was downloaded on
|
||||
`Flickr <https://secure.flickr.com/photos/free-stock/4999821195/sizes/o/in/photostream/>`__
|
||||
No copyright restrictions.
|
||||
"""
|
||||
return load("coffee.png")
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 299 KiB |
@@ -44,6 +44,11 @@ def test_chelsea():
|
||||
data.chelsea()
|
||||
|
||||
|
||||
def test_coffee():
|
||||
""" Test that "coffee" image can be loaded. """
|
||||
data.coffee()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from numpy.testing import run_module_suite
|
||||
run_module_suite()
|
||||
|
||||
Reference in New Issue
Block a user