18 #ifndef itkInterpolateImageFunction_h
19 #define itkInterpolateImageFunction_h
43 template<
typename TInputImage,
typename TCoordRep =
double >
46 typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep >
62 typedef typename Superclass::OutputType
OutputType;
68 itkStaticConstMacro(ImageDimension,
unsigned int,
69 Superclass::ImageDimension);
96 this->GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
97 return ( this->EvaluateAtContinuousIndex(index) );
110 virtual OutputType EvaluateAtContinuousIndex(
111 const ContinuousIndexType & index)
const ITK_OVERRIDE = 0;
123 return ( static_cast< RealType >( this->GetInputImage()->GetPixel(index) ) );
130 { Superclass::PrintSelf(os, indent); }
signed long IndexValueType
virtual OutputType Evaluate(const PointType &point) const override
Superclass::IndexType IndexType
InterpolateImageFunction Self
Superclass::OutputType OutputType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::PointType PointType
Superclass::PointType PointType
InputImageType::IndexType IndexType
Superclass::InputImageType InputImageType
Superclass::ContinuousIndexType ContinuousIndexType
Base class for all image interpolaters.
InterpolateImageFunction()
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
virtual OutputType EvaluateAtIndex(const IndexType &index) const override
~InterpolateImageFunction() override
Superclass::IndexValueType IndexValueType
A templated class holding a geometric point in n-Dimensional space.
Evaluates a function of an image at specified position.
NumericTraits< TImageType::PixelType >::RealType OutputType
NumericTraits< typename TInputImage::PixelType >::RealType RealType
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
ImageBaseType::IndexType IndexType