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

HxRightShiftVal

Synopsis

HxImageRep HxRightShiftVal(HxImageRep img, HxValue val)

Input

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

HxValue val
The input value.

Return value

HxImageRep
The right shifted version of the input image.

Description

The function HxRightShiftVal shifts the bits of the pixel values of the input image of the number of places to the right 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

HxLeftShiftVal, HxAndVal, HxRightShift,

Keywords

Binary value, Logical,


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