Extrema Result

Runtime only

Applies To
Vision Objects: Blob, DefectFinder

Description
Returns the blob extrema coordinates.

Usage

VGet  Sequence.Object.Extrema [(result)], varMinX, varMaxX, varMinY, varMaxY
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.
varMinX
Integer variable containing minimum X position of the blob's Extrema.
varMaxX
Integer variable containing maximum X position of the blob's Extrema.
varMinY
Integer variable containing minimum Y position of the blob's Extrema.
varMaxY
Integer variable containing maximum Y position of the blob's Extrema.
result
Optional result number. If omitted, the result number is the CurrentResult. Used for objects that return multiple results.

Values
The values returned are always in: pixels and may be from 1 - ImageSize property height.

Remarks
The MinX, MaxX, MinY, and MaxY results together define a blob's smallest enclosing rectangle that is aligned with the coordinate axes and completely encloses the blob. This rectangle is known as the extrema. The Extrema result enables you to retrieve all four coordinates in one command.

See Also
Area Result, Blob Object, DefectFinder Object, MinX Result, MaxX Result, MaxY Result, MinY Result