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

HxNorm2

Synopsis

HxImageRep HxNorm2 (HxImageRep img)

Return value

HxImageRep
The result of taking the Euclidian norm of the input image.

Description

The function HxNorm2 takes the Euclidian norm of every pixel value in the input image and stores it in the corresponding pixel of the output image. The Euclidian norm of a scalar equals the absolute value of the scalar itself, while the Euclidian norm of a vector equals the square root of the sum of the squared values of the components of the vector. If the input is a vector image containing HxBytes, the output image is of the integer type.

Remarks

Possible errors
HxNorm2 can result in an overflow error.

Keywords

Unary, Norm, Arithmetic,


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