Table of Contents ▸ List of Commands ▸ Features Extraction ▸ slic | ◀ skeleton | ssd_patch ▶ |
slic
Arguments:
- size>0,_regularity>=0,_nb_iterations>0
Description:
Segment selected 2D images with superpixels, using the SLIC algorithm (Simple Linear Iterative Clustering).Scalar images of increasingly labeled pixels are returned.
Reference paper: Achanta, R., Shaji, A., Smith, K., Lucchi, A., Fua, P., & Susstrunk, S. (2010). SLIC Superpixels (No. EPFL-REPORT-149300).
Default values:
size=16, regularity=10 and nb_iterations=10.
Example of use:
image.jpg +srgb2lab slic[-1] 16 +blend shapeaverage f[-2] "j(1,0)==i && j(0,1)==i" *[-1] [-2]