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

HxCrossVal

Synopsis

HxImageRep HxCrossVal(HxImageRep img, HxValue val)

Input

HxImageRep img
The input image

HxValue val
The input value

Return value

HxImageRep
The cross product of the input image with the input value, pixel wise.

Description

The function HxCrossVal takes the cross product of the input image pixels with the input value. pixel-by-pixel basis. If pixel one is given by (a,b,c) and the input value is given by (d,e,f), the cross product is defined as (bf-ce, cd-af, ae-bd). Only vector pixel types of dimension 3 are valid. The dimensionality of the input value should also be 3.

Remarks

Valid image types and input values
The dimensionality of the input value and the pixel dimensionality of the input image should both be 3.

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

See also

HxAddVal, HxMulVal, HxDivVal, HxCross,

Keywords

Binary value, Arithmetic,


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