1 | initial version |
A method you can use is finding the furthest points from all the lines and drawing a line from those points. For example, if the line is horizontal store the x value and y value of that point only if the x value is the lowest x found. Same for highest x.
2 | No.2 Revision |
A method you can use is finding the furthest points from all the lines and drawing a line from those points. For example, if the line is horizontal store the x value and y value of that point only if the x value is the lowest x found. Same for highest x.x.
For paper, do this for separately for y values above the middle of the paper and y values below the middle of the paper.
3 | Summary: Search all lines for end points |
A method
An example for part 3, to find these points is when searching
a4 | No.4 Revision |
An example for part 3, to find these points 3 is when searching a horizontal line:
Use gradient function to filter horizontal lines, then search the x values of all points to keep the lowest x and highest x only.