CogImageStitch OverwriteImage Method (CogImage8Grey, CogImage8Grey, Int32, Int32, CogImage8Grey, CogImage8Grey)Cognex VisionPro 9.22
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.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax

public static void OverwriteImage(
	CogImage8Grey inputImage,
	CogImage8Grey inputImageMask,
	int inputImageMaskOffsetX,
	int inputImageMaskOffsetY,
	CogImage8Grey destinationImage,
	CogImage8Grey destinationImageMask
)
Exceptions

ExceptionCondition
CogImageNoPixelsExceptionIf inputImage is not allocated.
CogOperatorNoInputImageExceptionIf inputImage is null.
InvalidOperationExceptionIf destinationImageMask size differs from inputImage.(If destinationImageMask is non-null and allocated)
See Also