imaqGetWindowROI

NI Vision for LabWindows/CVI Function

imaqGetWindowROI

Usage

ROI* imaqGetWindowROI(int windowNumber);

Purpose

Retrieves a copy of the region of interest (ROI) associated with a given image window.

Parameters

Name

Type

Description

windowNumber int The window number of the image window.

Return Value

Type

Description

ROI* On success, this function returns a copy of the ROI associated with the given window. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the ROI, dispose of it by calling imaqDispose().