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)

KNOWN PROBLEMS

SEE ALSO

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

Website Feedback

If you would like a response from NAG please provide your e-mail address below.

(If you're a human, don't change the following field)
Your first name.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.