Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 83.0.0.0
Parameters
- inputImageA
- Type: Cognex.VisionPro ICogImage
The first image.
- inputImageB
- Type: Cognex.VisionPro ICogImage
The second image.
- 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 combining the minimum or maximum pixel values of the input images.
| 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 taking the minimum or maximum pixel values the two input images. Use Operation to specify whether to use the minimum or maximum pixel values. If the region parameter is Nothing, the entire image is used.