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