imaqROIProfile
Usage
ROIProfile* imaqROIProfile(const Image* image, const ROI* roi);
Purpose
Calculates the profile of the pixels along the edge of each contour in a region of interest (ROI).
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL
Parameters
Name
|
Type
|
Description
|
---|---|---|
image | const Image* | The image from which the function gets the profile. |
roi | const ROI* | The ROI describing the pixels about which the function gets information. |
Return Value
Type |
Description |
---|---|
ROIProfile* | On success, this function returns a pointer to information about the points along the edge of each contour in the ROI. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the return value, dispose of it by calling imaqDispose(). |