CogPMAlignResult PropertiesCognex VisionPro

The CogPMAlignResult type exposes the following members.

Properties

  NameDescription
Public propertyAccepted
True if the result's Score was >= the ICogPMAlignRunParams::AcceptThreshold.
Public propertyClutter
Clutter score is the number of extraneous features present in this result divided by the number of features in the trained pattern. The value ranges from 0.0 to infinity. Only available for PatMax, -1 is always returned for PatQuick.
Public propertyContrast
Contrast measurement of this result which is the average of the pixel gradient measurements across all feature boundaries.
Public propertyCoverage
Coverage score is the fraction (0.0 to 1.0) of features in the trained pattern that are found in this result. Only available for PatMax, -1 is always returned for PatQuick.
Public propertyFineStage
True if this result is from the fine stage of processing, and false if this result is from the coarse stage of processing.
Public propertyFitError
Quality measure that indicates the degree to which the found pattern features conform to the trained pattern, without regard to missing features. Zero is a perfect fit. Infinity is a poor fit. Only available for PatMax, -1 returned for PatQuick.
Public propertyID
A unique ID used to identify this PMAlign result. This ID also corresponds to the index of this result in the CogPMAlignResults to which this result belongs.
Public propertyMaxCoarseAcceptThreshold
Gets the maximum coarse accept threshold that would allow this result to be found.
Public propertyModelID
The pattern unique ID.
Public propertyModelName
The pattern name. The pattern name is only available for multi-model.
Public propertyOutsideRegionAreaProportion
The proportion of pattern area that is outside the search region.
Public propertyOutsideRegionFeatureProportion
The proportion of pattern features that is outside the search region.
Public propertyScore
Score for this result. The score is between 0.0 and 1.0 with higher values indicating a closer match between the trained pattern and the pattern in the search image.
Public propertyUnwarpedInputImage
Gets run-time input image unwarped by the flex deformation found for this result. Returns Nothing (NULL) if PatFlex was not run or SaveDeformationInfo was not set to cogPMAlignFlexDeformationInfoTransformAndUnwarpData on last run.
Top
See Also