beautypg.com

Rejectonedge property – Epson 5 User Manual

Page 128

background image

RejectOnEdge Property

RejectOnEdge Property

Applies To

Vision Objects: Blob, Correlation, Geometric

Description

Determines if an object is rejected if found on the edge of the search window.

Usage

VGet Sequence.Object.RejectOnEdge, var

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

Boolean variable that will contain the value of the property.

value

Boolean expression for the new value of the property.

Values

False

Do not reject the object if found on edge of search window.

True

Reject the object if found on edge of search window.

Default: False

Remarks

When searching for objects that can fall outside the search window, setting RejectOnEdge to True will
prevent these objects from being found. For example, if you are trying to locate the center of a blob, and it
falls partially outside the search window will not report the correct center of mass. Therefore, you should
use RejectOnEdge to reject the result.

See Also

FoundOnEdge Result, Object Tab

114

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