18 #ifndef sitkSignedMaurerDistanceMapImageFilter_h
19 #define sitkSignedMaurerDistanceMapImageFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetInsideIsPositive (
bool InsideIsPositive ) { this->m_InsideIsPositive = InsideIsPositive;
return *
this; }
83 SITK_RETURN_SELF_TYPE_HEADER
SetSquaredDistance (
bool SquaredDistance ) { this->m_SquaredDistance = SquaredDistance;
return *
this; }
97 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
108 std::string
GetName()
const {
return std::string (
"SignedMaurerDistanceMapImageFilter"); }
111 std::string ToString()
const;
119 Image Execute (
const Image& image1,
bool insideIsPositive,
bool squaredDistance,
bool useImageSpacing );
126 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
127 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList
Self & SquaredDistanceOff()
Self & SetInsideIsPositive(bool InsideIsPositive)
#define SITKBasicFilters_EXPORT
SignedMaurerDistanceMapImageFilter Self
Self & SetSquaredDistance(bool SquaredDistance)
Image SignedMaurerDistanceMap(const Image &image1, bool insideIsPositive=false, bool squaredDistance=true, bool useImageSpacing=false)
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
Self & SetUseImageSpacing(bool UseImageSpacing)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SquaredDistanceOn()
std::string GetName() const
Self & UseImageSpacingOff()
Self & InsideIsPositiveOn()
bool GetInsideIsPositive() const
The main Image class for SimpleITK.
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
Self & InsideIsPositiveOff()
bool GetSquaredDistance() const
bool GetUseImageSpacing() const
IntegerPixelIDTypeList PixelIDTypeList
Self & UseImageSpacingOn()
The base interface for SimpleITK filters that take one input image.