mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-18 12:40:14 +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')
|
||||
|
||||
Reference in New Issue
Block a user