Synopsis
HxImageRep HxTriStateThreshold (HxImageRep img, HxValue level, HxValue v1, HxValue v2, HxValue v3)
Input
HxImageRep img
HxValue level
HxValue v1
HxValue v2
HxValue v3
Return value
HxImageRep
Description
The function HxTriStateThreshold compares each pixel value with the given value of `level'. If the pixel value is smaller than `level' the corresponding pixel in the output image has a value equal to HxValue v1, if the value is equal to `level', the corresponding pixel in the output image has a value equal to HxValue v2, otherwise the corresponding pixel in the output image has a value equal to HxValue v3. The function HxThreshold only works for scalar images.
Remarks
See also
Keywords
Threshold, Segmentation,