18 #ifndef sitkCurvatureAnisotropicDiffusionImageFilter_h
19 #define sitkCurvatureAnisotropicDiffusionImageFilter_h
76 SITK_RETURN_SELF_TYPE_HEADER
SetTimeStep (
double TimeStep ) { this->m_TimeStep = TimeStep;
return *
this; }
84 SITK_RETURN_SELF_TYPE_HEADER
SetConductanceParameter (
double ConductanceParameter ) { this->m_ConductanceParameter = ConductanceParameter;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetConductanceScalingUpdateInterval (
unsigned int ConductanceScalingUpdateInterval ) { this->m_ConductanceScalingUpdateInterval = ConductanceScalingUpdateInterval;
return *
this; }
100 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations ( uint32_t NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
107 std::string
GetName()
const {
return std::string (
"CurvatureAnisotropicDiffusionImageFilter"); }
110 std::string ToString()
const;
121 double EstimateOptimalTimeStep(
Image & inImage );
128 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
137 double m_TimeStep{0.0625};
140 double m_ConductanceParameter{3.0};
143 unsigned int m_ConductanceScalingUpdateInterval{1u};
146 uint32_t m_NumberOfIterations{5u};
149 bool m_InPlace{
false};