18 #ifndef itkInterpolateImageFunction_h
19 #define itkInterpolateImageFunction_h
43 template<
typename TInputImage,
typename TCoordRep =
double >
46 typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep >
70 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
97 this->GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
98 return ( this->EvaluateAtContinuousIndex(index) );
111 OutputType EvaluateAtContinuousIndex(
112 const ContinuousIndexType & index)
const override = 0;
124 return ( static_cast< RealType >( this->GetInputImage()->GetPixel(index) ) );
131 { Superclass::PrintSelf(os, indent); }
NumericTraits< TImageType::PixelType >::RealType OutputType
Light weight base class for most itk classes.
Define numeric traits for std::vector.
typename NumericTraits< typename TImageType::PixelType >::RealType RealType
OutputType Evaluate(const PointType &point) const override
TImageType InputImageType
ImageBaseType::IndexType IndexType
signed long IndexValueType
Base class for all image interpolaters.
void PrintSelf(std::ostream &os, Indent indent) const override
OutputType EvaluateAtIndex(const IndexType &index) const override
typename InputImageType::IndexType IndexType
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename InputImageType::IndexValueType IndexValueType
A templated class holding a geometric point in n-Dimensional space.
Evaluates a function of an image at specified position.