RegionsProfile Method

NI Vision for Visual Basic

RegionsProfile Method

Syntax

CWIMAQRegions.RegionsProfile ProfileArray, ProfileReport, XCoordinates, YCoordinates

Purpose

Obsolete—Use CWIMAQVision.RegionsProfile instead.

Calculates the profile of the pixels along the boundary of a region of interest.

Remarks

This method operates on the first Region object that has its Active property set to True.

Parameters

ProfileArray As Variant

An array in which elements represent the pixel values belonging to the specified region.

ProfileReport As CWIMAQProfileReport

Contains information about the pixels found along the region boundary.

XCoordinates As Variant

An array consisting of the x-coordinates of each pixel along the region boundary.

YCoordinates As Variant

An array consisting of the y-coordinates of each pixel along the region boundary.

See Also

CWIMAQVision.RegionsProfile