NumberOfEdges Property
Applies To
Vision Objects: ArcFinder, ArcInspector, BoxFinder, Contour, CornerFinder, LineFinder, LineInspector
Description
Sets and returns the number of edges detected when detecting line segments and circular arcs.
Usage
VGet Sequence.Object.NumberOfEdges, var
VSet Sequence.Object.NumberOfEdges, value
- Sequence
- 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 from 5 to 99
Default:
- 5: LineFinder、ArcFinder、BoxFinder、CornerFinder
- 20: for LineInspector, ArcInspector and Contour (When ContourMode=Arc)
Remarks
Sets the number of segments to perform edge detection in equal divisions within the search range.
By adding segments, detection becomes more robust to the change in the input image (lighting and noise). However, it takes longer detection time. Set the property according to the actual system.
See Also
ArcFinder Object, LineFinder Object, ArcInspector Object, LineInspector Object, BoxFinder Object, Contour Object, CornerFInder Object, EdgeRobotXYU Result