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

details SeedOptions Class Reference VIGRA

Options object for generateWatershedSeeds(). More...

#include <vigra/watersheds.hxx>

Public Member Functions

SeedOptionsextendedMinima ()
 
SeedOptionslevelSets ()
 
SeedOptionslevelSets (double threshold)
 
SeedOptionsminima ()
 
 SeedOptions ()
 Construct default options object. More...
 
SeedOptionsthreshold (double threshold)
 

Detailed Description

Options object for generateWatershedSeeds().

Usage:

#include <vigra/watersheds.hxx>
Namespace: vigra

MultiArray<2, float> boundary_indicator(w, h);
MultiArray<2, int> seeds(boundary_indicator.shape());
// detect all minima in 'boundary_indicator' that are below gray level 22
generateWatershedSeeds(boundary_indicator, seeds,
Examples:
watershed.cxx.

Constructor & Destructor Documentation

Construct default options object.

Defaults are: detect minima without thresholding (i.e. all minima).

Member Function Documentation

SeedOptions& minima ( )

Generate seeds at minima.

Default: true

SeedOptions& extendedMinima ( )

Generate seeds at minima and minimal plateaus.

Default: false

SeedOptions& levelSets ( )

Generate seeds as level sets.

Note that you must also set a threshold to define which level set is to be used.
Default: false

SeedOptions& levelSets ( double  threshold)

Generate seeds as level sets at given threshold.

Equivalent to SeedOptions().levelSet().threshold(threshold)
Default: false

SeedOptions& threshold ( double  threshold)

Set threshold.

The threshold will be used by both the minima and level set variants of seed generation.
Default: no thresholding


The documentation for this class 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.11.1 (Fri May 19 2017)