18 #ifndef itkInterpolateImageFunction_h
19 #define itkInterpolateImageFunction_h
43 template<
typename TInputImage,
typename TCoordRep =
double >
46 typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep >
96 this->
GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
123 return ( static_cast< RealType >( this->
GetInputImage()->GetPixel(index) ) );
~InterpolateImageFunction()
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
void operator=(const Self &)
virtual OutputType Evaluate(const PointType &point) const override
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override=0
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::IndexType IndexType
InterpolateImageFunction Self
Superclass::OutputType OutputType
static const unsigned int ImageDimension
const InputImageType * GetInputImage() const
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
static const unsigned int ImageDimension
Superclass::PointType PointType
InputImageType::IndexType IndexType
Superclass::InputImageType InputImageType
TInputImage InputImageType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
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
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
InputImageType::IndexValueType IndexValueType
NumericTraits< typename TInputImage::PixelType >::RealType RealType
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass