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

HxLeftShiftVal

Synopsis

HxImageRep HxLeftShiftVal(HxImageRep img, HxValue val)

Input

HxImageRep img
The input image you want to left shift the pixel values of.

HxValue val
The input value.

Return value

HxImageRep
The left shifted version of the input image.

Description

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

Remarks

Valid input images and input values
The dimensionality of the input value should be equal to the pixel dimensionality of the input image. The image pixels and input value (or their components) should be HxShort, HxByte, HxInt .

See also

HxRightShiftVal, HxAndVal, HxLeftShift,

Keywords

Binary value, Logical,


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