mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-30 11:41:38 +08:00
Change default value of sigma
This commit is contained in:
1 parent
22ca0ae457
commit
05aaeef5ac
1 file changed
+1
-1
@@ -10,7 +10,7 @@ from skimage.segmentation._slic import _slic_cython
|
||||
from skimage.color import rgb2lab
|
||||
|
||||
|
||||
def slic(image, n_segments=100, compactness=10., max_iter=20, sigma=1,
|
||||
def slic(image, n_segments=100, compactness=10., max_iter=20, sigma=0,
|
||||
multichannel=True, convert2lab=True, ratio=None):
|
||||
"""Segments image using k-means clustering in Color-(x,y,z) space.
|
||||
|
||||
|
||||
Reference in new issue
Block a user