Connect lines at the ends |
This step connects the ends of the lines considerably distant from each other. Such omissions may occur due to the appearance of noise in the image - the shadows of buildings, congestions of cars, etc. It is necessary to estimate the approximate distance of such omissions and to enter this value into the maximal distance of connected lines.
Lines before connection:
Lines after connection: |