Go to the documentation of this file.
18 #ifndef sitkIsoContourDistanceImageFilter_h
19 #define sitkIsoContourDistanceImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetLevelSetValue (
double LevelSetValue ) { this->m_LevelSetValue = LevelSetValue;
return *
this; }
71 SITK_RETURN_SELF_TYPE_HEADER
SetFarValue (
double FarValue ) { this->m_FarValue = FarValue;
return *
this; }
79 std::string
GetName()
const {
return std::string (
"IsoContourDistanceImageFilter"); }
82 std::string ToString()
const;
94 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
99 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
102 double m_LevelSetValue{0.0};
104 double m_FarValue{10};
The Image class for SimpleITK.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
std::string GetName() const
BasicPixelIDTypeList PixelIDTypeList
double GetFarValue() const
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