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

HxMakeFromValue

Synopsis

HxImageRep HxMakeFromValue (const HxImageSignature & signature, HxSizes sizes, HxValue value)

Input

const HxImageSignature & signature
The signature of the image you want to construct.

HxSizes sizes
The size of every dimension of the image you want to create.

HxValue value
The value you want to assign to every pixel in the image.

Return value

HxImageRep
The created image.

Description

This function creates an image with the given signature and sizes and gives every pixel the value as given by HxValue value. The type of the image is given by the signature, see the section on image Image signatures. The size of the image is given by `sizes'. The dimensionality of HxValue value should be equal to the pixel dimensionality as given in the image signature.

Remarks

Valid input parameters
The image signature should be one of the existing image signatures (see the section on image Image signatures). Sizes should have a dimensionality equal to the dimension as mentioned in the signature. The size in every dimension should be at least 1. The dimensionality of the HxValue value should be equal to the pixel dimensionality as given in the image signature.

See also

HxMakeFromDoubleData,

Keywords

Generation,


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