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

HxGreaterEqual

Synopsis

HxImageRep HxGreaterEqual(HxImageRep im1, HxImageRep im2)

Input

HxImageRep im1
The first input image.

HxImageRep im2
The second input image.

Return value

HxImageRep
The result of comparing whether the first input image is greater than or equal to the second input input, pixelwise. When a pixel from the first input image is greater than or equal to the corresponding pixel of the second input image, the value of the corresponding pixel in the result is 1, otherwise it is 0.

Description

The function HxGreaterEqual compares the corresponding pixels from the input images, which must be scalar. If the value of the pixel of the first input image is greater than or equal to the value of the pixel of the second input pixel, the corresponding pixel in the result image will be 1, otherwise it will be 0.

The dimensions of the input images must equal, but the pixel types can be anything, as long as they are scalar. The resulting images is an image with the same dimensions as the input images, with integer pixel values.

Remarks

Valid input images
This function is only properly defined for scalar input images with equal sizes and equal dimensionality.

See also

HxLessThan, HxGreaterThan, HxLessEqual, HxEqual, HxGreaterEqualVal,

Keywords

Comparison, Binary,


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