Ask Your Question

Revision history [back]

What I suggest is looking at the ratio's of those small segments, look if it is a horizontal or vertical, left or right part and then use the begin and end points of all corresponding points to create a list of points.

Next you can try to fit a line through that pointcloud using the fitLine function.