ObjectReport

NI Vision for LabWindows/CVI Function

ObjectReport

A report describing the location, size, and features of a binary object.

Elements

Name

Type

Description

center PointFloat Specifies the location of the center of mass of the binary object.
boundingRect Rect Specifies the location of the bounding rectangle of the binary object.
area float Specifies the area of the binary object.
orientation float Specifies the orientation of the longest segment in the binary object.
aspectRatio float Specifies the ratio between the width and the height of the binary object.
numHoles int Specifies the number of holes in the binary object.