LinearAveragesMode

NI Vision for LabWindows/CVI Function

LinearAveragesMode

Specifies which mean line profiles the function calculates. Use bitwise-OR to combine two or more values in order to calculate multiple mean line profiles with one function call.

Elements

Name

Value

Description

IMAQ_COLUMN_AVERAGES 1 Specifies that the function calculates the mean pixel value of each column.
IMAQ_ROW_AVERAGES 2 Specifies that the function calculates the mean pixel value of each row.
IMAQ_RISING_DIAGONAL_AVERAGES 4 Specifies that the function calculates the mean pixel value of each diagonal running from the lower left to the upper right of the inspected area of the image.
IMAQ_FALLING_DIAGONAL_AVERAGES 8 Specifies that the function calculates the mean pixel value of each diagonal running from the upper left to the lower right of the inspected area of the image.
IMAQ_ALL_LINEAR_AVERAGES 15 Specifies that the function calculates all four linear mean pixel values.
IMAQ_LINEAR_AVERAGES_MODE_SIZE_GUARD 0xFFFFFFFF Reserved