[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
![]() |
SeedOptions Class Reference | ![]() |
Options object for generateWatershedSeeds(). More...
#include <vigra/watersheds.hxx>
Public Member Functions | |
SeedOptions & | extendedMinima () |
SeedOptions & | levelSets () |
SeedOptions & | levelSets (double threshold) |
SeedOptions & | minima () |
SeedOptions () | |
Construct default options object. | |
SeedOptions & | threshold (double threshold) |
Options object for generateWatershedSeeds().
Usage:
#include <vigra/watersheds.hxx>
Namespace: vigra
IImage seeds(boundary_indicator.size()); // detect all minima in 'boundary_indicator' that are below gray level 22 generateWatershedSeeds(srcImageRange(boundary_indicator), destImage(seeds), SeedOptions().minima().threshold(22.0));
SeedOptions | ( | ) |
Construct default options object.
Defaults are: detect minima without thresholding (i.e. all minima).
SeedOptions& minima | ( | ) |
Generate seeds at minima.
Default: true
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
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|