18 #ifndef sitkValuedRegionalMinimaImageFilter_h
19 #define sitkValuedRegionalMinimaImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
77 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
89 bool GetFlat()
const {
return this->m_Flat; };
92 std::string
GetName()
const {
return std::string (
"ValuedRegionalMinimaImageFilter"); }
95 std::string ToString()
const;
103 Image Execute (
const Image& image1,
bool fullyConnected );
110 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
111 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 main 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)