18 #ifndef rtkGetNewtonUpdateImageFilter_h 19 #define rtkGetNewtonUpdateImageFilter_h 41 template <
class TGradient,
43 TGradient::PixelType::Dimension * TGradient::PixelType::Dimension>,
44 TGradient::ImageDimension>>
59 #ifdef itkOverrideGetNameOfClassMacro 67 static constexpr
unsigned int nChannels = TGradient::PixelType::Dimension;
70 using dataType =
typename TGradient::PixelType::ValueType;
74 SetInputGradient(
const TGradient * gradient);
76 SetInputHessian(
const THessian * hessian);
84 GenerateInputRequestedRegion()
override;
88 DynamicThreadedGenerateData(
const typename TGradient::RegionType & outputRegionForThread)
override;
91 typename TGradient::ConstPointer
93 typename THessian::ConstPointer
100 #ifndef ITK_MANUAL_INSTANTIATION 101 # include "rtkGetNewtonUpdateImageFilter.hxx" typename TGradient::PixelType::ValueType dataType
Computes update from gradient and Hessian in Newton's method.