Runs the tool using the current parameter settings.
Namespace: Cognex.VisionPro.ImageProcessingAssembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 87.1.0.0
Syntax
Implements
ICogTool RunEvents
| Event Type | Reason |
|---|---|
| ICogTool Running | Fires before the tool runs. |
| ICogChangedEvent Changed | Fires when the tool runs. If the run was successful, results are generated; if the run was not successful, no results are generated and the previous results are cleared. Use RunStatus after CogImageSharpnessTool returns or in a Ran event handler to determine whether a run was successful or unsuccessful. The following state flags may be affected: |
| ICogTool Ran | Fires after the tool runs. |
Remarks
Runs the tool. The computed sharpness score is placed in the Score property.
If Mode is GradientEnergy, the image is processed using Gaussian smoothing before measuring sharpness.
See Also