18 #ifndef sitkRegionalMinimaImageFilter_h
19 #define sitkRegionalMinimaImageFilter_h
72 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
82 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
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); }
106 SITK_RETURN_SELF_TYPE_HEADER
SetFlatIsMinima (
bool FlatIsMinima ) { this->m_FlatIsMinima = FlatIsMinima;
return *
this; }
109 SITK_RETURN_SELF_TYPE_HEADER
FlatIsMinimaOn() {
return this->SetFlatIsMinima(
true); }
110 SITK_RETURN_SELF_TYPE_HEADER
FlatIsMinimaOff() {
return this->SetFlatIsMinima(
false); }
118 std::string
GetName()
const {
return std::string (
"RegionalMinimaImageFilter"); }
121 std::string ToString()
const;
133 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
142 double m_BackgroundValue{0.0};
145 double m_ForegroundValue{1.0};
148 bool m_FullyConnected{
false};
150 bool m_FlatIsMinima{
true};