# Patterns Vision Data Access functions

This topic lists the Vision Data Access functions that get values from a Patterns structure as input.

Note: Each of the following functions references a Patterns data structure as the first parameter. Index (zero-based) determines which pattern is being indexed from the structure.

Function | Description
--- | ---
GetAngle(Patterns, [Index]) | Returns the angle value. Note: This function is supported by the FindPatMaxRedLine, and SortPatterns functions.
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 FindPatMaxRedLine function.
GetContrast(Patterns, [Index]) | Note: This function is supported by the FindPatMaxRedLine function.
GetCoverage(Patterns, [Index]) | Returns the coverage percentage. Note: This function is supported by the FindPatMaxRedLine function.
GetGranCoarse(Patterns) | Returns the coarse granularity value. Note: This function is supported by the TrainPatMaxRedLine function.
GetGranFine(Patterns) | Returns the fine granularity value. Note: This function is supported by the TrainPatMaxRedLine function.
GetNFound(Patterns) | Returns the number of pattern matches found. Note: This function is supported by the FindPatMaxRedLine, and SortPatterns functions.
GetScale(Patterns, [Index]) | Returns the size of the match (compared to the trained pattern) as a percentage. Note: This function is supported by the FindPatMaxRedLine, and SortPatterns functions.
GetScore(Patterns, [Index]) | Returns the pattern response score value. Note: This function is supported by the FindPatMaxRedLine, and SortPatterns functions.
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 TrainPatMaxRedLine function.
GetX(Patterns, [Index]) | Returns a X-coordinate. Note: This function is supported by the FindPatMaxRedLine, and SortPatterns functions.
GetY(Patterns, [Index]) | Returns a Y-coordinate. Note: This function is supported by the FindPatMaxRedLine, and SortPatterns functions.