18 #ifndef sitkMorphologicalWatershedImageFilter_h
19 #define sitkMorphologicalWatershedImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetLevel (
double Level ) { this->m_Level = Level;
return *
this; }
72 double GetLevel()
const {
return this->m_Level; }\
77 SITK_RETURN_SELF_TYPE_HEADER
SetMarkWatershedLine (
bool MarkWatershedLine ) { this->m_MarkWatershedLine = MarkWatershedLine;
return *
this; }
91 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
103 std::string
GetName()
const {
return std::string (
"MorphologicalWatershedImageFilter"); }
106 std::string ToString()
const;
118 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
128 bool m_MarkWatershedLine{
true};
131 bool m_FullyConnected{
false};