18 #ifndef __itkAnisotropicDiffusionFunction_h
19 #define __itkAnisotropicDiffusionFunction_h
138 template<
class TImage >
163 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
170 virtual void CalculateAverageGradientMagnitudeSquared(
ImageType *) = 0;
186 void SetConductanceParameter(
const double & c)
188 m_ConductanceParameter = c;
191 const double & GetConductanceParameter()
const
193 return m_ConductanceParameter;
197 const double & GetAverageGradientMagnitudeSquared()
const
199 return m_AverageGradientMagnitudeSquared;
202 void SetAverageGradientMagnitudeSquared(
const double & c)
204 m_AverageGradientMagnitudeSquared = c;
209 virtual TimeStepType ComputeGlobalTimeStep(
void *itkNotUsed(GlobalData) )
const
211 return this->GetTimeStep();
216 virtual void * GetGlobalDataPointer()
const
222 virtual void ReleaseGlobalDataPointer(
void *itkNotUsed(GlobalData) )
const
230 m_AverageGradientMagnitudeSquared = 0.0;
231 m_ConductanceParameter = 1.0;
237 void PrintSelf(std::ostream & os,
Indent indent)
const
239 Superclass::PrintSelf(os, indent);
240 os << indent <<
"TimeStep: " << m_TimeStep << std::endl;
241 os << indent <<
"ConductanceParameter: " << m_ConductanceParameter
247 void operator=(
const Self &);