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

HxImageAsVec3Short

Synopsis

HxImageRep HxImageAsVec3Short(HxImageRep img)

Input

HxImageRep img
The image you want to convert

Return value

HxImageRep
The input image converted to an image with short vector pixels with dimensionality 3.

Description

The function HxImageAsVec3Short converts the input image to an image with vector short pixel values, with dimensionality 3. The input image should be either a scalar image or a vector image with pixel dimensionality 3. If the input image is a scalar image the pixel value of that pixel is converted to short and copied to both vector components of the corresponding pixel in the output image.

Remarks

Valid input images
All scalar images and images with pixel dimensionality 3 are valid input images.

See also

HxImageAsShort, HxImageAsVec2Short, HxImageAsVec3Byte, HxImageAsVec3Int, HxImageAsVec3Float, HxImageAsVec3Double,

Keywords

Conversion,


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