18 #ifndef sitkGradientAnisotropicDiffusionImageFilter_h
19 #define sitkGradientAnisotropicDiffusionImageFilter_h
72 SITK_RETURN_SELF_TYPE_HEADER
SetTimeStep (
double TimeStep ) { this->m_TimeStep = TimeStep;
return *
this; }
80 SITK_RETURN_SELF_TYPE_HEADER
SetConductanceParameter (
double ConductanceParameter ) { this->m_ConductanceParameter = ConductanceParameter;
return *
this; }
88 SITK_RETURN_SELF_TYPE_HEADER
SetConductanceScalingUpdateInterval (
unsigned int ConductanceScalingUpdateInterval ) { this->m_ConductanceScalingUpdateInterval = ConductanceScalingUpdateInterval;
return *
this; }
102 std::string
GetName()
const {
return std::string (
"GradientAnisotropicDiffusionImageFilter"); }
105 std::string ToString()
const;
113 Image Execute (
const Image& image1,
double timeStep,
double conductanceParameter,
unsigned int conductanceScalingUpdateInterval,
uint32_t numberOfIterations );
117 double EstimateOptimalTimeStep(
Image & inImage );
124 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
125 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Self & SetConductanceParameter(double ConductanceParameter)
#define SITKBasicFilters_EXPORT
double GetTimeStep() const
uint32_t m_NumberOfIterations
Self & SetTimeStep(double TimeStep)
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
double GetConductanceParameter() const
unsigned int GetConductanceScalingUpdateInterval() const
Image GradientAnisotropicDiffusion(const Image &image1, double timeStep=0.125, double conductanceParameter=3, unsigned int conductanceScalingUpdateInterval=1u, uint32_t numberOfIterations=5u)
itk::simple::GradientAnisotropicDiffusionImageFilter Procedural Interface
std::string GetName() const
Self & SetConductanceScalingUpdateInterval(unsigned int ConductanceScalingUpdateInterval)
Self & SetNumberOfIterations(uint32_t NumberOfIterations)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
uint32_t GetNumberOfIterations() const
double m_ConductanceParameter
The main Image class for SimpleITK.
GradientAnisotropicDiffusionImageFilter Self
unsigned int m_ConductanceScalingUpdateInterval
The base interface for SimpleITK filters that take one input image.
RealPixelIDTypeList PixelIDTypeList