18#ifndef itkAnisotropicDiffusionFunction_h
19#define itkAnisotropicDiffusionFunction_h
138template <
typename TImage>
164 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
193 m_ConductanceParameter = c;
199 return m_ConductanceParameter;
206 return m_AverageGradientMagnitudeSquared;
212 m_AverageGradientMagnitudeSquared = c;
220 return this->GetTimeStep();
241 m_AverageGradientMagnitudeSquared = 0.0;
242 m_ConductanceParameter = 1.0;
251 Superclass::PrintSelf(os, indent);
252 os << indent <<
"TimeStep: " << m_TimeStep << std::endl;
253 os << indent <<
"ConductanceParameter: " << m_ConductanceParameter << std::endl;
257 double m_AverageGradientMagnitudeSquared{};
258 double m_ConductanceParameter{};
void SetTimeStep(const TimeStepType &t)
TimeStepType ComputeGlobalTimeStep(void *) const override
void ReleaseGlobalDataPointer(void *) const override
const TimeStepType & GetTimeStep() const
void SetConductanceParameter(const double c)
typename Superclass::PixelRealType PixelrealType
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void CalculateAverageGradientMagnitudeSquared(ImageType *)=0
AnisotropicDiffusionFunction()
const double & GetConductanceParameter() const
const double & GetAverageGradientMagnitudeSquared() const
void * GetGlobalDataPointer() const override
~AnisotropicDiffusionFunction() override=default
void SetAverageGradientMagnitudeSquared(const double c)
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ImageType::PixelType PixelType
typename ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
A templated class holding a n-Dimensional vector.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....