KnownResampling enum
Resampling algorithm to use when reading source raster data at different resolutions
Fields
| Average | Average resampling - calculates the mean of all contributing pixels |
| Bilinear | Bilinear interpolation - calculates output values using a weighted average of 2x2 input cells |
| Cubic | Cubic interpolation - uses a weighted average of 4x4 input cells for smoother results |
| CubicSpline | Cubic spline interpolation - similar to cubic but preserves edges better |
| Gauss | Gaussian weighted resampling - applies a gaussian weighting to contributing pixels |
| Lanczos | Lanczos windowed sinc resampling - high-quality with minimal artifacts |
| Mode | Mode resampling - selects the most common value from contributing pixels |
| Nearest | Nearest neighbor - fastest method that selects the closest pixel value |
| Rms | Root mean square resampling - useful for resampling error or deviation grids |