|
avrgIm
|
|
| Input1
|
|
|
| An integer between 0 and 116 specifying the frame number of the first input 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.
|
|
|
| Input2
|
|
|
| An integer between 0 and 116 specifying the frame number of the second input 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.
|
|
|
| Output
|
|
|
| An integer between 1 and 116 specifying the output image frame number. Values in the range of 100-116 correspond to hidden frames.
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
| The following set of statements displays a live image merged with a sample image by averaging both of them:
|
|
|
| setCurDir("samples")
|
| loadIm(100,"sample14.iwd")
|
| do
|
| grabIm (0)
|
| avrgIm(0, 100, 1)
|
| loop while getError()=ERR_OK
|