diff --git a/doc/examples/applications/plot_morphology.py b/doc/examples/applications/plot_morphology.py index 206375ef..755e315f 100644 --- a/doc/examples/applications/plot_morphology.py +++ b/doc/examples/applications/plot_morphology.py @@ -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') diff --git a/skimage/data/__init__.py b/skimage/data/__init__.py index a544179b..253c08d3 100644 --- a/skimage/data/__init__.py +++ b/skimage/data/__init__.py @@ -116,6 +116,19 @@ def page(): return load("page.png") +def horse(): + """Image of a horse. + + This image was downloaded from + `openclipart ` + + Released into public domain and drawn by Andreas Preuss and uploaded by + marauder. + + """ + return load("horse.png") + + def clock(): """Motion blurred clock. diff --git a/skimage/data/horse.png b/skimage/data/horse.png new file mode 100644 index 00000000..59f48822 Binary files /dev/null and b/skimage/data/horse.png differ