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

HxImageAsVec2Float

Synopsis

HxImageRep HxImageAsVec2Float(HxImageRep img)

Input

HxImageRep img
The image you want to convert

Return value

HxImageRep
The input image converted to an image with float vector pixels with dimensionality 2.

Description

The function HxImageAsVec2Float converts the input image to an image with vector float pixel values, with dimensionality 2. The input image should be either a scalar image or a vector image with pixel dimensionality 2. If the input image is a scalar image the pixel value of that pixel is converted to float 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 2 are valid input images.

See also

HxImageAsFloat, HxImageAsVec3Float, HxImageAsVec2Byte, HxImageAsVec2Short, HxImageAsVec2Int, HxImageAsVec2Double,

Keywords

Conversion,


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