FoundOnEdge Result

Applies To
Vision Objects: Blob, Correlation, DefectFinder, Geometric

Description
Returns “True” when an object is found too close to the edge of the search window.

Usage

VGet  Sequence.Object.FoundOnEdge [(result)], var
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 result.
result
Optional result number. If omitted, the result number is the CurrentResult. Used for objects that return multiple results.

Values

  • 0 - False: The object was at the at the edge of the search window and could not be found
  • -1 - True: The object was found at the edge of the search window

Remarks
The FoundOnEdge result is a special result which works only with the Blob, Correlation, Geometric, and DefectFinder objects.

Sometimes the Vision System tries to report that a Blob, Correlation, Geometric, or DefectFinder object was found even though part of the object may be located outside of the Field of View. Rather than report these objects as Found, Vision Guide can set the Found result to return "False" when a Blob, Correlation, Geometric, or DefectFinder object is found but part of the object is outside of the Search Window.

If you want to make the object whose FoundOnEdge result is "True" as “not found”, set the RejectOnEdge property to "True".

Note:
There will be cases where you will use a Correlation or Geometric object and the Found result returns "False" even though the Accept property is low. In these situations, check for the FoundOnEdge result and RejectOnEdge property. They may be excluded from the detection result by RejectOnEdge property setting.

See Also
Blob Object, Correlation Object, Found Result, Geometric Object, DefectFinder Object, RejectOnEdge Property, Score Result