# Edges Vision Data Access functions

Functions that get values from an Edges structure.

Note: Each of the following functions references a Edge data structure as the first parameter.

Function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. | Description
GetAngle(Edges, [Index]) | Returns the angle of the indexed edge.
GetContrast(Edges) | Returns the average contrast between the foreground and background found in grey levels, between 0 to 255. Contrast is positive for black-to-white transitions, and negative for white-to-black transitions. The Edge structure must be created by a FindCircleMinMax function.
GetEdgeDistance(Edges, [Index]) | Returns the distance between two edges (edge pair) in pixels. The Edge structure must be created by a Caliper function.
GetMax(Edges) | Returns the radius of the maximum deviation from the best edge. The Edge structure must be created by a FindCircleMinMax function.
GetMin(Edges) | Returns the radius of the minimum deviation from the best edge. The Edge structure must be created by a FindCircleMinMax function.
GetNFound(Edges) | Returns the number of edges found.
GetPosition(Edges, [Index]) | Returns the region X position in pixels of the edge or the edge pair center.
GetRadius(Edges, [Index]) | Returns the radius of a specified circle or arc in pixels.
GetScore(Edges, [Index1], [Index2]) | Returns the Score value between 0-100 from the indexed edge. Score is positive for black-to-white transitions and negative for white-to-black transitions, except for FindSegment and FindCircleMinMax, where Score is always positive.
GetSDev(Edges) | Returns the standard deviation value. The Edge structure must be created by a FindCircleMinMax function. Note: This calculation is a biased standard deviation, where the denominator is N-1. An unbiased standard deviation has a denominator of N.
GetX(Edges, [Index1], [Index2]) | Returns a X-coordinate. Index1 selects the edge number, and Index2 specifies an end point. 0 is the top-most point, 1 is the bottom-most point.
GetY(Edges, [Index1], [Index2]) | Returns a Y-coordinate. Index1 selects the edge number, and Index2 specifies an end point. 0 is the left-most point, 1 is the right-most point.