[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

SlicOptions Struct Reference

Options object for slicSuperpixels(). More...

#include <vigra/slic.hxx>

Public Member Functions

SlicOptionsiterations (unsigned int i)
 Number of iterations.
 
SlicOptionsminSize (unsigned int s)
 Minimum superpixel size.
 
 SlicOptions ()
 Create options object with default settings.
 

Detailed Description

Options object for slicSuperpixels().

Usage:

see slicSuperpixels() for detailed examples.

Constructor & Destructor Documentation

◆ SlicOptions()

Create options object with default settings.

Defaults are: perform 10 iterations, determine a size limit for superpixels automatically.

Member Function Documentation

◆ iterations()

SlicOptions & iterations ( unsigned int i)

Number of iterations.

Default: 10

◆ minSize()

SlicOptions & minSize ( unsigned int s)

Minimum superpixel size.

If you set this to 1, no size filtering will be performed.

Default: 0 (determine size limit automatically as average size / 4)


The documentation for this struct was generated from the following file:

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.12.2 (Mon Apr 14 2025)