Specifications

Image Arithmetic and Logical Operations
5-13
5
OrS
Performs a bitwise OR
operation of each pixel
with a constant.
void iplOrS(IplImage*
srcImage
, IplImage*
dstImage
,
unsigned int
value
);
srcImage
Thesourceimage.
dstImage
The resultant image.
value
The bit sequence used to perform the bitwise OR
operation on each pixel.
Discussion
The function iplOrS() performs a bitwise OR between each pixel value
and
value
. The least significant bit(s) of the
value
are used.