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

HxNotEqual

Synopsis

HxImageRep HxNotEqual(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 (not) equal to the second input input, pixelwise. When a pixel from the first input image is equal to the corresponding pixel of the second input image, the value of the corresponding pixel in the result is 0, otherwise it is 1.

Description

The function HxEqual compares the corresponding pixels from the input images. If the value of the pixel of the first input image is equal to the value of the pixel of the second input pixel, the corresponding pixel in the result image is 0, otherwise it is 1. The function is equivalently defined for vector images.

The dimensionality, sizes and pixel dimensionality of the input images must equal. 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 images with equal sizes, equal dimensionality and equal pixeldimensionality.

See also

HxEqual, HxEqualVal, HxNotEqualVal,

Keywords

Comparison, Binary,


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