Compactness Result
Applies To
Vision Objects: Blob, DefectFinder
Description
Returns the compactness of a blob or defect.
Usage
VGet Sequence.Object.Compactness [(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
- Real 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
Minimum value is 1.0.
Remarks
Compactness is a measure of how close all particles in a blob are from one another. It is derived from the perimeter and area. A circular blob is most compact and is defined to have a compactness measure of 1.0 (the minimum). More convoluted shapes have larger Compactness values.
See Also
Blob Object, DefectFinder Object, Holes Result, Perimeter Result, Roughness Result