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

HxDivVal

Synopsis

HxImageRep HxDivVal(HxImageRep img, HxValue val)

Input

HxImageRep img
The input image you want to divide by a value.

HxValue val
The input value.

Return value

HxImageRep
The input image divided by the input value, pixel wise.

Description

The function HxDivVal divides the values of the input image by the the input value on a pixel-by-pixel basis. If the pixel type of the input image and the type of the value are both vectors with the same dimensionality, they are treated component wise. If the input image has vector type pixels and the dimensionality of the input value is 1, every component of a pixel vector is divided by the input value.

Remarks

Valid input images and values
The dimensionality of the input value should be 1 or equal to the pixel dimensionality of the image. The input value may not be zero, nor may it contain zero components.

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

See also

HxMulVal, HxPowVal, HxDiv,

Keywords

Binary value, Arithmetic,


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