imaqView3D
Usage
int imaqView3D(Image* dest, Image* source, const View3DOptions* options);
Purpose
This function creates a three-dimensional representation of an image for display purposes.
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_HSL
Parameters
Name
|
Type
|
Description
|
---|---|---|
dest | Image* | The destination image. |
source | Image* | The image of which to create a 3D representation. |
options | const View3DOptions* | Specifies how to convert the image to a three-dimensional representation. |
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(). |
Parameter Discussion
source—This function modifies the source image. If you need the original image, create a copy of the image using imaqDuplicate() before using this function.
options—Set options to NULL to use the default options, as follows:
sizeReduction | 2 |
maxHeight | 64 |
direction | IMAQ_3D_NW |
alpha | 30 |
beta | 30 |
border | 20 |
background | 85 |
plane | IMAQ_3D_MAGNITUDE |