ResamplingMethod Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resampling algorithm to use when reading source raster data at different resolutions.
public readonly struct ResamplingMethod : IEquatable<Azure.Analytics.PlanetaryComputer.ResamplingMethod>
type ResamplingMethod = struct
Public Structure ResamplingMethod
Implements IEquatable(Of ResamplingMethod)
- Inheritance
-
ResamplingMethod
- Implements
Constructors
| Name | Description |
|---|---|
| ResamplingMethod(String) |
Initializes a new instance of ResamplingMethod. |
Properties
| Name | Description |
|---|---|
| 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. |
Methods
| Name | Description |
|---|---|
| Equals(ResamplingMethod) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(ResamplingMethod, ResamplingMethod) |
Determines if two ResamplingMethod values are the same. |
| Implicit(String to Nullable<ResamplingMethod>) | |
| Implicit(String to ResamplingMethod) |
Converts a string to a ResamplingMethod. |
| Inequality(ResamplingMethod, ResamplingMethod) |
Determines if two ResamplingMethod values are not the same. |