18 #ifndef sitkApproximateSignedDistanceMapImageFilter_h
19 #define sitkApproximateSignedDistanceMapImageFilter_h
83 SITK_RETURN_SELF_TYPE_HEADER
SetInsideValue (
double InsideValue ) { this->m_InsideValue = InsideValue;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
100 std::string
GetName()
const {
return std::string (
"ApproximateSignedDistanceMapImageFilter"); }
103 std::string ToString()
const;
111 Image Execute (
const Image& image1,
double insideValue,
double outsideValue );
117 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
118 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
Create a map of the approximate signed distance from the boundaries of a binary image.
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetOutsideValue(double OutsideValue)
std::string GetName() const
double GetOutsideValue() const
double GetInsideValue() const
The Image class for SimpleITK.
Image ApproximateSignedDistanceMap(const Image &image1, double insideValue=1u, double outsideValue=0u)
Create a map of the approximate signed distance from the boundaries of a binary image.
IntegerPixelIDTypeList PixelIDTypeList
Self & SetInsideValue(double InsideValue)
ApproximateSignedDistanceMapImageFilter Self
The base interface for SimpleITK filters that take one input image.