18 #ifndef itkVectorInterpolateImageFunction_h
19 #define itkVectorInterpolateImageFunction_h
46 template <
typename TInputImage,
typename TCoordRep =
double>
48 :
public ImageFunction<TInputImage, typename NumericTraits<typename TInputImage::PixelType>::RealType, TCoordRep>
57 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
71 using typename Superclass::InputImageType;
72 using PixelType =
typename InputImageType::PixelType;
83 using typename Superclass::ContinuousIndexType;
86 using typename Superclass::OutputType;
100 this->GetInputImage()->template TransformPhysicalPointToContinuousIndex<TCoordRep>(
point);
101 return (this->EvaluateAtContinuousIndex(index));
116 EvaluateAtContinuousIndex(
const ContinuousIndexType & index)
const override = 0;
129 PixelType input = this->GetInputImage()->GetPixel(index);
132 for (
unsigned int k = 0; k < this->GetInputImage()->GetNumberOfComponentsPerPixel(); ++k)
134 output[k] = static_cast<double>(input[k]);