18 #ifndef itkVectorCurvatureAnisotropicDiffusionImageFilter_h
19 #define itkVectorCurvatureAnisotropicDiffusionImageFilter_h
67 template <
typename TInputImage,
typename TOutputImage>
87 using typename Superclass::UpdateBufferType;
90 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
92 #ifdef ITK_USE_CONCEPT_CHECKING
104 this->SetDifferenceFunction(q);
112 Superclass::InitializeIteration();
113 if (this->GetTimeStep() > 0.5 / std::pow(2.0, static_cast<double>(ImageDimension)))
116 <<
"Anisotropic diffusion has attempted to use a time step which may introduce instability into the solution.");