18 #ifndef sitkRegionalMaximaImageFilter_h
19 #define sitkRegionalMaximaImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
84 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
97 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
108 SITK_RETURN_SELF_TYPE_HEADER
SetFlatIsMaxima (
bool FlatIsMaxima ) { this->m_FlatIsMaxima = FlatIsMaxima;
return *
this; }
111 SITK_RETURN_SELF_TYPE_HEADER
FlatIsMaximaOn() {
return this->SetFlatIsMaxima(
true); }
112 SITK_RETURN_SELF_TYPE_HEADER
FlatIsMaximaOff() {
return this->SetFlatIsMaxima(
false); }
120 std::string
GetName()
const {
return std::string (
"RegionalMaximaImageFilter"); }
123 std::string ToString()
const;
135 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
144 double m_BackgroundValue{0.0};
147 double m_ForegroundValue{1.0};
150 bool m_FullyConnected{
false};
152 bool m_FlatIsMaxima{
true};