ENH: Add chelsea to dataset.

This commit is contained in:
Stefan van der Walt
2013-04-22 15:17:28 +02:00
parent 7d3594310d
commit 83f51efbc8
3 changed files with 20 additions and 1 deletions
+14
View File
@@ -143,3 +143,17 @@ def immunohistochemistry():
"""
return load("ihc.jpg")
def chelsea():
"""Chelsea the cat.
An example with texture, prominent edges in horizontal and diagonal
directions, as well as features of differing scales.
Notes
-----
No copyright restrictions. CC0 by the photographer (Stefan van der Walt).
"""
return load("chelsea.jpg")
Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

+6 -1
View File
@@ -34,11 +34,16 @@ def test_page():
data.page()
def test_page():
def test_clock():
""" Test that "clock" image can be loaded. """
data.clock()
def test_chelsea():
""" Test that "chelsea" image can be loaded. """
data.chelsea()
if __name__ == "__main__":
from numpy.testing import run_module_suite
run_module_suite()