CogPMAlignPattern CreateGraphicsCompositeFeatures Method Cognex VisionPro 9.22
Gets a collection of graphics that can be used to display the trained features for the item specified by the composite selected index. If the SelectedIndex is -1, then the graphics returned are for the initial train image.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 87.0.0.0
Syntax

public CogGraphicCollection CreateGraphicsCompositeFeatures(
	CogColorConstants color,
	bool used,
	bool fine
)

Parameters

color
Type: Cognex.VisionPro CogColorConstants
The color for the graphics.
used
Type: System Boolean
Specifies whether to return features that contribute to the trained composite model or features that were discarded and do not contribute to the composite model.
fine
Type: System Boolean
Specifies whether to return coarse or fine features.

Return Value

Type: CogGraphicCollection
Exceptions

ExceptionCondition
ArgumentExceptionIf the pattern is not trained.
See Also