Synopsis
HxImageRep HxEqualVal(HxImageRep im1, HxValue val)
Input
HxImageRep im1
HxValue val
Return value
HxImageRep
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 will be 1, otherwise it will be 0. 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
See also
HxEqual, HxNotEqualVal, HxNotEqual,
Keywords
Comparison, Binary value,