Epson Net 5 사용자 설명서

다운로드
페이지 216
MaxArea Property 
 
MaxArea Property 
(Maximum Area) 
 
Applies To 
Vision Objects: Blob 
 
Description 
Defines the upper Area limit for the Blob Object.  For a Blob to be found it must have an Area result below 
the value set for MaxArea property. 
 
Usage 
VGet  Sequence.Object.MaxArea, var 
VSet  Sequence.Object.MaxArea, value 
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 
Long variable that will contain the value of the property. 
value 
Long expression for the new value of the property. 
 
Values 
1 - (video width x video height) 
Default: 100000 
 
Remarks 
The purpose of the MinArea and MaxArea Properties is to set a range for the Blob object such that if a blob 
area does not fit within the range then it is considered not found. (i.e.  the Found result is returned as False.) 
When a new Blob object is created the range between the MinArea property and MaxArea property is quite 
large because the default values are set at 25 and 100,000 respectively.  This means that in most situations 
the Blob object will return a Found result as true since the range for Blobs is so wide.  In most applications 
it is useful to set a tighter range between the MinArea and MaxArea Properties but of course there values 
will vary from application to application.  The point here is to remember to set the MinArea and MaxArea 
Properties and don't just rely on the default settings. 
Do no set the range between MinArea and MaxArea too large.  If the range is too large, it may result in 
false detection. 
 
See Also 
Area Result, Blob Object, MinArea Property, MinMaxArea Property, Object Tab 
66 
Vision Guide 5.0 Reference (Ver.5.3) Rev.1