Browse Source

Added NearestExact interpolation type.

pull/703/head
Canming Huang 4 years ago
parent
commit
b205539508
  1. 11
      Emgu.CV/PInvoke/CvEnum/Inter.cs

11
Emgu.CV/PInvoke/CvEnum/Inter.cs

@ -15,25 +15,36 @@ namespace Emgu.CV.CvEnum
/// Nearest-neighbor interpolation
/// </summary>
Nearest = 0,
/// <summary>
/// Bilinear interpolation
/// </summary>
Linear = 1,
/// <summary>
/// Bicubic interpolation
/// </summary>
Cubic = 2,
/// <summary>
/// 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
/// </summary>
Area = 3,
/// <summary>
/// Lanczos interpolation over 8x8 neighborhood
/// </summary>
Lanczos4 = 4,
/// <summary>
/// Bit exact bilinear interpolation
/// </summary>
LinearExact = 5,
/// <summary>
/// Bit exact nearest neighbor interpolation. This will produce same results as
/// the nearest neighbor method in PIL, scikit-image or Matlab.
/// </summary>
NearestExact = 6,
}
}
Loading…
Cancel
Save