18 #ifndef itkGPUAnisotropicDiffusionFunction_h
19 #define itkGPUAnisotropicDiffusionFunction_h
37 template <
typename TImage>
62 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
70 GPUCalculateAverageGradientMagnitudeSquared(
ImageType *) = 0;
91 m_ConductanceParameter = c;
97 return m_ConductanceParameter;
104 return m_AverageGradientMagnitudeSquared;
110 m_AverageGradientMagnitudeSquared = c;
118 return this->GetTimeStep();
139 m_AverageGradientMagnitudeSquared = 0.0;
140 m_ConductanceParameter = 1.0;
149 Superclass::PrintSelf(os, indent);
150 os << indent <<
"TimeStep: " << m_TimeStep << std::endl;
151 os << indent <<
"ConductanceParameter: " << m_ConductanceParameter << std::endl;
159 int m_AverageGradientMagnitudeSquaredGPUKernelHandle{};
162 double m_AverageGradientMagnitudeSquared{};
163 double m_ConductanceParameter{};