18 #ifndef itkGPUGradientNDAnisotropicDiffusionFunction_h
19 #define itkGPUGradientNDAnisotropicDiffusionFunction_h
59 template <
typename TImage>
90 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
93 itkGetOpenCLSourceFromKernelMacro(GPUGradientNDAnisotropicDiffusionFunctionKernel);
103 m_K = static_cast<PixelType>(this->GetAverageGradientMagnitudeSquared() * this->GetConductanceParameter() *
104 this->GetConductanceParameter() * -2.0f);
115 std::slice x_slice[ImageDimension];
116 std::slice xa_slice[ImageDimension][ImageDimension];
117 std::slice xd_slice[ImageDimension][ImageDimension];
132 #ifndef ITK_MANUAL_INSTANTIATION
133 # include "itkGPUGradientNDAnisotropicDiffusionFunction.hxx"