mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-29 11:01:19 +08:00
scikits/image -> skimage in examples
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user