Enum InterpolationFlags
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Interpolation algorithm
[Flags]
public enum InterpolationFlags
Fields
Area = Linear | CubicResampling using pixel area relation. It is the preferred method for image decimation that gives moire-free results. In case of zooming it is similar to CV_INTER_NN method.
Cubic = 2Bicubic interpolation.
Lanczos4 = 4Lanczos interpolation over 8x8 neighborhood
Linear = 1Bilinear interpolation (used by default)
LinearExact = Linear | Lanczos4Bit exact bilinear interpolation
Max = Cubic | LinearExactmask for interpolation codes
Nearest = 0Nearest-neighbor interpolation,
WarpFillOutliers = 8Fill all the destination image pixels. If some of them correspond to outliers in the source image, they are set to fillval.
WarpInverseMap = 16Indicates that matrix is inverse transform from destination image to source and, thus, can be used directly for pixel interpolation. Otherwise, the function finds the inverse transform from map_matrix.