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

HxDot

Synopsis

HxImageRep HxDot(HxImageRep im1, HxImageRep im2)

Input

HxImageRep im1
The first input image

HxImageRep im2
The second input image

Return value

HxImageRep
The dot product of the input images

Description

The function HxDot takes the dot product of two images on a pixel-by-pixel basis. The dot product of the scalar values is defined as the product of the values. The dot product of two vector of the same dimensionality is the sum of product of the corresponding components of the vectors. The dot product is only valid for image with the same pixel dimensionality.

Remarks

Admissable image types
The two input images should have the same dimensionality, the same pixeldimensionality and the same size.

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

See also

HxAdd, HxCross, HxMul,

Keywords

Binary, Arithmetic,


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