18 #ifndef sitkValuedRegionalMinimaImageFilter_h
19 #define sitkValuedRegionalMinimaImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
71 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
83 bool GetFlat()
const {
return this->m_Flat; };
86 std::string
GetName()
const {
return std::string (
"ValuedRegionalMinimaImageFilter"); }
89 std::string ToString()
const;
97 Image Execute (
const Image& image1,
bool fullyConnected );
103 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
104 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Transforms the image so that any pixel that is not a regional minima is set to the maximum value for ...
#define SITKBasicFilters_EXPORT
ScalarPixelIDTypeList PixelIDTypeList
Image ValuedRegionalMinima(const Image &image1, bool fullyConnected=false)
Transforms the image so that any pixel that is not a regional minima is set to the maximum value for ...
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The Image class for SimpleITK.
BasicPixelIDTypeList ScalarPixelIDTypeList
Self & FullyConnectedOn()
Self & FullyConnectedOff()
The base interface for SimpleITK filters that take one input image.
ValuedRegionalMinimaImageFilter Self
bool GetFullyConnected() const
Self & SetFullyConnected(bool FullyConnected)