Color Operators (Color»Color Operators)

NI Vision Assistant

Color Operators (Color»Color 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.
  • 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. You can select only those image buffers that contain 8-bit or RGB images of the same 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 color image

Adding an image to a color image

Comparing a color image with a constant

Comparing a color image with another image

Dividing a color image by a constant

Dividing a color image by another image

Multiplying a color image by a constant

Multiplying a color image by another image

Subtracting a constant from a color image

Subtracting an image from a color image

Using the Color Operators function