bioprocessing
5.1.2
|
Interface to watershed implementations. More...
#include <bioprocessing/watershed/watershed.h>
Public Member Functions | |
Watershed () | |
Default constructor The default implementation used is Cousty. More... | |
Watershed (const std::string &implem) | |
Constructor from implementation Possible implementations are: More... | |
void | setImplementation (const std::string &implem) |
Sets the watershed method Possible implementations are: More... | |
void | setVerbose (int verbose=1) |
Sets the verbosity level. More... | |
void | setQuiet () |
Equivalent to setVerbose(0) More... | |
carto::VolumeRef< L > | execute (carto::VolumeRef< T > in) |
Executes the chosen watershed segmentation to the input volume. More... | |
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 bio::Watershed< T, L >::_implem, bio::Watershed< T, L >::_minima, bio::Watershed< T, L >::_verbose, bio::Watershed< T, L >::_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 bio::Watershed< T, L >::_minima.
|
inline |
Sets the watershed method Possible implementations are:
"cousty"
Definition at line 53 of file watershed.h.
References bio::Watershed< T, L >::_implem.
|
inline |
Equivalent to setVerbose(0)
Definition at line 58 of file watershed.h.
References bio::Watershed< T, L >::setVerbose().
|
inline |
Sets the verbosity level.
At construction, it is defaulted at carto::verbose
Definition at line 56 of file watershed.h.
References bio::Watershed< T, L >::_verbose.
Referenced by bio::Watershed< T, L >::setQuiet().
|
protected |
Definition at line 88 of file watershed.h.
Referenced by bio::Watershed< T, L >::execute(), and bio::Watershed< T, L >::setImplementation().
|
protected |
Definition at line 91 of file watershed.h.
Referenced by bio::Watershed< T, L >::execute(), and bio::Watershed< T, L >::getMinima().
|
protected |
Definition at line 89 of file watershed.h.
Referenced by bio::Watershed< T, L >::execute(), and bio::Watershed< T, L >::setVerbose().
|
protected |
Definition at line 90 of file watershed.h.
Referenced by bio::Watershed< T, L >::execute().