18 #ifndef sitkGrayscaleGeodesicErodeImageFilter_h
19 #define sitkGrayscaleGeodesicErodeImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetRunOneIteration (
bool RunOneIteration ) { this->m_RunOneIteration = RunOneIteration;
return *
this; }
85 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
88 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
96 std::string
GetName()
const {
return std::string (
"GrayscaleGeodesicErodeImageFilter"); }
99 std::string ToString()
const;
107 Image Execute (
const Image& image1,
const Image& image2,
bool runOneIteration,
bool fullyConnected );
114 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
115 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
std::string GetName() const
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Self & SetRunOneIteration(bool RunOneIteration)
Image GrayscaleGeodesicErode(const Image &image1, const Image &image2, bool runOneIteration=false, bool fullyConnected=false)
geodesic gray scale erosion of an image
Self & SetFullyConnected(bool FullyConnected)
Self & RunOneIterationOff()
Self & RunOneIterationOn()
bool GetRunOneIteration() const
bool GetFullyConnected() const
GrayscaleGeodesicErodeImageFilter Self
Self & FullyConnectedOn()
The main Image class for SimpleITK.
geodesic gray scale erosion of an image
Self & FullyConnectedOff()
The base interface for SimpleITK filters that take one input image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory