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] |
int LanczosInterpolator::get_size |
( |
|
) |
const [inline] |
float LanczosInterpolator::lanczos |
( |
float |
x |
) |
const [inline, protected] |
Field Documentation