# 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="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-0d798646dab2fd9480db4076cc92b1007ffed3ce%2FSubtract.png?alt=media" 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="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-6bdc1fd41d7fa0818ecafa1ba75259a1e16a9320%2FSubtractNodeProeprties1.png?alt=media" alt=""><figcaption></figcaption></figure></div>
