imaqInterlaceSeparate
Usage
int imaqInterlaceSeparate(const Image* frame, Image* odd, Image* even);
Purpose
Separates a frame image into two field images.
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_U16, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_COMPLEX, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL, IMAQ_IMAGE_RGB_U64
Parameters
Name
|
Type
|
Description
|
---|---|---|
frame | const Image* | The frame image that the function separates into odd and even fields. |
odd | Image* | The image into which the function places the odd field of the frame area. Set this parameter to NULL if you do not need the odd field. |
even | Image* | The image into which the function places the even field of the frame area. Set this parameter to NULL if you do not need the even field. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |