18#ifndef __itkAdvancedLinearInterpolateImageFunction_h
19#define __itkAdvancedLinearInterpolateImageFunction_h
21#include "itkLinearInterpolateImageFunction.h"
62template<
class TInputImage,
class TCoordRep =
double >
64 public LinearInterpolateImageFunction< TInputImage, TCoordRep >
70 typedef LinearInterpolateImageFunction< TInputImage, TCoordRep >
Superclass;
91 typedef typename Superclass::RealType
RealType;
118 Dispatch< ImageDimension >(), x, value, deriv );
133 struct DispatchBase {};
134 template<
unsigned int >
135 struct Dispatch :
public DispatchBase {};
139 const Dispatch< 2 > &,
146 const Dispatch< 3 > &,
153 const DispatchBase &,
168 itkExceptionMacro( <<
"ERROR: EvaluateValueAndDerivativeAtContinuousIndex() "
169 <<
"is not implemented for this dimension ("
170 << ImageDimension <<
")." );
178#ifndef ITK_MANUAL_INSTANTIATION
179#include "itkAdvancedLinearInterpolateImageFunction.hxx"
Linearly interpolate an image at specified positions.
LinearInterpolateImageFunction< TInputImage, TCoordRep > Superclass
SmartPointer< const Self > ConstPointer
itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension)
void operator=(const Self &)
Superclass::InputImageType InputImageType
AdvancedLinearInterpolateImageFunction(const Self &)
~AdvancedLinearInterpolateImageFunction() override
void EvaluateValueAndDerivativeOptimized(const Dispatch< 2 > &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
CovariantVector< OutputType, itkGetStaticConstMacro(ImageDimension) > CovariantVectorType
Superclass::InputPixelType InputPixelType
Superclass::OutputType OutputType
void EvaluateValueAndDerivativeOptimized(const Dispatch< 3 > &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
AdvancedLinearInterpolateImageFunction()
Superclass::ContinuousIndexType ContinuousIndexType
void EvaluateValueAndDerivativeAtContinuousIndex(const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
ContinuousIndexType::ValueType ContinuousIndexValueType
InputImageType::SpacingType InputImageSpacingType
void EvaluateValueAndDerivativeUnOptimized(const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
CovariantVectorType EvaluateDerivativeAtContinuousIndex(const ContinuousIndexType &x) const
Superclass::RealType RealType
SmartPointer< Self > Pointer
Superclass::IndexType IndexType
AdvancedLinearInterpolateImageFunction Self
void EvaluateValueAndDerivativeOptimized(const DispatchBase &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const