Roughness Result

Applies To
Vision Objects: Blob, DefectFinder

Description
Returns the roughness of a blob.

Usage

VGet  Sequence.Object.Roughness [(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
Real value equals to or larger than 1.0.

Remarks
Roughness is a measure of unevenness or irregularity of a blob's surface. It is the ratio of the true perimeter to the convex perimeter of a blob. The convex perimeter is the length of a line connecting all the extremities of the blob directly, while the true perimeter is the length of a line connecting every pixel along the blob’s edge (Perimeter result). Smooth convex blobs have a roughness of 1.0 (the minimum), whereas rough blobs have a higher value than 1 because their true perimeter is bigger than their convex perimeter.

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