beautypg.com

Minarea property – Epson 5 User Manual

Page 85

background image

MinArea Property

MinArea Property

Applies To

Vision Objects: Blob

Description

Defines the lower Area limit for the Blob object. For a Blob to be found it must have an Area result above
the value set for MinArea property.

Usage

VGet Sequence.Object.MinArea, var

VSet Sequence.Object.MinArea , 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 - MaxArea in pixels

Default: 25

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.

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 is large. 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, MaxArea Property, Object Tab

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

71