Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 65.1.0.0
Parameters
- inputImageA
- Type: Cognex.VisionPro ICogImage
The first image to add.
- inputImageB
- Type: Cognex.VisionPro ICogImage
The second image to add.
- regionA
- Type: Cognex.VisionPro ICogRegion
A region that, together with RegionModeA, specifies which part of inputImageA to use.
- regionB
- Type: Cognex.VisionPro ICogRegion
A region that, together with RegionModeB, specifies which part of inputImageB to use.
Return Value
Type: ICogImageThe image generated by adding inputImageA and inputImageB
| Exception | Condition |
|---|---|
| CogOperatorNoInputImageException | inputImageA or inputImageB is NULL. |
| CogImageNoPixelsException | inputImageA or inputImageB is not allocated. |
| CogOperatorInvalidRegionException | The selected space of one of the regions is not a valid space of the corresponding input image. |
| ArgumentException | RegionModeA or RegionModeB is not AffineTransform or PixelAlignedBoundingBox. |
| OutOfMemoryException | Could not allocate memory for OutputImage. |
| CogIPNoRegionOverlapException | The regions do not overlap. |
Generates a new image that is the result of adding the specified regions of the two input images. If the region parameter is Nothing, the entire image is used.