Patterns Vision Data Access functions
This topic lists the Vision Data Access functions that get values from a Patterns structure as input.
| Function | Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
GetAngle(Patterns, [Index]) |
Returns the angle value. |
||||||||||||||||||||||||||
|
GetClutter(Patterns, [Index]) |
Returns the clutter score, which means the score of features found that are not part of the trained pattern. Note: This function is supported by the
|
||||||||||||||||||||||||||
|
GetContrast(Patterns, [Index]) |
Note: This function is supported by the
|
||||||||||||||||||||||||||
|
GetCoverage(Patterns, [Index]) |
Returns the coverage percentage. Note: This function is supported by the
|
||||||||||||||||||||||||||
|
GetFitError(Patterns, [Index]) |
Returns the fit error score. Note: This function is only supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
|
GetGranCoarse(Patterns) |
Returns the coarse granularity value. Note: This function is supported by the
|
||||||||||||||||||||||||||
|
GetGranFine(Patterns) |
Returns the fine granularity value. Note: This function is supported by the
|
||||||||||||||||||||||||||
|
GetInfoCode(Patterns, [Index]) |
Returns a diagnostic code for a pattern. Note:
TrainPatMaxPattern
FindPatMaxPatterns
|
||||||||||||||||||||||||||
|
GetInfoString(Patterns, [Index]) |
Returns the information string for a pattern. |
||||||||||||||||||||||||||
|
GetNFound(Patterns) |
Returns the number of pattern matches found. |
||||||||||||||||||||||||||
|
GetOutsideArea(Patterns, [Index]) |
Returns the proportion (on a scale of 0 to 1, where 0 equals completely within and 1 equals 100% outside) of the matching pattern's area found outside the search region. Note: This function is only supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
|
GetOutsideFeatures(Patterns, [Index]) |
Returns the proportion (on a scale of 0 to 1, where 0 equals completely within and 1 equals 100% outside) of the matching pattern's features found outside the search region. Note: This function is only supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
|
GetScale(Patterns, [Index]) |
Returns the size of the match (compared to the trained pattern) as a percentage. |
||||||||||||||||||||||||||
|
GetScaleX(Patterns, [Index]) |
Returns the size of the match in the X-direction (compared to the trained pattern) as a percentage. Note: This function is only supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
|
GetScaleY(Patterns, [Index]) |
Returns the size of the match in the Y-direction (compared to the trained pattern) as a percentage. Note: This function is only supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
|
GetScore(Patterns, [Index]) |
Returns the pattern response score value. |
||||||||||||||||||||||||||
|
GetTrained(Patterns) |
Returns 1 if a pattern has been successfully learned, and 0 if a pattern cannot be trained from a Patterns structure. Note: This function is supported by the
|
||||||||||||||||||||||||||
|
GetX(Patterns, [Index]) |
Returns a X-coordinate. |
||||||||||||||||||||||||||
|
GetY(Patterns, [Index]) |
Returns a Y-coordinate. |