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

HxCross

Synopsis

HxImageRep HxCross(HxImageRep im1, HxImageRep im2)

Input

HxImageRep im1
The first input image

HxImageRep im2
The second input image

Return value

HxImageRep
The cross product of the input images

Description

The function HxCross takes the cross product of the two input images on a pixel-by-pixel basis. If pixel one is given by (a,b,c) and pixel two is given by (d,e,f), the cross product is defined as (bf-ce, cd-af, ae-bd). Only vector pixel types of the dimension 3 are valid.

Remarks

Valid image types
The two input images should have the same dimensionality, a pixeldimensionality of 3 and the same size.

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

See also

HxAdd, HxMul, HxDiv,

Keywords

Binary, Arithmetic,


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