imaqLinearAverages
Usage
LinearAverages* imaqLinearAverages(const Image* image, Rect rect);
Purpose
Computes the mean line profile of an image. This function is obsolete. The replacement function is imaqLinearAverages2, which allows you to select which mean line profiles the function computes.
Note This function is obsolete. The replacement function is imaqLinearAverages2(). |
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL
Parameters
Name
|
Type
|
Description
|
---|---|---|
image | const Image* | The image on which the function calculates pixel value averages. |
rect | Rect | Sets the rectangular area in which the function calculates the averages. Set this parameter to IMAQ_NO_RECT to calculate the averages on the whole image. |
Return Value
Type |
Description |
---|---|
LinearAverages* | On success, this function returns a structure containing the linear averages of the image. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the return value, dispose of the pointer by calling imaqDispose(). |