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