|
bioprocessing 6.0.4
|
Interface to watershed implementations. More...
#include <bioprocessing/watershed/watershed.h>

Public Member Functions | |
| Watershed () | |
| Default constructor The default implementation used is Cousty. | |
| Watershed (const std::string &implem) | |
| Constructor from implementation Possible implementations are: | |
| void | setImplementation (const std::string &implem) |
| Sets the watershed method Possible implementations are: | |
| void | setVerbose (int verbose=1) |
| Sets the verbosity level. | |
| void | setQuiet () |
Equivalent to setVerbose(0) | |
| carto::VolumeRef< L > | execute (carto::VolumeRef< T > in) |
| Executes the chosen watershed segmentation to the input volume. | |
| carto::VolumeRef< L > | getMinima () |
Protected Attributes | |
| std::string | _implem |
| int | _verbose |
| carto::VolumeRef< L > | _watershed |
| carto::VolumeRef< L > | _minima |
Interface to watershed implementations.
This class is an interface to the different watershed implementations. The default one (and only one as of 2014-12-16) is CoustyWatershed.
Definition at line 32 of file watershed.h.
|
inline |
Default constructor The default implementation used is Cousty.
Definition at line 37 of file watershed.h.
|
inline |
Constructor from implementation Possible implementations are:
"cousty" Definition at line 45 of file watershed.h.
|
inline |
Executes the chosen watershed segmentation to the input volume.
A volume is allocated and returned. 2D and 3D modes are managed.
Definition at line 63 of file watershed.h.
References _implem, _minima, _verbose, _watershed, bio::CoustyWatershed< T, L >::execute(), bio::CoustyWatershed< T, L >::getMinima(), bio::CoustyWatershed< T, L >::set2D(), and bio::CoustyWatershed< T, L >::setVerbose().
|
inline |
Definition at line 82 of file watershed.h.
References _minima.
|
inline |
Sets the watershed method Possible implementations are:
"cousty" Definition at line 53 of file watershed.h.
References _implem.
|
inline |
|
inline |
Sets the verbosity level.
At construction, it is defaulted at carto::verbose
Definition at line 56 of file watershed.h.
References _verbose.
Referenced by setQuiet().
|
protected |
Definition at line 88 of file watershed.h.
Referenced by execute(), setImplementation(), Watershed(), and Watershed().
|
protected |
Definition at line 91 of file watershed.h.
Referenced by execute(), and getMinima().
|
protected |
Definition at line 89 of file watershed.h.
Referenced by execute(), setVerbose(), Watershed(), and Watershed().
|
protected |
Definition at line 90 of file watershed.h.
Referenced by execute().