InterpolationType Property

NI Vision for Visual Basic

InterpolationType Property

Syntax

CWIMAQEdgeOptions2.InterpolationType

Data Type

CWIMAQInterpolateMethods

You can use the following constants with this data type:

  • cwimaqInterpolateBiLinear—The function uses an interpolation method that interpolates new pixel values using a bidirectional average of the neighboring pixels.
  • cwimaqInterpolateBiLinearFixed—The function uses an interpolation method that interpolates new pixel values using bilinear fixed interpolation.
  • cwimaqInterpolateCubic—The function uses an interpolation method that interpolates new pixel values by fitting them to a cubic spline curve, where the curve is based on known pixel values from the image.
  • cwimaqInterpolateQuadratic—The function uses an interpolation method that interpolates new pixel values using a quadratic approximating polynomial.
  • cwimaqInterpolateZeroOrder—The function uses an interpolation method that interpolates new pixel values using the nearest valid neighboring pixel.

Purpose

Specifies the interpolation method used to locate the edge position. The default value is Bilinear Fixed.