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(the score of features found that are not part of the trained pattern.) Note: This function is supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
GetContrast(Patterns, [Index]) |
Note: This function is supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
GetCoverage(Patterns, [Index]) |
Returns the coverage percentage. Note: This function is supported by the FindPatMaxPatterns function.
|
||||||||||||||||||||||||||
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 TrainPatMaxPattern function.
|
||||||||||||||||||||||||||
GetGranFine(Patterns) |
Returns the fine granularity value. Note: This function is supported by the TrainPatMaxPattern function.
|
||||||||||||||||||||||||||
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 TrainPatMaxPattern function.
|
||||||||||||||||||||||||||
GetX(Patterns, [Index]) |
Returns a x-coordinate. |
||||||||||||||||||||||||||
GetY(Patterns, [Index]) |
Returns a y-coordinate. |