18 #ifndef itkAnisotropicDiffusionFunction_h
19 #define itkAnisotropicDiffusionFunction_h
138 template<
typename TImage >
163 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
170 virtual void CalculateAverageGradientMagnitudeSquared(
ImageType *) = 0;
188 m_ConductanceParameter = c;
193 return m_ConductanceParameter;
199 return m_AverageGradientMagnitudeSquared;
204 m_AverageGradientMagnitudeSquared = c;
211 return this->GetTimeStep();
230 m_AverageGradientMagnitudeSquared = 0.0;
231 m_ConductanceParameter = 1.0;
239 Superclass::PrintSelf(os, indent);
240 os << indent <<
"TimeStep: " << m_TimeStep << std::endl;
241 os << indent <<
"ConductanceParameter: " << m_ConductanceParameter
AnisotropicDiffusionFunction()
SmartPointer< Self > Pointer
AnisotropicDiffusionFunction Self
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::PixelRealType PixelrealType
double m_ConductanceParameter
~AnisotropicDiffusionFunction() override
Superclass::NeighborhoodType NeighborhoodType
ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
Superclass::TimeStepType TimeStepType
virtual TimeStepType ComputeGlobalTimeStep(void *) const override
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Superclass::ImageType ImageType
Superclass::FloatOffsetType FloatOffsetType
const double & GetConductanceParameter() const
virtual void * GetGlobalDataPointer() const override
A templated class holding a n-Dimensional vector.
const double & GetAverageGradientMagnitudeSquared() const
ImageType::PixelType PixelType
SmartPointer< const Self > ConstPointer
Superclass::PixelType PixelType
void SetTimeStep(const TimeStepType &t)
Superclass::RadiusType RadiusType
double m_AverageGradientMagnitudeSquared
FiniteDifferenceFunction< TImage > Superclass
void SetAverageGradientMagnitudeSquared(const double &c)
const TimeStepType & GetTimeStep() const
Control indentation during Print() invocation.
virtual void ReleaseGlobalDataPointer(void *) const override
void SetConductanceParameter(const double &c)