Alpha Divide Node

Alpha Divide Node

As the name gives away, the Alpha Divide’s sole purpose is to divide an incoming image’s color channels by its alpha channel. When you color correct an image that contains a premultiplied alpha channel, first apply an Alpha Divide node before any color correction node to create a non-premultiplied image. Then you can perform the color correction. After the color correction, add an Alpha Multiply node to return the image to its premultiplied state.

Alpha Divide Node Inputs

The Alpha Divide node includes two inputs in the Node Editor.

  • Input: The orange input accepts a 2D image with a premultiplied Alpha.
  • Effect Mask: The optional blue input expects a mask shape created by polylines, basic primitive shapes, paint strokes, or bitmaps masks. Connecting a mask to this input limits the pixels where the Alpha divide occurs. An effects mask is applied to the tool after the tool is processed.

Alpha Divide Node Setup

The Alpha Divide node is placed before any color correction is done to an image with a premultiplied Alpha channel. Here the MediaIn node is assumed to have a premultiplied Alpha channel. The Alpha Divide node is inserted, and then color correction nodes operate on the “straight” Alpha. An Alpha Multiply node is placed at the end of the chain to premultiply the Alpha channel again. If only a single color correction node is used, then the Pre-Divide/Post-Multiply checkbox on the Options tab can be used in place of the Alpha Divide/Alpha Multiple nodes.

In:

Author:

Comments

Leave a Reply

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