The CogCNLSearchResult type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Accepted | True if the result's Score was >= the AcceptThreshold specified in the CogCNLSearchRunParams. | |
| AreaCoverageScore | The AreaCoverageScore indicates the fraction of the pattern that lies within the search region. The returned value is in the range 0.0 through 1.0. Only the Linear Search algorithm can find pattern matches that are partially outside of the search region. | |
| AreaScore | The AreaScore represents the quality of the match regardless of the amount of the pattern that appears in the image. This value is between 0.0 and 1.0 with higher values indicating a closer match between the trained pattern and the pattern match. | |
| Contrast | The Contrast is the ratio of the standard deviation of the pixels in the trained pattern to the standard deviation of the care pixels in the located pattern. | |
| ContrastComputed | True if the result's Contrast has been computed. This will only be true if the LinearSearch algorithm was used to compute this result. | |
| EdgeHit | Indicates whether this pattern instance was found against one or more edges of the search region. This value is composed by performing a bitwise OR of CogCNLSearchEdgeHitConstants. | |
| EdgeScore | The EdgeScore represents the quality of the match between the edges of the trained pattern and the edges of the pattern match in the search image. This value is between 0.0 and 1.0 with higher values indicating a closer match. | |
| EdgeScoreComputed | True if the result's EdgeScore has been computed. This will only be true if the NonLinearCNLPAS algorithm was used to compute this result. | |
| ID | A unique ID used to identify this CNLSearch result. This ID also corresponds to the index of this result in the CogCNLSearchResults to which this result belongs. | |
| LocationX | The X component of the location at which this pattern instance was found. The location corresponds the pattern's origin and is specified in units of the selected space of the InputImage. | |
| LocationY | The Y component of the location at which this pattern instance was found. The location corresponds the pattern's origin and is specified in units of the selected space of the InputImage. | |
| Score | 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. The Score will be reduced if the result is a partial match and PartialMatchReduceScore is true. | |
| SelectedSpaceName | Returns the name of the selected space of the input image at run-time. The location of this result is specified in units of the selected space. |
See Also