BlendAlphaImg

DESCRIPTION

Computes a blended image by taking a linear combination of two source images according to the values of an alpha (or blend) image:
output(i,j) = foreground(i,j) * alpha(i,j) +
 background(i,j) * ( 1 - alpha(i,j))

INPUTS

Port: First Img In
Type: Lattice
Constraints: 1..3-D
background image

Port: Second Img In
Type: Lattice
Constraints: 1..3-D
foreground image

Port: Blend Img
Type: Lattice
Constraints: 1..3-D
alpha image

WIDGETS

OUTPUTS

Port: Img Out
Type: Lattice
Constraints: 1..3-D
alpha blended image

PROBLEMS

SEE ALSO

BlendImg AddImg
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999