Averaging grayscale images

NI Vision Assistant

Averaging grayscale images

  1. Click Grayscale»Operators or click Operators in the Grayscale tab of the Processing Functions palette.
  2. Select Average from the Operators list.
  3. Select the Image option.
  4. Select the image buffer that contains the image you want to use in the averaging.
  5. Click OK to average the images and add this step to the script.
Notes  
  • You must already have an image stored in an image buffer before you can add, subtract, multiply, or divide two images. Click Image»Image Buffer to store a copy of the processed image in a buffer. You can insert the Image»Image Buffer step anywhere in a script.
  • The buffer image must be the same size and type as the source image.

Related Topics

Adding a constant to a grayscale image

Adding a grayscale image to a grayscale image

Averaging a grayscale image with a constant

Comparing a grayscale image with a constant

Comparing grayscale images

Dividing a grayscale image by a constant

Dividing a grayscale image by a grayscale image

Image Buffer (Image»Image Buffer)

Multiplying a grayscale image by a constant

Multiplying a grayscale image by a grayscale image

Operators (Grayscale»Operators)

Retrieving an image from an image buffer

Storing an image in an image buffer

Subtracting a constant from a grayscale image

Subtracting a grayscale image from a grayscale image

Using the Operators function