CogImageStitch BlendImageIntoBuffer Method (CogImage8Grey, CogImage8Grey, CogImage8Grey, Int32, Int32)Cognex VisionPro 9.5
This method allows user to do both masking and weighting. inputImageMask must be non-null and allocated, but does not need to be the same size as the input image. VisionPro assumes that image pels not covered by the mask are care pixels (i.e.they are copied into the destination) 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: 69.0.0.0
Syntax

public void BlendImageIntoBuffer(
	CogImage8Grey inputImage,
	CogImage8Grey inputImageWeights,
	CogImage8Grey inputImageMask,
	int inputImageMaskOffsetX,
	int inputImageMaskOffsetY
)
Exceptions

ExceptionCondition
CogOperatorNoInputImageExceptionIf inputImage is null.
InvalidOperationExceptionIf BlendingBuffer is not allocated.
CogImageNoPixelsExceptionIf inputImage is not allocated.
See Also