diff --git a/skimage/data/__init__.py b/skimage/data/__init__.py index 5e51d353..d2fba7db 100644 --- a/skimage/data/__init__.py +++ b/skimage/data/__init__.py @@ -114,3 +114,16 @@ def page(): """ return load("page.png") + + +def clock(): + """Motion blurred clock. + + This photograph of a wall clock was taken while moving the camera in an + aproximately horizontal direction. It may be used to illustrate + inverse filters and deconvolution. + + Released into the public domain by the photographer (Stefan van der Walt). + + """ + return load("clock_motion.png") diff --git a/skimage/data/clock_motion.png b/skimage/data/clock_motion.png new file mode 100644 index 00000000..3a81bd74 Binary files /dev/null and b/skimage/data/clock_motion.png differ diff --git a/skimage/data/tests/test_data.py b/skimage/data/tests/test_data.py index b5f6bcaa..f660c69c 100644 --- a/skimage/data/tests/test_data.py +++ b/skimage/data/tests/test_data.py @@ -34,6 +34,11 @@ def test_page(): data.page() +def test_page(): + """ Test that "clock" image can be loaded. """ + data.clock() + + if __name__ == "__main__": from numpy.testing import run_module_suite run_module_suite()