imaqUnwrapImage
Usage
int imaqUnwrapImage(Image* dest, const Image* source, Annulus annulus, RectOrientation orientation, InterpolationMethod method);
Purpose
This function unwraps an annulus from an image into a rectangular image.
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_RGB
Parameters
Name
|
Type
|
Description
|
---|---|---|
dest | Image* | The destination image for the unwrapped pixels. |
source | const Image* | The image containing the annulus of pixels to be unwrapped. |
annulus | Annulus | The coordinate location of the annulus the function unwraps. |
orientation | RectOrientation | Specifies the orientation of the resulting rectangular image relative to the annulus. |
method | InterpolationMethod | Specifies the interpolation algorithm used in the unwrapping process. Valid methods are IMAQ_ZERO_ORDER and IMAQ_BILINEAR. |
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(). |