I want to segment my image as following:
img = io.imread(curr_img_path) assignment1 = slic(image=img_as_float(img), n_segments=500, sigma=2, max_iter=100, con