mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 19:48:43 +08:00
ENH: Add motion blurred clock image.
This commit is contained in:
@@ -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")
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user