Specifications
Intel
®
Image Processing Library Reference Manual
5-2
5
Table 5-1 Image Arithmetic and Logical Operations (continued)
Group Function Name Description
Arithmetic
iplMultiply
Multiplies pixel values of two images.
operations
(
cont
i
nue
d)
iplMultiplyScale
Multiplies pixel values of two images
and scales the product.
Logical
operations
iplAndS
Performs a bitwise AND operation on
each pixel with a constant.
iplOrS
Performs a bitwise OR operation on
each pixel with a constant.
iplXorS
Performs a bitwise XOR operation on
each pixel with a constant.
iplNot
Performs a bitwise NOT operation on
each pixel
iplLShiftS
Shifts bits in pixel values to the left.
iplRShiftS
Divides pixel values by a constant
power of 2 by shifting bits to the right.
iplAnd
Combines corresponding pixels of two
images by a bitwise AND operation.
iplOr
Combines corresponding pixels of two
images by a bitwise OR operation.
iplXor
Combines corresponding pixels of two
images by a bitwise XOR operation.
Alpha-
blending
iplPreMultiplyAlpha
Pre-multiplies pixel values of an image
by alpha values.
iplAlphaComposite
Composites two images using alpha
(opacity) values.
iplAlphaCompositeC
Composites two images using constant
alpha (opacity) values.
The functions iplSquare(), iplNot(), iplPreMultiplyAlpha(),and
iplAbs() as well as all functions with names containing an additional S
use single input images (perform monadic operations). All other functions
in the above table use two input images (perform dyadic operations).