imaqAddAnnulusContour

NI Vision for LabWindows/CVI Function

imaqAddAnnulusContour

Usage

ContourID imaqAddAnnulusContour(ROI* roi, Annulus annulus);

Purpose

This function creates a new region of interest (ROI) contour that represents an annulus and then adds it to the provided ROI.

Parameters

Name

Type

Description

roi ROI* The ROI that will contain the new contour.
annulus Annulus Defines the location and size of the annulus.

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().