Generating Alpha Masks

C_AlphaGenerator creates a rectangular or elliptical mask in the alpha channel. It's primarily used for manual stitching and is included in the Manual 2D and 3D Stitching toolsets included in C_CameraSolver's Export dropdown.

For example, if you're given an STMap describing the warp required to stitch a sequence, but don't have access to the masks created by C_CameraSolver, you can use masks created by C_AlphaGenerator to improve blending between adjacent cameras.

The script shows an example node tree including the C_AlphaGenerator node controlling the blending.

The alpha mask generated by the nodes smooths the hard edges from the STMap, creating a more natural blend.

Blending using just the STMap's warp.

Blending using C_AlphaGenerator.