getMaxPixel
|
|
|
|
Image
|
An integer between 0 and 116 specifying the frame number of the image. A value of 0 represents the DMA memory buffer of the video device. Values in the range of 100-116 correspond to hidden frames.
|
|
|
The maximum permitted pixel value. For floating and complex images the function returns 255.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements captures an image and draws a rectangle in it using the half of a maximum pixel value as a drawing color.
|
|
grabIm(1)
|
col=getMaxPixel(1)/2.
|
drawRect (1, 10, 10, 150, 200, col)
|