18 #ifndef sitkGradientAnisotropicDiffusionImageFilter_h
19 #define sitkGradientAnisotropicDiffusionImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetTimeStep (
double TimeStep ) { this->m_TimeStep = TimeStep;
return *
this; }
82 SITK_RETURN_SELF_TYPE_HEADER
SetConductanceParameter (
double ConductanceParameter ) { this->m_ConductanceParameter = ConductanceParameter;
return *
this; }
90 SITK_RETURN_SELF_TYPE_HEADER
SetConductanceScalingUpdateInterval (
unsigned int ConductanceScalingUpdateInterval ) { this->m_ConductanceScalingUpdateInterval = ConductanceScalingUpdateInterval;
return *
this; }
98 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations ( uint32_t NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
105 std::string
GetName()
const {
return std::string (
"GradientAnisotropicDiffusionImageFilter"); }
108 std::string ToString()
const;
119 double EstimateOptimalTimeStep(
Image & inImage );
126 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
135 double m_TimeStep{0.125};
138 double m_ConductanceParameter{3};
141 unsigned int m_ConductanceScalingUpdateInterval{1u};
144 uint32_t m_NumberOfIterations{5u};
147 bool m_InPlace{
false};