CWIMAQLinearAveragesMethods Enumeration

NI Vision for Visual Basic

CWIMAQLinearAveragesMethods Enumeration

CWIMAQLinearAveragesMethods are the constants for the Method parameter of the CWIMAQVision.LinearAverages2 method.

You can use the following constants with this data type:

  • cwimaqLinearAveragesMethodAllAverages—Specifies that the method calculates all four linear mean pixel values.
  • cwimaqLinearAveragesMethodColumnAverages—Specifies that the method calculates the mean pixel value of each column.
  • cwimaqLinearAveragesMethodFallingDiagonalAverages—Specifies that the method calculates the mean pixel value of each diagonal running from the upper left to the lower right of the inspected area of the image.
  • cwimaqLinearAveragesMethodRisingDiagonalAverages—Specifies that the method calculates the mean pixel value of each diagonal running from the lower left to the upper right of the inspected area of the image.
  • cwimaqLinearAveragesMethodRowAverages—Specifies that the method calculates the mean pixel value of each row.

See Also

CWIMAQVision.LinearAverages2