This method allows users to stitch images in overwrite mode. This allow masking and will fill a destinationImageMask. The BlendingBuffer is not used. destinationImageMask must be either(1)null (i.e. no mask is desired),or (2) non-null, allocated, and the same size as the destinationImage. inputImageMaskOffsetX/Y can be any integer value. These values specify how the mask is aligned on the image. (Same as other VPro tools with masking.)
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 83.0.0.0
Syntax
Parameters
- inputImage
- Type: Cognex.VisionPro CogImage8Grey
n/a
- inputImageMask
- Type: Cognex.VisionPro CogImage8Grey
n/a
- inputImageMaskOffsetX
- Type: System Int32
n/a
- inputImageMaskOffsetY
- Type: System Int32
n/a
- destinationImage
- Type: Cognex.VisionPro CogImage8Grey
n/a
- destinationImageMask
- Type: Cognex.VisionPro CogImage8Grey
n/a
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | If destinationImageMask size differs from inputImage.(If destinationImageMask is non-null and allocated) |
| CogOperatorNoInputImageException | If inputImageMask is null. |
| CogImageNoPixelsException | If inputImage is not allocated. |
See Also