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

HxNotEqualVal

Synopsis

HxImageRep HxNotEqualVal(HxImageRep im1, HxValue val)

Input

HxImageRep im1
The first input image.

HxValue val
The input value.

Return value

HxImageRep
The result of comparing whether the input image is (not) equal to the input value, pixelwise. When a pixel from the input image is equal to input value, the value of the corresponding pixel in the result is 0, otherwise it is 1.

Description

The function HxEqualVal compares the pixels from the input image to the HxValue `val'. If the value of the pixel of the input image is equal to `val', the corresponding pixel in the result image is 0, otherwise it is 1. The function is equivalently defined for vector images.

The pixel dimensionality of the input image must be equal to the dimensionality of `val'. The resulting images is an image with the same dimensions as the input image, with integer pixel values.

Remarks

Valid input image and value `val'
The pixel dimensionality of the input image must be equal to the dimensionality of `val'.

See also

HxNotEqual, HxEqualVal, HxEqual,

Keywords

Comparison, Binary value,


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