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

HxModVal

Synopsis

HxImageRep HxModVal(HxImageRep img, HxValue val)

Input

HxImageRep img
The input image.

HxValue val
The input value.

Return value

HxImageRep
The input image modulo the input value, pixel wise.

Description

The function HxModVal takes the values of the first input image modulo the input value. If the pixel values and the input value are vectors of the same dimensionality, the modulo is taken component wise. Only integer (HxShort, HxByte, HxInt ) type pixel values and input values can be used.

Remarks

Valid input images and input values
The input value should have the same dimensionality as the input image pixels. The numerical type of the pixels and input value, or their components, should be HxShort, HxByte, HxInt .

See also

HxAndVal, HxMod,

Keywords

Binary value, Logical,


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