Enumeration of data that can be provided in the Tool's CurrentRecord.
Namespace: Cognex.VisionPro.CNLSearchAssembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 65.1.0.0
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | ||
| TrainImage | 1 | Include the entire train image in the CurrentRecord. | |
| TrainRegion | 2 | Include the (interactive) train region in the CurrentRecord. | |
| PatternOrigin | 4 | Include the (interactive) pattern origin in the CurrentRecord. | |
| TrainImageMask | 8 | Include a graphic representing the train image mask in the CurrentRecord. Only available if the Linear Search algorithm is enabled for training. | |
| TrainedEdges | 16 | Include a graphic representing the trained edges on the train image. Only available if the pattern has been trained for the NonLinear CNLPAS algorithm. | |
| TrainedPatternImage | 256 | Include the trained pattern image in the CurrentRecord. Only available if the pattern is trained. | |
| TrainedPatternRegion | 512 | Include the non interactive train region on the trained pattern image of the current record. | |
| TrainedPatternOrigin | 1024 | Include a non interactive pattern origin on the trained pattern image of the current record. | |
| TrainedPatternImageMask | 2048 | Include a graphic representing the mask used to train the pattern. This mask may include adjustments required to apply the region to the train image. Only available if pattern has been trained for the Linear Search algorithm. | |
| TrainedPatternEdges | 4096 | Include a graphic representing the trained edges on the trained pattern image. Only available if the pattern has been trained for the NonLinear CNLPAS algorithm. | |
| InputImage | 65536 | Include the input image in the CurrentRecord. | |
| SearchRegion | 131072 | Include the search region in the CurrentRecord. The search region is not included in the CurrentRecord if SearchPointEnabled is true and the run-time algorithm is set to Linear Search. | |
| SearchPoint | 262144 | Include the search point in the CurrentRecord. The search point is only included in the CurrentRecord if SearchPointEnabled is true and the run-time algorithm is set to Linear Search. | |
| All | -1 |
Remarks
Use these constants with CurrentRecordEnable to specify the tool records that the CogCNLSearch Tool generates when you call CreateCurrentRecord .
See About Record Keys for a list of the record keys that the tool uses.
See Also