InterpolationMethod

NI Vision for LabWindows/CVI Function

InterpolationMethod

Defines the interpolation method used by a function.

Elements

Name

Value

Description

IMAQ_ZERO_ORDER 0 The function uses an interpolation method that interpolates new pixel values using the nearest valid neighboring pixel.
IMAQ_BILINEAR 1 The function uses an interpolation method that interpolates new pixel values using a bidirectional average of the neighboring pixels.
IMAQ_QUADRATIC 2 The function uses an interpolation method that interpolates new pixel values using a quadratic approximating polynomial.
IMAQ_CUBIC_SPLINE 3 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.
IMAQ_BILINEAR_FIXED 4 The function uses an interpolation method that interpolates new pixel values using a bidirectional average of the neighboring pixels. The function makes the averaging calculations using fixed-point mathematics, which increases the performance of the interpolation but reduces the accuracy.
IMAQ_INTERPOLATION_METHOD_SIZE_GUARD 0xFFFFFFFF Reserved