20 #ifndef MIRTK_BSplineInterpolateImageFunction2D_H 21 #define MIRTK_BSplineInterpolateImageFunction2D_H 23 #include "mirtk/BaseImage.h" 24 #include "mirtk/BSplineInterpolateImageFunction.h" 34 template <
class TImage>
50 VoxelType
Get(
double,
double,
double = 0,
double = 0)
const;
56 VoxelType
GetWithPadding(
double,
double,
double = 0,
double = 0)
const;
65 template <
class TOtherImage>
typename TOtherImage::VoxelType
66 Get(
const TOtherImage *,
double,
double,
double = 0,
double = 0)
const;
78 template <
class TOtherImage,
class TCoefficient>
typename TCoefficient::VoxelType
80 double,
double,
double = 0,
double = 0)
const;
87 virtual VoxelType
GetInside(
double,
double,
double = 0,
double = 0)
const;
90 virtual VoxelType
GetOutside(
double,
double,
double = 0,
double = 0)
const;
129 #endif // MIRTK_BSplineInterpolateImageFunction2D_H virtual VoxelType GetWithPaddingInside(double, double, double=0, double=0) const
virtual VoxelType GetWithPaddingOutside(double, double, double=0, double=0) const
GenericBSplineInterpolateImageFunction2D()
Default constructor.
BSplineInterpolateImageFunction2D()
Constructor.
virtual VoxelType GetOutside(double, double, double=0, double=0) const
Evaluate generic image at an arbitrary location (in pixels)
VoxelType Get(double, double, double=0, double=0) const
VoxelType GetWithPadding(double, double, double=0, double=0) const
virtual VoxelType GetInside(double, double, double=0, double=0) const