Enum SubPixelInterpolation
Specifies the interpolation method used by Resize(Arr, Arr, SubPixelInterpolation).
Namespace: OpenCV.Net
Assembly: OpenCV.Net.dll
Syntax
public enum SubPixelInterpolation : int
Fields
Name | Description |
---|---|
Area | Specifies resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire’-free results. Similar to NearestNeighbor when image is zoomed. |
Cubic | Specifies a bicubic interpolation over a 4x4 pixel neighborhood. |
Lanczos4 | Specifies a Lanczos interpolation over an 8x8 pixel neighborhood. |
Linear | Specifies a bilinear interpolation. |
NearestNeighbor | Specifies a nearest-neighbor interpolation. |