Radius Property
Applies To
Vision Objects: ArcInspector, Edge, Polar
Description
Defines the radius for an object. The diagram below shows a Polar object.
Usage
VGet Sequence.Object.Radius, var
VSet Sequence.Object.Radius, 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.
- value
- Integer expression for the new value of the property.
- var
- Integer variable that will contain the value of the property.
Values
The radius in pixels
Default: 50
Remarks
Use the Radius property to set the radius for the object.
It is important to remember that the Polar object is used to process images that are circular in nature. The Radius property defines the size of the circle used for the Polar object. This means that the Radius property along with the Thickness property defines the size of the Search Window for the Polar object.
The size required for a Polar object Search very much depends upon what the Polar object is being used for. For example, if the Polar object is being used to Inspect Gear Teeth then the Polar object should be made just a little larger than the Gear to be inspected. However, if the Polar object is used just to find an angular position of a specific part of an image, then the Polar object may be smaller in size. Keep in mind that the smaller the Polar object search window, the faster the execution time for the Polar search.
See Also
CenterPoint Property, CenterX Property, CenterY Property, Edge Object, Polar Object, Thickness Property