PairsToEdges
Converts arrays of edge pairs into arrays of edges. The 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. averages the row and column coordinates of evenly-indexed edges with the corresponding row and column coordinates of oddly-indexed edges to convert pairs of edges into single edges.
| Parameter | Description | ||||
|
Edges |
A reference to a spreadsheet cell containing an Edge data structure, which must consist of multiple straight-line edges. The function expects the input Edge data structure to be sorted by pairs, such that evenly-indexed edges contain the first edge of an edge pair, and oddly-indexed edges contain the second edge of an edge pair. |
||||
|
Number of Pairs |
Specifies the number of edge pairs to convert into edges. (0 to 80; default = 1) |
||||
|
Show |
Specifies the display mode for PairsToEdges graphical overlays on top of the image.
|
|
Returns |
An Edge data structure containing edges derived from edge pairs, or #ERR if any of the input parameters are invalid. |
||||||||||||||||||
|
Results |
When PairsToEdges is initially inserted into a cell, a result table is created in the spreadsheet. The following Edges Vision Data Access functions are automatically inserted into the spreadsheet to create the result table:
|