lvthreshm - Do the adaptative threshold of an image pixel by pixel.
LIBRARY CALL
int
lvthreshad(xvimage *img1, xvimage *img2, int i2_flg, int l, xvimage *img3, int i3_flg, int u, xvimage *img4, int mflg, xvimage *img5)
INPUT
none
OUTPUT
none
RETURN VALUE
TRUE (1) on success, FALSE (0) on failure
DESCRIPTION
lvthreshad reads 2 limit images (img2 and img3) and an input image (img1) to be compared with the limit images. The comparision will be made pixel by pixel: if a pixel is between the limit pixels then the respective pixel in the output image will be 255, 0 otherwise. Note that img1, img2 or img3 can be used for both the input and the resulting output xvimage structure, in order to save space.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
lvthreshad is presently only implemented for byte and short images