18 #ifndef sitkMorphologicalWatershedImageFilter_h
19 #define sitkMorphologicalWatershedImageFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetLevel (
double Level ) { this->m_Level = Level;
return *
this; }
73 double GetLevel()
const {
return this->m_Level; }
78 SITK_RETURN_SELF_TYPE_HEADER
SetMarkWatershedLine (
bool MarkWatershedLine ) { this->m_MarkWatershedLine = MarkWatershedLine;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
95 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
103 std::string
GetName()
const {
return std::string (
"MorphologicalWatershedImageFilter"); }
106 std::string ToString()
const;
114 Image Execute (
const Image& image1,
double level,
bool markWatershedLine,
bool fullyConnected );
121 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );