Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 75.1.0.0
Implements
ICogTool Run| Exception | Condition |
|---|---|
| CogIPNoDataAvailableToProcessException | NumImages < 1. |
| CogIPRegionSizeMismatchException | This is not the first call to CogImageAverageTool or the resulting number of pixels do not resolve to the same number of rows and columns as in previous calls to CogImageAverageTool. |
| CogOperatorNoInputImageException | InputImage is NULL. |
| CogImageNoPixelsException | InputImage is not allocated. |
| CogImageBadSelectedSpaceNameException | The selected space name of InputImage is not syntactically valid. |
| CogImageBadSelectedSpaceNameException | The selected space name of InputImage does not exist within its space tree. |
| CogImageBadSelectedSpaceNameException | The selected space name of InputImage is not unique within its space tree. |
| CogOperatorInvalidRegionException | The selected space name of Region is not syntactically valid. |
| CogOperatorInvalidRegionException | The selected space name of Region does not exist within its space tree. |
| CogOperatorInvalidRegionException | The selected space name of Region is not unique within its space tree. |
| CogOperatorInvalidRegionException | Region falls completely outside of InputImage. Clipping is allowed. |
| CogOperatorInvalidRegionException | Region is not an CogRectangleAffine and RegionMode is AffineTransform. |
| CogOperatorInvalidRegionException | Region is an CogRectangleAffine that is too close to the edge of InputImage. |
Adds the InputImage to the accumulator and calculates a new AverageImage.
Note: This method does not actually raise the exceptions listed below. Use the RunStatus property to obtain a ICogRunStatus reference. Then use its Exception property to see if the Run method raised any exceptions.