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
105 this->SetDifferenceFunction(q);
113 Superclass::InitializeIteration();
114 if (this->GetTimeStep() > 0.5 / std::pow(2.0, static_cast<double>(ImageDimension)))
117 <<
"Anisotropic diffusion has attempted to use a time step which may introduce instability into the solution.");