Go to the documentation of this file.
18 #ifndef sitkIsoContourDistanceImageFilter_h
19 #define sitkIsoContourDistanceImageFilter_h
62 SITK_RETURN_SELF_TYPE_HEADER
SetLevelSetValue (
double LevelSetValue ) { this->m_LevelSetValue = LevelSetValue;
return *
this; }
72 SITK_RETURN_SELF_TYPE_HEADER
SetFarValue (
double FarValue ) { this->m_FarValue = FarValue;
return *
this; }
80 std::string
GetName()
const {
return std::string (
"IsoContourDistanceImageFilter"); }
83 std::string ToString()
const;
95 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
103 double m_LevelSetValue{0.0};
105 double m_FarValue{10};
The Image class for SimpleITK.
std::string GetName() const
BasicPixelIDTypeList PixelIDTypeList
double GetFarValue() const
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Compute an approximate distance from an interpolated isocontour to the close grid points.
#define SITKBasicFilters_EXPORT
Image IsoContourDistance(const Image &image1, double levelSetValue=0.0, double farValue=10)
Compute an approximate distance from an interpolated isocontour to the close grid points.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
Self & SetLevelSetValue(double LevelSetValue)
Image(Self::*)(const Image &image1) MemberFunctionType
Self & SetFarValue(double FarValue)
double GetLevelSetValue() const