SearchWinHeight Property

Applies To
Vision Objects: Blob, BoxFinder, CodeReader, ColorMatch, Contour, CornerFinder, Correlation, DefectFinder, Geometric, ImageOp, LineFinder, OCR, Text

Description
Defines the height of an object's search window.

Usage

VGet  Sequence.Object.SearchWinHeight, var
VSet  Sequence.Object.SearchWinHeight, 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 value or expression for the new value of the property.

Values
Integer number in pixels from 10 to video height - SearchWinTop

Default: 100

Remarks
The SearchWinHeight 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 SearchWinHeight property is set automatically when the user drags the upper or lower horizontal window handles for the Search Window of each object type.

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

Do not the set the SearchWinHeight value too large. If the value is too large, the detection time gets longer and may result in false detection. Also, a value greater than 4096 cannot be set in Correlation and Geometric objects.

See Also
Blob Object, CodeReader Object, Correlation Object, DefectFinder Object, Geometric Object, ImageOp Object, OCR Obejct, BoxFinder Obejct, Contour Object, CornerFinder Obejct, Text Object, SearchWinLeft Property, SearchWinTop Property, SearchWinWidth Property, Window Property