CogPatInspectResult GetMatchImage Method Cognex VisionPro 9.5
Image containing the region of the input image that matches the pattern. Match region is simply based on the Pose provided at run-time. Returns Nothing if the bit that corresponds to WhichImage was not set in the run-time MatchImages property.

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

public CogImage8Grey GetMatchImage(
	CogPatInspectMatchImageConstants whichImage
)

Return Value

Type: CogImage8Grey
Exceptions

ExceptionCondition
ArgumentException

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

Remarks

Image containing the region of the input image that matches the pattern. Match region is simply based on the Pose provided at run-time. Returns Nothing if the bit that corresponds to WhichImage was not set in the MatchImages property.

See Also