mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 03:21:12 +08:00
ENH: Add chelsea to dataset.
This commit is contained in:
@@ -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 |
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user