Horus Doc || Global Function Guide || General documentation   | Function documentation  

HxLeftShift

Synopsis

HxImageRep HxLeftShift(HxImageRep im1, HxImageRep im2)

Input

HxImageRep im1
The first input image.

HxImageRep im2
The second input image.

Return value

HxImageRep
The left shifted version of the first input image.

Description

The function HxLeftShift shifts the bits of the pixel values of the first input image of the number of places to the left as indicated by the corresponding value in the second input image. For vector images, the each component of a vector is shifted the number of places as indicated by the same component of the corresponding vector value. Only integer (HxShort, HxByte, HxInt ) type images can be used as input images.

Remarks

Valid input images
The input images should have the same dimensionality, the same size and the same pixel dimensionality. The numerical type of the pixels, or its components, should be HxShort, HxByte, HxInt .

See also

HxRightShift, HxAnd, HxLeftShiftVal,

Keywords

Binary, Logical,


Generated on Mon Jan 27 15:45:00 2003 for GlobalFunctionGuide by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001