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

HxArg

Synopsis

HxImageRep HxArg(HxImageRep img)

Input

HxImageRep img
The image you want to take the complex argument of.

Return value

HxImageRep
The pixelwise complex argument of the input image.

Description

The function HxArg takes the argument of each pixel value. The input image should be a complex value image, i.e. a vec2 image. The argument is the counterclockwise angle from the positive real axis. When the complex number x+iy is represented by (x,y) then for the argument a holds that The resulting image is scalar.

Remarks

Valid input images
Only vec2 images are valid input images for this function.

See also

HxConjugate,

Keywords

Unary, Complex, Arithmetic,


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