Operators (Grayscale»Operators)

NI Vision Assistant

Operators (Grayscale»Operators)

Performs arithmetic and logical operations on images.

  • Operators
    Image Source Opens the original input image.
    Add Adds a constant or an image to the original input image. This is a pixel-by-pixel operation.
    Subtract Subtracts a constant or an image from the original input image. This is a pixel-by-pixel operation.
    Multiply Multiplies the original input image by a constant or another image. This is a pixel-by-pixel operation.
    Divide Divides the original input image by a constant or another image. This is a pixel-by-pixel operation.
    And Performs a logical AND operation between the original input image and a constant or another image stored in the buffer. This is a bit-wise operation.
    Not And Performs a logical NAND operation between the original input image and a constant or another image stored in the buffer. This is a bit-wise operation.
    Or Performs a logical OR operation between the original input image and a constant or another image stored in the buffer. This is a bit-wise operation.
    Not Or Performs a logical NOR operation between the original input image and a constant or another image stored in the buffer. This is a bit-wise operation.
    Exclusive Or Performs an Exclusive OR operation between the original input image and a constant or another image stored in the buffer. This is a bit-wise operation.
    Not Exclusive Or Performs an Exclusive NOR operation between the original input image and a constant or another image stored in the buffer. This is a bit-wise operation.
    Logical Difference Finds the logical difference between the original input image and a constant or another image stored in the buffer. This is a bit-wise operation.
    Mask Replaces pixels in the original input image that correspond to pixels with value 0 in the image mask as 0. The image mask is an 8-bit image that specifies the regions in the original input image to be modified. This is a pixel-by-pixel operation.
    Min Extracts the smallest value between the original input image and a constant or another image stored in the buffer. This is a pixel-by-pixel operation.
    Max Extracts the largest value between the original input image and a constant or another image stored in the buffer. This is a pixel-by-pixel operation.
  • Constant—Constant value to be used in an operation, when selected.
  • Image—Image from an active buffer to be used in an operation, when selected. Vision Assistant allows you to select only image buffers that contain images of the same type and size as the image source. Click Image»Image Buffer, or select Image Buffer in the Image tab of the Processing Functions palette to store an image in an empty image buffer.

Related Topics

Adding a constant to a grayscale image

Adding a grayscale image to a grayscale image

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

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