beautypg.com

Roughness result – Epson 5 User Manual

Page 144

background image

Roughness Result

Roughness Result

Applies To

Vision Objects: Blob

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 NumberToFind property. If omitted, the result
number is the CurrentResult.

Values

Minimum value is 1.0.

Remarks

Roughness is a measure of the 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. Smooth convex blobs have a roughness of 1.0 (the minimum), whereas rough blobs have a
higher value because their true perimeter is bigger than their convex perimeter.

See Also

Compactness Result, Holes Result, Perimeter Result

130

Vision Guide 5.0 Reference (Ver.5.3) Rev.1