Added horse.png to skimage/data and added a horse() in the _init_.py in data subpackage

This commit is contained in:
Chintak Sheth
2013-04-23 21:14:02 +05:30
parent e5dab80e9c
commit 45aeeac459
3 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ on binary images only.
"""
from skimage import img_as_bool
horse = ~img_as_bool(io.imread(data_dir+'/horse.jpeg', as_grey=True))
horse = ~img_as_bool(io.imread(data_dir+'/horse.png', as_grey=True))
sk = skeletonize(horse)
plot_comparison(horse, sk, 'skeletonize')
+13
View File
@@ -116,6 +116,19 @@ def page():
return load("page.png")
def horse():
"""Image of a horse.
This image was downloaded from
`openclipart <http://openclipart.org/detail/158377/horse-by-marauder>`
Released into public domain and drawn by Andreas Preuss and uploaded by
marauder.
"""
return load("horse.png")
def clock():
"""Motion blurred clock.
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB