# Subtract

## Subtract

To subtract two CV inputs, you can use the **Subtract** node. Once you feed it two CV inputs, the Subtract node will produce a single output, inheriting the resolution of the first CV input.

<figure><img src="/files/lwHRh5dHaHnQo7MPkYgC" alt=""><figcaption></figcaption></figure>

## Node properties

In its node properties, Subtract node gives you the option to output the absolute value of the subtracted images to the Output node pin.

<div align="left"><figure><img src="/files/SSqFGUgSiQgQ5AtBrNBh" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lightact.com/layers-and-layouts/layer-layouts/nodes/computer-vision/subtract.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
