SincInterpolator Class Reference

Interpolator kernels for use with the Resampler objects. More...

Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

2D interpolator using sinc kernel


Constructor & Destructor Documentation

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

Member Function Documentation

float SincInterpolator::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_, sinc(), and size_.

int SincInterpolator::get_extent (  )  const [inline]

References extent_.

int SincInterpolator::get_size (  )  const [inline]

References size_.

float SincInterpolator::sinc ( float  x  )  const [inline, protected]

Referenced by interpolate().

float SincInterpolator::fast_sinc ( float  x  )  const [inline, protected]
float SincInterpolator::fast_sinc2 ( float  x  )  const [inline, protected]

Field Documentation

const int SincInterpolator::extent_ [protected]

Referenced by get_extent(), and interpolate().

const int SincInterpolator::size_ [protected]

Referenced by get_size(), and interpolate().


Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1