beautypg.com

Searchwinwidth property – Epson 5 User Manual

Page 162

background image

SearchWinWidth Property

SearchWinWidth Property

Applies To

Vision Objects: Blob, Correlation, Geometric, ImageOp

Description

Defines the width of the an object's search window.

Usage

VGet Sequence.Object.SearchWinWidth, var

VSet Sequence.Object.SearchWinWidth, 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

Integer variable that will contain the value of the property.

value

Integer expression for the new value of the property.

Values

Integer number in pixels from 10 to video width - SearchWinLeft

Default: 100

Remarks

The SearchWinWidth property is available for the Blob, Correlation, Geometric, and ImageOp objects.
Each of these object types have similar rectangular Search Windows used to define the area to search
within. The SearchWinWidth property is set automatically when the user drags the left or right vertical
window handles for the Search Window of each object type. However, the width of an object's Search
Window can also be adjusted by simply entering a new value in the SearchWinWidth property.

There are cases where the user may want to expand or position the Search Window dynamically and for
that reason the SearchWinWidth property can also be set from the SPEL

+

Language.

Do not the set the SearchWinWidth setting too large. If the value is too large, the detection time gets
longer and may result in false detection.

See Also

Blob Object, Correlation Object, Geometric Object, ImageOp Object, Object Tab, SearchWinHeight
Property, SearchWinLeft Property, SearchWinTop Property, Window Property

148

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