Specifications

Image Arithmetic and Logical Operations
5-15
5
And
Combines corresponding pixels
of two images by a bitwise AND
operation.
void iplAnd(IplImage*
srcImageA
, IplImage*
srcImageB
,
IplImage*
dstImage
);
srcImageA
The first source image.
srcImageB
The second source image.
dstImage
The image resulting from the bitwise operation between
input images
srcImageA
and
srcImageB
.
Discussion
The function iplAnd() performs a bitwise AND operation between the
values of corresponding pixels of two input images.
Or
Combines corresponding
pixels of two images by a
bitwise OR operation.
void iplOr(IplImage*
srcImageA
, IplImage*
srcImageB
,
IplImage*
dstImage
);
srcImageA
The first source image.
srcImageB
The second source image.
dstImage
The image resulting from the bitwise operation between
input images
srcImageA
and
srcImageB
.