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

HxUnaryProduct

Synopsis

HxImageRep HxUnaryProduct (HxImageRep img)

Return value

HxImageRep
The result of taking the unary prodcut of the input image.

Description

The function HxUnaryProduct takes the unary product of every pixel value in the input image and stores it in the corresponding pixel of the output image. The unary product of a scalar equals the scalar itself, while the unary product of a vector equals the product of the components of the vector. If the input is a vector image containing HxBytes, the output image is of the integer type. If the input is a scalar image, this function returns the same image.

Remarks

Possible errors
HxUnaryProduct can result in an overflow error.

Keywords

Unary, Arithmetic,


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