SearchBreadth Property
Applies To
Vision Objects: GeometricPlus
Description
Specifies the level of detection candidate count to pass from coarse search to detailed search, or from coarse search to final search.
Usage
VGet Sequence.Object.SearchBreadth, var
VSet Sequence.Object.SearchBreadth, 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
- Integer variable that will contain the value of the property.
- value
- Integer value or expression for the new value of the property.
Values
- 1 - Low
- Vision constant: VISION_SEARCHBREADTH_LOW
- 2 - Medium
- Vision constant: VISION_SEARCHBREADTH_MEDIUM
- 3 - High
- Vision constant: VISION_SEARCHBREADTH_HIGH
Default:2 - Medium
Remarks
The SearchBreadth property adjusts the level of detection candidate count passed from coarse search to detailed search, or from coarse search to final search. For GeometricPlus objects, after performing coarse search, the search result coordinates are passed to detailed search or final search to calculate more precise coordinates. Not all coarse search results become the final output coordinates, only the results that are deemed more accurate are output in accordance with the value of the NumberToFind property. When there are many coarse search results, processing time tends to increase. For images with little noise or edge variation, setting the SearchBreadth property to 1 - Low and reducing the coarse search results can sometimes reduce processing time. However, if the coarse search results are fewer than necessary, there is a possibility that the correct detection position cannot be output. Therefore, when increasing the value, set it to 3 - High. Adjust by balancing processing time and detection results.
See Also
GeometricPlus Object