slic
skimage.segmentation.slic(image, n_segments=100, compactness=10.0, max_iter=10, sigma=0, spacing=None, multichannel=True, convert2lab=None, enforce_connectivity=True, min_size_factor=0.5, max_size_factor=3, slic_zero=False) [source]
Segments image using k-means clustering in Color-(x,y,z) space. Parameters:
image : 2D, 3D or 4D ndarray Input image, which can be 2D or 3D, and grayscale or multichannel (see multichannel parameter). n_segments : int, optional The (approximate) number o