Get 30+ hr of DaVinci Resolve courses & 400+ pre-made assets

As little as $15/month for all courses and pre-made assets

Channel Booleans Node

The Channel Booleans node applies a variety of mathematical and logical operations on the channels in an image. This node works by using one image’s channels to modify another image’s channels. If a foreground input is not available, selecting options that use color channels from the foreground ends up using the background input’s color channels instead.

Channel Booleans Node Inputs

There are four inputs on the Channel Booleans node in the Node Editor, but only the orange Background input is required.

  • Background: This orange input connects a 2D image that gets adjusted by the foreground input image.
  • Effect Mask: The blue effect mask input expects a mask shape created by polylines, basic primitive shapes, paint strokes, or bitmaps from other tools. Connecting a mask to this input limits the channel booleans adjustment to only those pixels within the mask.
  • Foreground: The green foreground input connects a 2D image that is used to adjust the background input image.
  • Matte: The white matte input can be used to combine external mattes with the foreground and background operations.

Channel Booleans Node Setup

The Channel Booleans node is an extremely flexible tool used in many different ways. The example below copies the z-depth channel from the foreground input (green) into the background image (orange)

Channel Booleans Node Color Channel Tab

On the Color Channels tab, the controls are divided into two columns.

On the left side are target channels for the image connected into the orange background input. The drop-down menu to the right lets you choose whether you want to modify the BG image with its channels (suffix BG after list name) or with the channels from an image connected into the green foreground input on the node (suffix FG in the drop-down list).

  • Operation
    This menu selects the mathematical operation applied to the selected channels. The options are as follows:
  • Copy
    Copy the value from one color channel to another. For example, copy the foreground red channel into the background’s Alpha channel to create a matte.
  • Add: Add the color values from one color channel to another channel.
  • Subtract: Subtract the color values of one color channel from another color channel.
  • And: Perform a logical AND on the color values from color channel to color channel. The foreground image generally removes bits from the color channel of the background image.
  • Or: Perform a logical OR on the color values from color channel to color channel. The foreground image generally adds bits from the color channel of the background image.
  • Exclusive Or: Perform a logical XOR on the color values from color channel to color channel. The foreground image generally flips bits from the color channel of the background image.
  • Multiply: Multiply the values of a color channel. This gives the appearance of darkening the image as the values scale from 0 to 1. White has a value of 1, so the result would be the same. Gray has a value of 0.5, so the result would be a darker image or, in other words, an image half as bright.
  • Divide: Divide the values of a color channel. This gives the appearance of lightening the image as the values scale from 0 to 1.
  • Maximum: Compare the two images and take the maximum, or brightest, values from each image.
  • Minimum: Compare the two images and take the minimum, or darkest, values from each image.
  • Negative: Invert the FG input to make a negative version of the image.
  • Solid: Solid sets a channel to a full value of 255. This is useful for setting the Alpha to full value.
  • Clear: Clear sets a channel to a value of zero. This is useful for clearing the Alpha.
  • Difference: Difference subtracts the greater color values of one color channel from the lesser values of another color channel.
  • Signed Add: Signed Add subtracts areas that are lower than mid-gray and adds areas that are higher than mid-gray, which is useful for creating effects with embossed gray images.

To Red, To Green, To Blue, To Alpha
These menus represent the four color channels of the output image. Use the drop-down menu to select which channel from the source images produces the output channel.

The default setting copies the channels from the foreground channel. Select any one of the four color channels, as well as several auxiliary channels like Z-buffer, saturation, luminance, and hue.

Channel Booleans Node Aux Channel Tab

This tab includes a series of menus where you select a source for the auxiliary channels of the output image.

Enable Extra Channels
When the Enable Extra Channels checkbox is selected, the Channel Booleans node can output images with channels beyond the usual RGBA. Once enabled, the remaining controls in the Aux Channels tab can copy data into the auxiliary channels.

Channel Booleans Node Settings Tab

The Settings tab in the Inspector appears in other Color nodes. These common controls are described in detail HERE.

justin_robinson

About the Author

Justin Robinson is a Certified DaVinci Resolve, Fusion & Fairlight instructor who is known for simplifying concepts and techniques for anyone looking to learn any aspect of the video post-production workflow. Justin is the founder of JayAreTV, a training and premade asset website offering affordable and accessible video post-production education. You can follow Justin on Twitter at @JayAreTV YouTube at JayAreTV or Facebook at MrJayAreTV

Get 30+ hr of DaVinci Resolve courses & 400+ pre-made assets

As little as $15/month for all courses and pre-made assets

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *