18 #ifndef itkAnisotropicDiffusionFunction_h
19 #define itkAnisotropicDiffusionFunction_h
138 template<
typename TImage >
165 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
172 virtual void CalculateAverageGradientMagnitudeSquared(
ImageType *) = 0;
190 m_ConductanceParameter = c;
195 return m_ConductanceParameter;
201 return m_AverageGradientMagnitudeSquared;
206 m_AverageGradientMagnitudeSquared = c;
213 return this->GetTimeStep();
232 m_AverageGradientMagnitudeSquared = 0.0;
233 m_ConductanceParameter = 1.0;
241 Superclass::PrintSelf(os, indent);
242 os << indent <<
"TimeStep: " << m_TimeStep << std::endl;
243 os << indent <<
"ConductanceParameter: " << m_ConductanceParameter
AnisotropicDiffusionFunction()
typename Superclass::ImageType ImageType
Light weight base class for most itk classes.
typename Superclass::PixelType PixelType
void PrintSelf(std::ostream &os, Indent indent) const override
double m_ConductanceParameter
TimeStepType ComputeGlobalTimeStep(void *) const override
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ImageType::PixelType PixelType
const double & GetConductanceParameter() const
typename ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
typename Superclass::FloatOffsetType FloatOffsetType
A templated class holding a n-Dimensional vector.
const double & GetAverageGradientMagnitudeSquared() const
typename Superclass::PixelRealType PixelrealType
void SetTimeStep(const TimeStepType &t)
double m_AverageGradientMagnitudeSquared
void ReleaseGlobalDataPointer(void *) const override
void SetAverageGradientMagnitudeSquared(const double &c)
const TimeStepType & GetTimeStep() const
void * GetGlobalDataPointer() const override
Control indentation during Print() invocation.
typename Superclass::NeighborhoodType NeighborhoodType
typename Superclass::RadiusType RadiusType
typename Superclass::TimeStepType TimeStepType
void SetConductanceParameter(const double &c)