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] |
int SincInterpolator::get_size |
( |
|
) |
const [inline] |
float SincInterpolator::sinc |
( |
float |
x |
) |
const [inline, protected] |
float SincInterpolator::fast_sinc |
( |
float |
x |
) |
const [inline, protected] |
float SincInterpolator::fast_sinc2 |
( |
float |
x |
) |
const [inline, protected] |
Field Documentation