mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-19 11:27:45 +08:00
[ENH] Fixed some PEP8 issues in example gallery.
This commit is contained in:
@@ -46,13 +46,15 @@ color-space and distance in image-space, given by ``ratio``.
|
||||
|
||||
SLIC - K-Means based image segmentation
|
||||
---------------------------------------
|
||||
This algorithm simply performs K-means in the 5d space of color information
|
||||
and image location and is therefore closely related to quickshift. As the
|
||||
|
||||
This algorithm simply performs K-means in the 5d space of color information and
|
||||
image location and is therefore closely related to quickshift. As the
|
||||
clustering method is simpler, it is very efficient. It is essential for this
|
||||
algorithm to work in Lab color space to obtain good results. The algorithm
|
||||
quickly gained momentum and is now widely used. See [3] for details. The
|
||||
``compactness`` parameter trades off color-similarity and proximity, as in the case
|
||||
of Quickshift, while ``n_segments`` chooses the number of centers for kmeans.
|
||||
``compactness`` parameter trades off color-similarity and proximity, as in the
|
||||
case of Quickshift, while ``n_segments`` chooses the number of centers for
|
||||
kmeans.
|
||||
|
||||
.. [3] Radhakrishna Achanta, Appu Shaji, Kevin Smith, Aurelien Lucchi,
|
||||
Pascal Fua, and Sabine Suesstrunk, SLIC Superpixels Compared to
|
||||
|
||||
Reference in New Issue
Block a user