|
MISR Toolkit
1.5.1
|
Go to the source code of this file.
Functions | |
| float | kernel (float d, float a) |
| MTKt_status | MtkResampleCubicConvolution (const MTKt_DataBuffer *Source, const MTKt_DataBuffer *Source_mask, const MTKt_DataBuffer *Line, const MTKt_DataBuffer *Sample, float A, MTKt_DataBuffer *Resampled, MTKt_DataBuffer *Resampled_mask) |
| Resample source data at the given coordinates using interpolation by cubic convolution. More... | |
| float kernel | ( | float | d, |
| float | a | ||
| ) |
Definition at line 22 of file MtkResampleCubicConvolution.c.
| MTKt_status MtkResampleCubicConvolution | ( | const MTKt_DataBuffer * | Source, |
| const MTKt_DataBuffer * | Source_mask, | ||
| const MTKt_DataBuffer * | Line, | ||
| const MTKt_DataBuffer * | Sample, | ||
| float | A, | ||
| MTKt_DataBuffer * | Resampled, | ||
| MTKt_DataBuffer * | Resampled_mask | ||
| ) |
Resample source data at the given coordinates using interpolation by cubic convolution.
Convolution kernel used in this module is described in [1]
References:
[1] Keys, "Cubic Convolution Interpolation for Digital Image Processing", IEEE Transactions on Acoustics, Speech, and Signal Processing, Vol. ASSP-29, NO. 6, December 1981.
| [in] | Source | Source data. (float) |
| [in] | Source_mask | Valid mask for source data. (uint8) |
| [in] | Line | Line coordinates. (float) |
| [in] | Sample | Sample coordinates. (float) |
| [in] | A | Convolution parameter (-1.0 <= A <= 0.0) |
| [out] | Resampled | Resampled data. (float) |
| [out] | Resampled_mask | Valid mask for resampled data |
Definition at line 51 of file MtkResampleCubicConvolution.c.