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

HxDotVal

Synopsis

HxImageRep HxDotVal(HxImageRep img, HxValue val)

Input

HxImageRep img
The input image

HxValue val
The input value

Return value

HxImageRep
The dot product of the input image and the input value.

Description

The function HxDotVal takes the dot product of the HxValue val with every pixel value in the input image and stores the result in the corresponding pixel of the output image. The dimensionality of `val' and the pixeldimensionality of the input image must be the same. If `val' is a scalar and the pixels of the input image are scalars, the values are multiplied.

Remarks

Admissable image and value types
The dimensionality of `val' and the pixeldimensionality of the input image must be the same.

Overflow error
The function HxDotVal can result in an overflow error.

See also

HxDot, HxAddVal, HxDivVal, HxMulVal,

Keywords

Binary value, Arithmetic,


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