Holes Result

Applies To
Vision Object: Blob, DefectFinder

Description
Returns the number of holes found within a Blob object.

Usage

VGet  Sequence.Object.Holes [(result)], var
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name
.
The object must exist in the specified sequence.
var
Integer variable that will contain the value of the result.
result
Optional integer result number from 1 to the NumberOfResults property. If omitted, the result number is the CurrentResult.

Values
Valid values are zero to the number of holes found.

Remarks
A hole is a blob with opposite polarity located within the blob that was found. Holes that intersect the edge of the blob are not counted.

See Also
Blob Object, DefectFinder Object, Compactness Result, Perimeter Result, Roughness Result