CogCNLSearchCurrentRecordConstants EnumerationCognex VisionPro
Enumeration of data that can be provided in the Tool's CurrentRecord.

Namespace: Cognex.VisionPro.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 65.1.0.0
Syntax

[FlagsAttribute]
public enum CogCNLSearchCurrentRecordConstants
Members

  Member nameValueDescription
None0
TrainImage1Include the entire train image in the CurrentRecord.
TrainRegion2Include the (interactive) train region in the CurrentRecord.
PatternOrigin4Include the (interactive) pattern origin in the CurrentRecord.
TrainImageMask8Include a graphic representing the train image mask in the CurrentRecord. Only available if the Linear Search algorithm is enabled for training.
TrainedEdges16Include a graphic representing the trained edges on the train image. Only available if the pattern has been trained for the NonLinear CNLPAS algorithm.
TrainedPatternImage256Include the trained pattern image in the CurrentRecord. Only available if the pattern is trained.
TrainedPatternRegion512Include the non interactive train region on the trained pattern image of the current record.
TrainedPatternOrigin1024Include a non interactive pattern origin on the trained pattern image of the current record.
TrainedPatternImageMask2048Include 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.
TrainedPatternEdges4096Include a graphic representing the trained edges on the trained pattern image. Only available if the pattern has been trained for the NonLinear CNLPAS algorithm.
InputImage65536Include the input image in the CurrentRecord.
SearchRegion131072Include 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.
SearchPoint262144Include 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