Synopsis
HxImageRep HxImageAsVec3Short(HxImageRep img)
Input
HxImageRep img
Return value
HxImageRep
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
See also
HxImageAsShort, HxImageAsVec2Short, HxImageAsVec3Byte, HxImageAsVec3Int, HxImageAsVec3Float, HxImageAsVec3Double,
Keywords
Conversion,