imaqGetContourCount
Usage
int imaqGetContourCount(const ROI* roi);
Purpose
Returns the number of contours in a region of interest (ROI).
Parameters
Name
|
Type
|
Description
|
---|---|---|
roi | const ROI* | The ROI from which the function gets the contour count. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns the number of contours in the ROI. On failure, this function returns –1. To get extended error information, call imaqGetLastError(). |