beautypg.com

Anglemaxincrement property – Epson 5 User Manual

Page 23

background image

AngleMaxIncrement

Property

AngleMaxIncrement Property

Applies To

Vision Objects: Correlation

Description

The AngleMaxIncrement property specifies the maximum angle increment amount for teaching a
correlation model for searching with angle. The model training function selects an angular increment
automatically and then uses the smaller of the automatically selected increment and the maximum angle
increment defined by the AngleMaxIncrement property.

Usage

VGet Sequence.Object.AngleMaxIncrement, var

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

Real variable that will contain the value of the property.

value

Real expression for the new value of the property.

Values

Real number in degrees from 1 - 45

Default: 1

Remarks

Before reading anything else about the AngleMaxIncrement property it should be noted that the Correlation
Model must be taught after a new value for the AngleMaxIncrement property is set in order for those
settings to take affect. If you teach a Correlation Model, then later set the AngleMaxIncrement property to
a new value, and then try to run that Correlation object, it will not search with the new angle increment.
You must re-teach the Correlation Model with the AngleEnable property set to True, and with the new
value for the AngleMaxIncrement property in order for Correlation search with angle to use the new
AngleMaxIncrement property value. You must also have the proper settings for the AngleRange property
prior to teaching the new Model as well.

)

NOTE

If you wish to measure angle precisely, you should provide a maximum angle increment corresponding to
the degree of precision you desire. You should keep in mind, however, that the smaller the angle increment,
the more storage will be required for the model and the slower the search time will be.

It should be noted that while correlation with angle is normally able to find rotated parts, the correlation
search time usually increase significantly. This is why correlation with angle is most useful for finding
parts which rotate only slightly. The Polar object however, is normally very fast and can be used in
conjunction with a Correlation object for a powerful and fast combination. (See the sections on Correlation
or Polar Searching for more information.)

See Also

Angle Result, AngleEnable Property, AngleRange Property, Correlation Object, Object Tab

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

9