Different methods to perform raster resampling.
Constant | Value | Description |
---|---|---|
RSP_NearestNeighbor | 0 | Resample pixel by nearest neighbor. |
RSP_BilinearInterpolation | 1 | Resample pixel by bilinear interpolation. |
RSP_CubicConvolution | 2 | Resample pixel by cubic convolution. |
RSP_Majority | 3 | Resample pixel by majority value. |
RSP_BilinearInterpolationPlus | 4 | Resample pixel by bilinear interpolation, requiring all four neighboring pixels. |
RSP_BilinearGaussBlur | 5 | Resample pixel by bilinear interpolation. If downsampling by factor 2 or more, blur source pixel using 2D Gaussian. |
RSP_BilinearGaussBlurPlus | 6 | Same as RSP_BilinearGaussBlur, but requiring all four neighboring pixels. |
RSP_Average | 7 | Resample vector field (two band) pixel by vector average. |
RSP_Minimum | 8 | Resample pixel by average value. |
RSP_Maximum | 9 | Resample pixel by maximum value. |
RSP_VectorAverage | 10 | Resample vector field (two band) pixel by vector average. |