imaqAddPointContour

NI Vision for LabWindows/CVI Function

imaqAddPointContour

Usage

ContourID imaqAddPointContour(ROI* roi, Point point);

Purpose

Creates a new single-point region of interest (ROI) contour and adds the point to the provided ROI.

Parameters

Name

Type

Description

roi ROI* The ROI to contain the new contour.
point Point The pixel location of the point.

Return Value

Type

Description

ContourID On success, this function returns a ContourID for the contour. You can use the ContourID to reference the contour within the containing ROI. On failure, this function returns 0. To get extended error information, call imaqGetLastError().