Comparing a grayscale image with a constant

NI Vision Builder AI Vision Assistant

Comparing a grayscale image with a constant

  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 Constant option.
  4. Set the constant value that you want to compare with the image.
  5. Click OK to compare the constant with the image and add this step to the script.

Related Topics

Adding a constant to a grayscale image

Adding a grayscale image to a grayscale image

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