CogPatInspectResult GetDifferenceImage Method Cognex VisionPro
Image that provides thresholded differences between the trained pattern image and the normalized match image. Returns Nothing if the bit that corresponds to WhichImage was not set in the run-time DifferenceImages property.

Namespace: Cognex.VisionPro.PatInspect
Assembly: Cognex.VisionPro.PatInspect (in Cognex.VisionPro.PatInspect.dll) Version: 65.1.0.0
Syntax

public CogImage8Grey GetDifferenceImage(
	CogPatInspectDifferenceImageConstants whichImage
)

Return Value

Type: CogImage8Grey
Exceptions

ExceptionCondition
ArgumentException

whichImage is not one of CogPatInspectDifferenceImageConstants that specifies a single image.

Remarks

Image that provides thresholded differences between the trained pattern image and the normalized match image. Returns Nothing if the bit that corresponds to WhichImage was not set in the DifferenceImages property.

See Also