Epson Net 5 사용자 설명서

다운로드
페이지 216
 
Extrema Result 
 
Extrema Result 
Runtime only 
 
Applies To 
Vision Objects: Blob 
 
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 
Real variable containing minimum X position of the blob's Extrema. 
varMaxX 
Real variable containing maximum X position of the blob's Extrema. 
varMinY 
Real variable containing minimum Y position of the blob's Extrema. 
varMaxY 
Real 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 - video 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. 
The Extrema value can be fractional.  For example, 100.5 would be between the 100 and 101 pixels. 
 
See Also 
Area Result, MinX Result, MaxX Result, MaxY Result, MinY Result, Object Tab 
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 
51