Comparing grayscale images

NI Vision Assistant

Comparing grayscale images

  1. Click Grayscale»Operators or click Operators in the Grayscale tab of the Processing Functions palette.
  2. Select one of the logical operators from the Operators list.
  3. Select the Image option.
  4. Select the image buffer that contains the image you want to compare.
  5. Click OK to compare 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

Comparing a grayscale image with a constant

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