18 #ifndef sitkIsoContourDistanceImageFilter_h
19 #define sitkIsoContourDistanceImageFilter_h
63 SITK_RETURN_SELF_TYPE_HEADER
SetLevelSetValue (
double LevelSetValue ) { this->m_LevelSetValue = LevelSetValue;
return *
this; }
73 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;
91 Image Execute (
const Image& image1,
double levelSetValue,
double farValue );
98 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
99 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
#define SITKBasicFilters_EXPORT
Image IsoContourDistance(const Image &image1, double levelSetValue=0, double farValue=10)
Compute an approximate distance from an interpolated isocontour to the close grid points...
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
BasicPixelIDTypeList PixelIDTypeList
IsoContourDistanceImageFilter Self
Compute an approximate distance from an interpolated isocontour to the close grid points...
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The main Image class for SimpleITK.
Self & SetLevelSetValue(double LevelSetValue)
double GetFarValue() const
Self & SetFarValue(double FarValue)
double GetLevelSetValue() const
The base interface for SimpleITK filters that take one input image.