🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

Subtract Images

Subtract Images Node Documentation

The Subtract Images node in AugeLab Studio is used to subtract one image from another image pixel by pixel.

Node Overview

The Subtract Images node takes two input images and calculates the pixel-wise difference between them. The resulting image will be the absolute difference between the corresponding pixels of the input images.

Node Properties

  • Node Title: Subtract Images
  • Node ID: OP_NODE_SUBTRACT_IMAGE

Inputs

The Subtract Images node has the following input sockets:
  1. 1.
    Actual Image: The first input image.
  2. 2.
    Reference Image: The second input image.

Outputs

The Subtract Images node has the following output socket:
  1. 1.
    Difference Image: The resulting image obtained by subtracting the reference image from the actual image.

UI Controls

The Subtract Images node does not provide any UI controls.

Usage

  1. 1.
    Drag and drop the Subtract Images node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the actual image to the Actual Image input socket of the Subtract Images node.
  3. 3.
    Connect the reference image to the Reference Image input socket of the Subtract Images node.
  4. 4.
    Run the pipeline.
  5. 5.
    The Subtract Images node will compute the difference between the actual image and the reference image.
  6. 6.
    The resulting difference image will be output through the Difference Image output socket.
  7. 7.
    Use the difference image for further analysis, visualization, or comparison.

Notes

  • The Subtract Images node requires two input images of the same size to perform the subtraction.
  • The input images can be in color (RGB) or grayscale format.
  • If the input images are in color, the subtraction will be performed separately for each color channel.
  • The output of the Subtract Images node is the difference image obtained by subtracting the reference image from the actual image.
  • The resulting difference image will highlight areas where the actual image differs from the reference image.
  • The Subtract Images node uses the cv2.subtract function from the OpenCV library to perform the pixel-wise subtraction.
  • The resulting difference image will have the same size and type as the input images.
  • The Subtract Images node is useful for various applications, such as image differencing, background subtraction, and change detection.
That concludes the documentation for the Subtract Images node in AugeLab Studio. This node allows you to subtract one image from another image, pixel by pixel, and obtain the difference image. The resulting difference image can be used for further analysis, visualization, or comparison.