Go to the documentation of this file.
18 #ifndef sitkApproximateSignedDistanceMapImageFilter_h
19 #define sitkApproximateSignedDistanceMapImageFilter_h
87 SITK_RETURN_SELF_TYPE_HEADER
SetInsideValue (
double InsideValue ) { this->m_InsideValue = InsideValue;
return *
this; }
97 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
105 std::string
GetName()
const {
return std::string (
"ApproximateSignedDistanceMapImageFilter"); }
108 std::string ToString()
const;
120 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
128 double m_InsideValue{1u};
130 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
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList