18 #ifndef __itkAnisotropicDiffusionFunction_h
19 #define __itkAnisotropicDiffusionFunction_h
137 template<
class TImage >
162 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
169 virtual void CalculateAverageGradientMagnitudeSquared(
ImageType *) = 0;
185 void SetConductanceParameter(
const double & c)
187 m_ConductanceParameter = c;
190 const double & GetConductanceParameter()
const
192 return m_ConductanceParameter;
196 const double & GetAverageGradientMagnitudeSquared()
const
198 return m_AverageGradientMagnitudeSquared;
201 void SetAverageGradientMagnitudeSquared(
const double & c)
203 m_AverageGradientMagnitudeSquared = c;
208 virtual TimeStepType ComputeGlobalTimeStep(
void *itkNotUsed(GlobalData) )
const
210 return this->GetTimeStep();
215 virtual void * GetGlobalDataPointer()
const
221 virtual void ReleaseGlobalDataPointer(
void *itkNotUsed(GlobalData) )
const
229 m_AverageGradientMagnitudeSquared = 0.0;
230 m_ConductanceParameter = 1.0;
236 void PrintSelf(std::ostream & os,
Indent indent)
const
238 Superclass::PrintSelf(os, indent);
239 os << indent <<
"TimeStep: " << m_TimeStep << std::endl;
240 os << indent <<
"ConductanceParameter: " << m_ConductanceParameter
246 void operator=(
const Self &);