18 #ifndef sitkApproximateSignedDistanceMapImageFilter_h
19 #define sitkApproximateSignedDistanceMapImageFilter_h
89 SITK_RETURN_SELF_TYPE_HEADER
SetInsideValue (
double InsideValue ) { this->m_InsideValue = InsideValue;
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
106 std::string
GetName()
const {
return std::string (
"ApproximateSignedDistanceMapImageFilter"); }
109 std::string ToString()
const;
117 Image Execute (
const Image& image1,
double insideValue,
double outsideValue );
124 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
125 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 main 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.