InterpolationMethod Property
Syntax
CWIMAQEdgeOptions.InterpolationMethod
Data Type
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
Method used to perform the interpolation. The default is cwimaqInterpolateQuadratic.
Remarks
For CWIMAQVision.Rake, CWIMAQVision.Spoke, and CWIMAQVision.ConcentricRake, valid interpolation methods are cwimaqInterpolateCubic and cwimaqInterpolateQuadratic.