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. |