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

HxPow

Synopsis

HxImageRep HxPow(HxImageRep im1, HxImageRep im2)

Input

HxImageRep im1
The first input image

HxImageRep im2
The second input image

Return value

HxImageRep
The first input image to the power of the second input image, pixel wise.

Description

The function HxPow take the values of the first input image to the power of the second image on a pixel-by-pixel basis. Vector pixel types of the same dimension are treated component wise. Pixel types of different dimensions can be processed by this function as long as the pixel dimensionality of one of the input images is 1. The image with pixel dimensionality 1 is then treated as an image with the same pixel dimensionality as the other image (with equal values per pixel).

Remarks

Valid input images
The two input images should have the same dimensionality, the same pixel dimensionality (or the pixel dimensionality of one of the pixels should be 1) and the same size.

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

See also

HxMul, HxDiv, HxPowVal,

Keywords

Binary, Arithmetic,


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