Constructs a new instance of this class.
Assembly: Cognex.Vision.SmartLine.Net (in Cognex.Vision.SmartLine.Net.dll) Version: 9.24.0.0
Syntax
Parameters
- image
- Type: Cognex.Vision IImage
The source image for the training item.
- region
- Type: Cognex.Vision IRegion
The region of interest for the training item.
- regionMode
- Type: Cognex.Vision RegionModeConstants
The Region Mode for the training item.
- assignments
- Type: Cognex.Vision.ELCore ClassItemToShapeAssignmentCollection
The assignment collection for the training item.
- isForTraining
- Type: System Boolean
Defines whether this train data item should be taken into account during the training process.
- expectedRotation
- Type: System Double
The rotation of the image with respect to pixel space.
See Also