18 #ifndef itkVectorCentralDifferenceImageFunction_h
19 #define itkVectorCentralDifferenceImageFunction_h
47 typename TCoordRep =
float >
51 TInputImage::PixelType::Dimension,
52 TInputImage::ImageDimension >,
64 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
70 Self::ImageDimension >,
117 this->ConvertPointToNearestIndex(point, index);
118 return this->EvaluateAtIndex(index);
126 this->ConvertContinuousIndexToNearestIndex(cindex, index);
127 return this->EvaluateAtIndex(index);
140 itkSetMacro(UseImageDirection,
bool);
141 itkGetConstMacro(UseImageDirection,
bool);
142 itkBooleanMacro(UseImageDirection);
148 void PrintSelf(std::ostream & os,
Indent indent)
const override;
157 #ifndef ITK_MANUAL_INSTANTIATION
158 #include "itkVectorCentralDifferenceImageFunction.hxx"
typename Superclass::PointType PointType
A templated class holding a M x N size Matrix.
Light weight base class for most itk classes.
typename Superclass::IndexType IndexType
~VectorCentralDifferenceImageFunction() override
typename Superclass::OutputType OutputType
constexpr unsigned int Dimension
typename Superclass::ContinuousIndexType ContinuousIndexType
ImageBaseType::IndexType IndexType
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
typename TInputImage::PixelType InputPixelType
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
Calculate the derivative by central differencing.
TInputImage InputImageType
Evaluates a function of an image at specified position.
OutputType Evaluate(const PointType &point) const override