CogCNLSearchLastRunRecordDiagConstants EnumerationCognex VisionPro
Enumeration of Diagnostic data that can be provided in the Tool's LastRunRecord.

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

[FlagsAttribute]
public enum CogCNLSearchLastRunRecordDiagConstants
Members

  Member nameValueDescription
None0
InputImageByReference1Include a reference to the input image in the LastRunRecord.
InputImageDeepCopy4Include a deep copy of the input image in the LastRunRecord.
SearchRegion16Include the search region in the LastRunRecord. The search region is not included in the LastRunRecord if SearchPointEnabled is true and the run-time algorithm is set to Linear Search.
SearchPoint32Include the search point in the LastRunRecord. The search point is only included in the LastRunRecord if SearchPointEnabled is true and the run-time algorithm is set to Linear Search.
TrainImageDeepCopy256Include a deep copy of the entire train image in the LastRunRecord.
TrainRegion512Include a clone of the train region in the LastRunRecord.
PatternOrigin1024Include a pattern origin in the LastRunRecord.
TrainImageMask2048Include a graphic representing the train image mask in the LastRunRecord. Only available if running with the Linear Search algorithm.
TrainedEdges4096Include a graphic representing the trained edges in the LastRunRecord. Only available if running with the NonLinear CNLPAS algorithm.
TrainedPatternImage8192Include the trained pattern image in the LastRunRecord. Only available if the pattern is trained.
TrainedPatternRegion16384Include the non interactive train region on the trained pattern image of the LastRunRecord.
TrainedPatternOrigin32768Include a non interactive pattern origin on the trained pattern image of the LastRunRecord.
TrainedPatternImageMask65536Include a graphic representing the mask used to train the pattern. This mask may include adjustments required to apply the region to the training image, based on the train region mode. Only available if running with the Linear Search algorithm.
TrainedPatternEdges131072Include a graphic representing the trained edges on the trained pattern image. Only available if running with the NonLinear CNLPAS algorithm.
TransformedRegionImage1048576Include an image constructed by applying a search region, which must be an affine rectangle, to the run-time input image. Only available if the region mode is affine transform.
All-1
Remarks

Use these constants with LastRunRecordDiagEnable to specify the diagnostic tool records that the CogCNLSearch Tool generates when you call CreateLastRunRecord .

See About Record Keys for a list of the record keys that the tool uses.

See Also