mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 18:25:32 +08:00
Added horse.png to skimage/data and added a horse() in the _init_.py in data subpackage
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user