Skip to content

Commit

Permalink
Change default value of sigma
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojnnes committed Sep 14, 2013
1 parent 22ca0ae commit 05aaeef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skimage/segmentation/slic_superpixels.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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.
Expand Down

0 comments on commit 05aaeef

Please sign in to comment.