20.8.5 Image Arithmetic ProcessingImage-Arithmetic-Proc
Simple Math
Apply simple math operation on a single image or between two images. Math operation can be performed on all RGB channels or a specified channel. The available math operations between two images are: Add, Subtract, Multiply, Divide, AND, OR, XOR, Abs Difference, Min, Max. For a single image, there are five additional operations available: Square Root, Square, Log, Sin, Cos.
 | To use this filter, select menu ...Simple Math. To learn each option in the dialog and the example of the output image, please see documentation provided for X function cvMath.
|
Alpha Blend
Used to adjust the transparency of the source image. Apply a mask matrix of source image dimension to the source image using alpha blending as illustrated in equation below:

where ranges from 0 to 1, SourceImage is the source image, ReferenceMatrix is the mask matrix with all elements equal to 255 (opaque) and New Image is the alpha blended image.
 | To use this filter, select menu ...Alpha Blend. To learn each option in the dialog and the example of the output image, please see documentation provided for X function cvAlpha.
|
Subtract Background
Detects and removes background from the image.
 | To use this filter, select menu ...Subtract Background. To learn each option in the dialog and the example of the output image, please see documentation provided for X function cvSubBg.
|
|