20 #ifndef MIRTK_CSplineInterpolateImageFunction2D_H 21 #define MIRTK_CSplineInterpolateImageFunction2D_H 23 #include "mirtk/CSplineInterpolateImageFunction.h" 32 template <
class TImage>
48 VoxelType
Get(
double,
double,
double = 0,
double = 0)
const;
54 VoxelType
GetWithPadding(
double,
double,
double = 0,
double = 0)
const;
63 template <
class TOtherImage>
typename TOtherImage::VoxelType
64 Get(
const TOtherImage *,
double,
double,
double = 0,
double = 0)
const;
76 template <
class TOtherImage>
typename TOtherImage::VoxelType
77 GetWithPadding(
const TOtherImage *,
double,
double,
double = 0,
double = 0)
const;
84 virtual VoxelType
GetInside(
double,
double,
double = 0,
double = 0)
const;
87 virtual VoxelType
GetOutside(
double,
double,
double = 0,
double = 0)
const;
127 #endif // MIRTK_CSplineInterpolateImageFunction2D_H
GenericCSplineInterpolateImageFunction2D()
Default constructor.
virtual VoxelType GetWithPaddingInside(double, double, double=0, double=0) const
virtual VoxelType GetWithPaddingOutside(double, double, double=0, double=0) const
virtual VoxelType GetInside(double, double, double=0, double=0) const
VoxelType GetWithPadding(double, double, double=0, double=0) const
VoxelType Get(double, double, double=0, double=0) const
CSplineInterpolateImageFunction2D()
Constructor.
virtual VoxelType GetOutside(double, double, double=0, double=0) const
Evaluate generic image at an arbitrary location (in pixels)