Subtracting an image from a color image

NI Vision Assistant

Subtracting an image from a color image

  1. Click Color»Color Operators or select Color Operators in the Color tab of the Processing Functions palette.
  2. Select Subtract from the Operators list.
  3. Select the Image option.
  4. Select the image buffer that contains the image that you are subtracting from the source image.
  5. Click OK to subtract 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 as the source image and must an 8-bit or RGB image.

Related Topics

Adding a constant to a color image

Adding an image to a color image

Color Operators (Color»Color Operators)

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

Using the Color Operators function