SubtractImg

DESCRIPTION

Computes a pointwise subtraction of two images. If one of the images has only one channel (black&white) and the other has three channels (RGB), then the single channel image is promoted to three channel by placing zeros in the second and third channel.

INPUTS

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

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

WIDGETS

OUTPUTS

Port: Img Out
Type: Lattice
Constraints: 1..3-D
subtraction (first - second)

PROBLEMS

SEE ALSO

AddImg MultImg DivImg NegImg ComplementImg PowerImg LogImg ExpImg
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999