From 39a0e3577c7206e0ebb3aee44dfa9a06a57828fa Mon Sep 17 00:00:00 2001 From: emmanuelle Date: Mon, 24 Oct 2011 23:28:21 +0200 Subject: [PATCH] scikits/image -> skimage in examples --- doc/examples/plot_medial_transform.py | 2 +- doc/examples/plot_skeleton.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/examples/plot_medial_transform.py b/doc/examples/plot_medial_transform.py index af0b4c38..1421b4ce 100644 --- a/doc/examples/plot_medial_transform.py +++ b/doc/examples/plot_medial_transform.py @@ -22,7 +22,7 @@ a skeleton by iterative morphological thinnings. import numpy as np from scipy import ndimage -from scikits.image.morphology import medial_axis +from skimage.morphology import medial_axis import matplotlib.pyplot as plt diff --git a/doc/examples/plot_skeleton.py b/doc/examples/plot_skeleton.py index a61bbbdd..7cb33d95 100644 --- a/doc/examples/plot_skeleton.py +++ b/doc/examples/plot_skeleton.py @@ -15,8 +15,8 @@ results. The input is a 2D ndarray, with either boolean or integer elements. In the case of boolean, 'True' indicates foreground, and for integer arrays, the foreground is 1's. """ -from scikits.image.morphology import skeletonize -from scikits.image.draw import draw +from skimage.morphology import skeletonize +from skimage.draw import draw import numpy as np import matplotlib.pyplot as plt