Specifications

Intel
®
Image Processing Library Reference Manual
5-10
5
Monadic Logical Operations
The sections that follow describe the functions that perform monadic
logical operations. All these functions use a single input image to create an
output image.
LShiftS
Shifts pixel values’ bits
to the left.
void iplLShiftS(IplImage*
srcImage
, IplImage*
dstImage
,
unsigned int
nShift
);
srcImage
Thesourceimage.
dstImage
The resultant image.
nShift
The number of bits by which to shift each pixel value to
the left.
Discussion
The function iplLShiftS() changes the intensity of the source image by
shifting the bits in each pixel value by
nShift
bits to the left. The positions
vacated after shifting the bits are filled with zeros.