Subtract the pixel values of img2 from
img1 to obtain the output image.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
Parameters
- img1
- Type: Stemmer.CvbImage
Input image 1 - img2
- Type: Stemmer.CvbImage
Input image 2
Return Value
Type: ImageResult image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img1/img2 is null. |
ObjectDisposedException | If the input img1/img2 has already been disposed. |
Remarks
The stored results are the absolute value (see Abs(Double)) of the difference of both pixels.
If the sizes of the two input images differ, the result image will contain the biggest rectangle common to both input images.
See Also