CogPMAlignPattern TrainShapeModelsTransform Property Cognex VisionPro 9.20
Transform defines the space of all shape models when TrainMode is cogPMAlignTrainModeShapeModelsWithTransform, otherwise, this transform is ignored. This is a pixel from shape model space transform.

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

public ICogTransform2D TrainShapeModelsTransform { get; set; }

Property Value

Type: ICogTransform2D
Events

Remarks

A transform that defines the space of all shape models when TrainMode is ShapeModelsWithTransform, otherwise, this transform is ignored. This is a pixel from shape model space transform that maps the shapes to the pixel space of the expected run-time image.

This transformation describes how to map the geometric properties of the shapes in TrainShapeModels into a pixel space that corresponds to the pixels of the run-time image. If you specify ShapeModelsWithTransform for the TrainMode, the selected space of the shape models are ignored.

This CogPMAlignPattern sinks change events from the supplied CogTransform2D and will become untrained if that object changes or if the reference to the property changes.

Default Value: An identity transform.

See Also