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

HxSubVal

Synopsis

HxImageRep HxSubVal(HxImageRep img, HxValue val)

Input

HxImageRep img
The input image

HxValue val
The input value

Return value

HxImageRep
The substraction of the input image and the input value.

Description

The function HxSubVal substracts the HxValue val from every pixel value in the input image and stores the result in the corresponding pixel of the output image. The dimensionality of `val' and the pixeldimensionality of the input image must be the same. If `val' is a vector and the pixels of the input image are vectors, the values are substracted component wise.

Remarks

Admissable image and value types
The dimensionality of `val' and the pixeldimensionality of the input image must be the same.

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

See also

HxSub, HxAddVal, HxDivVal, HxMulVal,

Keywords

Binary value, Arithmetic,


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