Interpolation Enumeration OpenCvSharp Class Library
Interpolation method

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[FlagsAttribute]
public enum Interpolation
Members

  Member nameValueDescription
NearestNeighbor0 Nearest-neighbor interpolation, [CV_INTER_NN]
Linear1 Bilinear interpolation (used by default) [CV_INTER_LINEAR]
Cubic2 Bicubic interpolation. [CV_INTER_CUBIC]
Area3 Resampling 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. [CV_INTER_AREA]
FillOutliers8 Fill all the destination image pixels. If some of them correspond to outliers in the source image, they are set to fillval. [CV_WARP_FILL_OUTLIERS]
InverseMap16 Indicates 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. [CV_WARP_INVERSE_MAP]
Lanczos44 [INTER_LANCZOS4]
Max7 [INTER_MAX]
See Also

Reference