TotalArea Result
Applies To
Vision Objects: ArcInspector, Blob, DefectFinder, LineInspector
Description
Returns the sum of areas of all results.
Usage
VGet Sequence.Object.TotalArea, 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
- Real variable that will contain the value of the result.
Values
Real number from 1- total pixels in image.
Remarks
TotalArea can be used to determine all pixels in the image being searched whose blobs fall withing the MinArea and MaxArea properties. By setting NumberToFind to 0 and MinArea to 1, the Blob object can be used as a pixel counter.
See Also
ArcInspector Object, Area Result, Blob Object, DefectFinder Object, LineInspector Object, NumberToFind Property