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; }
111 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
118 std::string
GetName()
const {
return std::string (
"SignedMaurerDistanceMapImageFilter"); }
121 std::string ToString()
const;
129 Image Execute (
const Image& image1,
bool insideIsPositive,
bool squaredDistance,
bool useImageSpacing,
double backgroundValue );
135 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
136 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
Image SignedMaurerDistanceMap(const Image &image1, bool insideIsPositive=false, bool squaredDistance=true, bool useImageSpacing=false, double backgroundValue=0.0)
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
Self & SetSquaredDistance(bool SquaredDistance)
Self & SetBackgroundValue(double BackgroundValue)
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 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
double GetBackgroundValue() const
Self & UseImageSpacingOn()
The base interface for SimpleITK filters that take one input image.