20 #ifndef MIRTK_LinearImageGradientFunction_H 21 #define MIRTK_LinearImageGradientFunction_H 23 #include "mirtk/BaseImage.h" 24 #include "mirtk/ImageGradientFunction.h" 25 #include "mirtk/LinearInterpolateImageFunction.h" 34 template <
class TImage>
38 mirtkGenericGradientInterpolatorMacro(
129 #endif // MIRTK_LinearImageGradientFunction_H GradientType GetInside3D(double, double, double=0, double=0) const
Get gradient of given 3D image without handling boundary conditions.
virtual GradientType GetWithPaddingInside(double, double, double=0, double=0) const
Evaluate generic image gradient without handling boundary conditions.
virtual ~GenericLinearImageGradientFunction()
Destructor.
GenericLinearImageGradientFunction()
Default constructor.
virtual GradientType GetInside(double, double, double=0, double=0) const
virtual void Initialize(bool=false)
Initialize interpolation function.
GenericLinearInterpolateImageFunction< TImage > _ContinuousImage
Image intensity interpolator.
virtual GradientType GetOutside(double, double, double=0, double=0) const
GradientType GetWithPaddingInside2D(double, double, double=0, double=0) const
virtual void BoundingInterval(double, int &, int &) const
virtual GradientType GetWithPaddingOutside(double, double, double=0, double=0) const
GradientType GetWithPaddingInside3D(double, double, double=0, double=0) const
GradientType GetInside2D(double, double, double=0, double=0) const
Get gradient of given 2D image without handling boundary conditions.
LinearImageGradientFunction()
Constructor.