Finds one or more coarse bead paths.
Namespace: Cognex.VisionPro.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 73.0.0.0
Syntax
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed |
Fires when this method changes the
Found
state of the pattern.
The following state flags may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| CogSecurityViolationException | Licensing for this operation cannot be confirmed. See Understanding VisionPro Security for more information. |
| CogOperatorNoTrainImageException | The TrainImage is null. |
| CogImageBadTypeException | The TrainImage you supplied is not a CogImage8Grey. |
| CogImageNoPixelsException | The TrainImage has no allocated pixels. |
| CogSpaceTreeNotInTreeException | StartCircle in the FindParams for this pattern has a SelectedSpaceName that does not exist within the CogCoordinateSpaceTree of the TrainImage. |
| ArgumentException | StartCircle in the FindParams for this pattern falls completely outside of the TrainImage or a bead could not be located within the area specified by the start circle. |
Remarks
This method must be called before calling Train ; the BeadInspect pattern cannot be trained prior to finding at least one coarse path.
This method utilizes the instance of CogBeadInspectFindParams contained within the FindParams property. Results are assigned to the FindResults property and are not returned by this method directly.
See Also