Go to the documentation of this file.
18 #ifndef sitkApproximateSignedDistanceMapImageFilter_h
19 #define sitkApproximateSignedDistanceMapImageFilter_h
86 SITK_RETURN_SELF_TYPE_HEADER
SetInsideValue (
double InsideValue ) { this->m_InsideValue = InsideValue;
return *
this; }
96 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
104 std::string
GetName()
const {
return std::string (
"ApproximateSignedDistanceMapImageFilter"); }
107 std::string ToString()
const;
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
127 double m_InsideValue{1u};
129 double m_OutsideValue{0u};
The Image class for SimpleITK.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
Self & SetOutsideValue(double OutsideValue)
Image(Self::*)(const Image &image1) MemberFunctionType
Self & SetInsideValue(double InsideValue)
double GetOutsideValue() const
Create a map of the approximate signed distance from the boundaries of a binary image.
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.
#define SITKBasicFilters_EXPORT
double GetInsideValue() const
The base interface for SimpleITK filters that take one input image.
IntegerPixelIDTypeList PixelIDTypeList
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList