Synopsis
HxImageRep HxImageAsVec2Double(HxImageRep img)
Input
HxImageRep img
Return value
HxImageRep
Description
The function HxImageAsVec2Double converts the input image to an image with vector double 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 double and copied to both vector components of the corresponding pixel in the output image.
Remarks
See also
HxImageAsDouble, HxImageAsVec3Double, HxImageAsVec2Byte, HxImageAsVec2Short, HxImageAsVec2Int, HxImageAsVec2Float,
Keywords
Conversion,