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

HxMaxVal

Synopsis

HxImageRep HxMaxVal(HxImageRep img, HxValue val)

Input

HxImageRep img
The input image

HxValue val
The input value

Return value

HxImageRep
The pixelwise maximum of the input image and the input value.

Description

The function HxMaxVal takes the maximum of the input image and the input value on a pixel-by-pixel basis, i.e. the value of a pixel in the output image is the maximum of the corresponding pixel in the input images and the input value. This function is only defined for scalar images and values.

Remarks

Valid image types and value types
The input image and the input value should be scalars.

See also

HxMinVal, HxMax,

Keywords

Binary value, Arithmetic,


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