LanczosInterpolator Class Reference

2D interpolator using Lanczos kernel

Public Member Functions

Protected Member Functions

Protected Attributes


Constructor & Destructor Documentation

LanczosInterpolator::LanczosInterpolator ( const int  extent  )  [inline]

Member Function Documentation

float LanczosInterpolator::interpolate ( const MArray< float, 2 > &  I,
const float  x,
const float  y 
) const [inline]

Interpolate I in the vicinity of the pixel I(0,0), at x,y, where x and y are in -0.5 .. 0.5 The MArray I must have the same size as the interpolator object

References extent_, lanczos(), and size_.

int LanczosInterpolator::get_extent (  )  const [inline]

References extent_.

int LanczosInterpolator::get_size (  )  const [inline]

References size_.

float LanczosInterpolator::lanczos ( float  x  )  const [inline, protected]

Referenced by interpolate().


Field Documentation

const int LanczosInterpolator::extent_ [protected]

Referenced by get_extent(), and interpolate().

const int LanczosInterpolator::size_ [protected]

Referenced by get_size(), and interpolate().


Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1