Specifications
Intel
®
Image Processing Library Reference Manual
5-8
5
Subtract
Combines corresponding
pixels of two images by
subtraction.
void iplSubtract(IplImage*
srcImageA
, IplImage*
srcImageB
,
IplImage*
dstImage
);
srcImageA
The first source image.
srcImageB
The second source image.
dstImage
The resultant image obtained as:
dst_pixel
=
srcA_pixel
-
srcB_pixel
.
Discussion
The function iplSubtract() subtracts corresponding pixels of two input
images to produce the output image.
Multiply
Combines corresponding
pixels of two images by
multiplication.
void iplMultiply(IplImage*
srcImageA
, IplImage*
srcImageB
,
IplImage*
dstImage
);
srcImageA
The first source image.
srcImageB
The second source image.
dstImage
The resultant image.