imaqCopyContour
Usage
ContourID imaqCopyContour(ROI* destRoi, const ROI* sourceRoi, ContourID id);
Purpose
Copies a contour existing in one region of interest (ROI) to another ROI. Copying the contour does not affect the original contour or the source ROI.
Parameters
Name
|
Type
|
Description
|
---|---|---|
destRoi | ROI* | The ROI to which the function adds the contour. |
sourceRoi | const ROI* | The ROI that contains the contour to copy. |
id | ContourID | The contour to add to the ROI. |
Return Value
Type |
Description |
---|---|
ContourID | On success, this function returns the ContourID of the contour in the destination ROI. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |