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;
72 using PixelType =
typename InputImageType::PixelType;
101 this->GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
102 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]);
145 Superclass::PrintSelf(os, indent);