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); }
104 std::string
GetName()
const {
return std::string (
"MorphologicalWatershedImageFilter"); }
107 std::string ToString()
const;
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
129 bool m_MarkWatershedLine{
true};
132 bool m_FullyConnected{
false};