18 #ifndef sitkRegionalMinimaImageFilter_h
19 #define sitkRegionalMinimaImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
83 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
96 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
107 SITK_RETURN_SELF_TYPE_HEADER
SetFlatIsMinima (
bool FlatIsMinima ) { this->m_FlatIsMinima = FlatIsMinima;
return *
this; }
110 SITK_RETURN_SELF_TYPE_HEADER
FlatIsMinimaOn() {
return this->SetFlatIsMinima(
true); }
111 SITK_RETURN_SELF_TYPE_HEADER
FlatIsMinimaOff() {
return this->SetFlatIsMinima(
false); }
119 std::string
GetName()
const {
return std::string (
"RegionalMinimaImageFilter"); }
122 std::string ToString()
const;
134 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
143 double m_BackgroundValue{0.0};
146 double m_ForegroundValue{1.0};
149 bool m_FullyConnected{
false};
151 bool m_FlatIsMinima{
true};