18 #ifndef itkCentralDifferenceImageFunction_h
19 #define itkCentralDifferenceImageFunction_h
73 template <
typename TInputImage,
74 typename TCoordRep = float,
75 typename TOutputType = CovariantVector<double, TInputImage::ImageDimension>>
82 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
135 SetInputImage(
const TInputImage * inputData)
override;
156 EvaluateAtIndex(
const IndexType & index)
const override;
172 Evaluate(
const PointType & point)
const override;
202 itkSetMacro(UseImageDirection,
bool);
203 itkGetConstMacro(UseImageDirection,
bool);
204 itkBooleanMacro(UseImageDirection);
211 PrintSelf(std::ostream & os,
Indent indent)
const override;
215 template <
typename T>
222 template <
typename Type>
224 EvaluateAtIndexSpecialized(
const IndexType & index,
227 template <
typename Type>
229 EvaluateAtIndexSpecialized(
const IndexType & index,
235 template <
typename Type>
240 template <
typename Type>
249 template <
typename Type>
251 EvaluateSpecialized(
const PointType & point,
254 template <
typename Type>
268 #ifndef ITK_MANUAL_INSTANTIATION
269 # include "itkCentralDifferenceImageFunction.hxx"