18 #ifndef itkAnisotropicDiffusionImageFilter_h
19 #define itkAnisotropicDiffusionImageFilter_h
72 template <
typename TInputImage,
typename TOutputImage>
89 using typename Superclass::InputImageType;
90 using typename Superclass::OutputImageType;
91 using typename Superclass::UpdateBufferType;
95 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
99 using typename Superclass::PixelType;
100 using typename Superclass::TimeStepType;
109 itkSetMacro(ConductanceParameter,
double);
110 itkGetConstMacro(ConductanceParameter,
double);
115 itkSetMacro(ConductanceScalingUpdateInterval,
unsigned int);
116 itkGetConstMacro(ConductanceScalingUpdateInterval,
unsigned int);
121 itkSetMacro(ConductanceScalingParameter,
double);
122 itkGetConstMacro(ConductanceScalingParameter,
double);
135 m_FixedAverageGradientMagnitude = a;
137 m_GradientMagnitudeIsFixed =
true;
141 itkGetConstMacro(FixedAverageGradientMagnitude,
double);
147 PrintSelf(std::ostream & os,
Indent indent)
const override;
155 InitializeIteration()
override;
157 bool m_GradientMagnitudeIsFixed{};
160 double m_ConductanceParameter{};
161 double m_ConductanceScalingParameter{};
162 unsigned int m_ConductanceScalingUpdateInterval{};
163 double m_FixedAverageGradientMagnitude{};
169 #ifndef ITK_MANUAL_INSTANTIATION
170 # include "itkAnisotropicDiffusionImageFilter.hxx"