Road extraction method based on geodesic distance field and multi-polyline fitting

Through the method based on geodesic distance field and polyline fitting, the problem of low road extraction accuracy and low efficiency in high-resolution remote sensing images is solved, efficient and anti-noise road centerline extraction is achieved, and the cost of manual intervention is reduced.

CN114565857BActive Publication Date: 2024-09-20FUJIAN JIANGXIA UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210179200.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-09-20
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

Existing semi-automatic road extraction algorithms have problems such as low extraction accuracy, low efficiency, poor anti-noise performance and high cost of manual intervention in high-resolution remote sensing images. It is especially difficult to effectively extract the road center in environments with complex road shapes and lots of noise information. Wire.

Method used

A road extraction method based on geodesic distance field and polyline fitting is adopted, and the geodesic distance field and polyline are quickly generated through adaptive circular template adjustment of seed points, road saliency map calculation, flexible road center probability estimation, and Gauss-Seidel iteration. Fitting to achieve efficient extraction of road center lines.

Benefits of technology

It improves the efficiency and anti-noise ability of the algorithm, reduces manual intervention, can extract complex road shapes more accurately and reduces the controllability difference in the extraction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114565857B
    Figure CN114565857B
Patent Text Reader

Abstract

The present invention provides a road extraction method and system based on geodesic distance field and multi-fold line fitting. The system comprises an artificial seed point adjustment and road width measurement module based on an adaptive circular template, a road saliency map calculation module, a flexible road center probability estimation module, a geodesic distance field rapid generation module based on Gauss-Seidel iteration, a geodesic line reverse tracking module based on geodesic distance field and a multi-fold line road center fitting module. The technical solution can be applied to realize the extraction of geodesic lines between seed points by rapidly generating geodesic distance field, the algorithm has high efficiency, and the geometric features of the road are fitted by multi-fold lines, and the algorithm has a certain anti-noise ability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of photogrammetry and remote sensing image application, in particular to a road extraction method based on geodetic distance field and multi-polyline fitting. Background Art

[0002] The development of satellite remote sensing observation technology and low-altitude aerial photography technology has brought higher spatial, temporal and spectral resolution to remote sensing images, which helps to support more accurate target positioning capabilities, and at the same time brings greater challenges to image interpretation technology. As an important man-made target, roads are the core management objects of geographic information systems. They are of great value to social economy, national defense security, urban planning, population distribution analysis, earthquake disaster reduction, humanitarian rescue and other aspects. Compared with early low-resolution remote sensing images, roads appear more complex in high-resolution remote sensing images. For example, there may be multiple levels of roads in a map, and different building materials may be used in the same section of the road, which makes the road appear in the image with different radiation characteristics. In addition to providing clearer target details, the improved resolution also provides more noise information, such as pedestrians on the road, lane signs, roadside trees and building occlusions on both sides of the road. These interference noises make it difficult to extract road noise. Therefore, it is of high economic value and research value to study road extraction algorithms with higher accuracy and efficiency.

[0003] Since the 1970s, experts in the field of remote sensing mapping at home and abroad have proposed a large number of algorithms for extracting road networks from remote sensing images. These algorithms can be simply classified into automatic road extraction and semi-automatic road extraction. In the early days, automatic road extraction was mainly based on the road prior model and the radiation characteristics of the road, and a fully automatic road extraction framework was compiled based on a knowledge-driven method. Although the degree of automation was high, it was limited by the complexity of high-resolution remote sensing images, and the quality of extraction could not meet the actual needs. It is still in the scientific experiment stage. With the introduction of deep neural networks, road recognition algorithms in high-resolution remote sensing images have made great progress, but training deep neural networks requires a large amount of labeled data, the training cost is high, and the interpretability of neural networks is poor, resulting in a direct relationship between the generalization performance of the model and the scale of the training data set. The cross-regional, cross-environmental, and cross-remote sensing technology characteristics of remote sensing images, as well as the variable morphological characteristics of roads, make deep neural networks still a certain distance away from practical application. Semi-automatic road extraction is a more feasible solution. It combines human pattern recognition capabilities and computer precise positioning capabilities, so that the algorithm can assist in the manual extraction of road networks in various environments. Some semi-automatic road extraction algorithms are used in actual professional surveying and mapping software, such as Feature Analyst from VisualLearning Systems, eCognition from Definiens, and Road Tracker from GeoEye. Improving the extraction accuracy of the algorithm and reducing the cost of manual intervention are the core of the research on semi-automatic algorithms.

[0004] Commonly used semi-automatic road extraction algorithms include template matching, shortest path, active contour, dynamic programming, segmentation and refinement. Template matching methods include step matching and binary search matching. The step matching method only needs one seed point to extract a road section. First, a reference template (such as a circular template, a square template, a T-shaped template, etc.) is generated based on the artificial seed point and local color features. Then, the best matching template is searched step by step from both sides of the seed point. The biggest problem of this type of method is that the step stop condition is difficult to accurately preset. Strict setting of the stop condition will cause the algorithm to stop early, and loose setting will cause the algorithm to mistakenly track the background area, and the controllability of the extraction process is poor; the binary search matching method requires two artificial seed points to extract a road section. The best matching model on the median vertical line is searched in half to locate the center line of the road. The main problem of this algorithm is that the median vertical line is too long, the calculation complexity is large, and it may be mismatched to other sections. If the median vertical line is too short, it may not be able to correctly extract the road section with a large curvature. More artificial seed points need to be provided, which increases the cost of manual intervention, such as patent (CN104899592A). The shortest distance algorithm finds the shortest weighted path between two points, uses the fast stepping method to find the local minimum energy map, and then extracts the road centerline between the two points by reverse tracing, such as patent (CN201010224760.2). The main problems of this type of algorithm are low algorithm efficiency and poor noise resistance. The dynamic programming method uses multi-fold lines to fit the road centerline. First, the multi-fold line energy function is defined, and the minimum value of the multi-fold line energy function between the two points is calculated by iterative half-interpolation control points. Finally, the multi-fold line connecting the control points is the road centerline between the two points. The problem of this type of algorithm is that the energy function is difficult to define and the ability to extract sharp turns is poor. The active contour model is also a method for finding the minimum energy functional. By continuously adjusting the initial road centerline, a smooth road centerline is obtained. The prominent problem of this type of algorithm is that the algorithm parameters are difficult to set and an initial road centerline is required, which increases the cost of manual intervention. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a road extraction method based on geodesic distance field and multi-fold line fitting, which extracts geodesic lines between seed points by quickly generating geodesic distance field. The algorithm has high efficiency and utilizes multi-fold line to fit the geometric features of the road. The algorithm has certain noise resistance.

[0006] To achieve the above object, the present invention adopts the following technical scheme: a road extraction method based on geodesic distance field and multi-fold line fitting, the system includes an artificial seed point adjustment and road width measurement module based on an adaptive circular template, a road saliency map calculation module, a flexible road center probability estimation module, a geodesic distance field fast generation module based on Gauss-Seidel iteration, a geodesic line reverse tracking module based on geodesic distance field and a multi-fold line road center fitting module; including the following steps:

[0007] Step 1: Obtain the image edge through Sobel edge detection and normalize the Sobel edge, that is, Where E is the edge of the Sobel image;

[0008] Step 2, road width estimation and artificial seed point adjustment; set the initial radius to 1, take the artificial seed point and the pixels in its 8-domain as the center, generate 9 circles, calculate the image edge accumulation value within each circle, and obtain the minimum accumulated value. If the value is greater than the radius, return the radius value minus 1, otherwise the radius plus 1, then move the artificial seed point to the center of the circle with the minimum edge accumulation value, and re-generate 9 circles with the artificial seed point and the pixels in its 8-domain as the center, and start a new round of calculation according to the above rules; in areas with obvious road features, the algorithm can obtain circles that are tangent to both sides of the road at the same time, and finally adjust the artificial seed point to the center of the road and return the width of the road; after this step, both the start and end seed points are adjusted to the center of the road surface;

[0009] Step 3: Calculate the road saliency map; let f be the image intensity, which is a mapping function from a two-dimensional coordinate space to a one-dimensional real space. Where Ω=[0,1] 2 For the image domain, the road saliency map Where c represents the grayscale mean of the image within the optimal circular template at the starting seed point, and ε is a very small real number to prevent the road saliency map from disappearing at certain locations;

[0010] Step 4: Calculate the flexible road center probability map; the calculation formula is: Where K is the Gaussian kernel function, n = r × r, that is, the number of pixels multiplied by the number of surrounding pixels, r is the optimal template radius at the starting seed point, W is the road saliency, a road probability, x i is the i-th pixel coordinate around pixel x; while W in the traditional road center density estimation is the road label, which is either 0 or 1, and P is called the flexible road center probability density;

[0011] Step 5, define the geodesic; γ is any curve connecting the starting and ending seed points, then the geodesic γ* is the curve with the shortest weighted length among all the curves connecting the two points, that is, where x s ,x e are the starting and ending seed points, respectively, and L(γ) is the weighted path length of the curve γ, that is, Where γ(t) is the coordinate of point t on the curve γ, t∈[0,1], and P is the probability density of the center of the flexible road;

[0012] Step 6: Rapid generation of geodesic distance field. In order to quickly calculate γ*, the geodesic distance field U is quickly generated using Gauss-Seidel iterative scanning. Then, based on the geodesic distance field U, the geodesic line is traced backward from the end seed point. First, each element of U is initialized to infinity, and U(x s )=0, where x s is the starting seed point; the update formula of the cost matrix U is defined as follows:

[0013]

[0014] Where C is the cost matrix C = Max(P)-P+ε, a, b are:

[0015]

[0016] For an m×n image, the order of Gauss-Seide l iterative scanning is: (1) i = 1:m, j = 1:n, (2) i = m:1, j = 1:n, (3) i = m:1, j = n:1, (4) i = 1:m, j = n:1;

[0017] Step 7, geodesic extraction; using the greedy algorithm, trace back from the end seed point to the start seed point; let Path = [X e ],x=x e , let U(x') be the smallest geodesic distance in the 8-domain of x, add x' to Path, let x = x', repeat until x = Xs; then the obtained Path is the geodesic between the two points;

[0018] Step 8, multi-polyline fitting; first, segment the extracted geodesic into multiple small segments, each of which is no larger than 10 pixels, and regard the point with the maximum road center probability in each segment as a control point; check each pair of adjacent control points, and if they are too close, delete the control point with the smaller road center probability; if the road center probability of a control point is less than 50% of the average road center probability of all control points, delete the control point. Second, on the vertical line of the line segment, adjust the control point to the position with the maximum road center probability; third, delete the control point if the control point is a singular point, if the angle between the two line segments connected by the control point is less than 150 degrees, and the average vector angle formed by the three control points on the left and right sides of the control point is greater than 150 degrees; note that after the control point is deleted, the two line segments connected by the control point are automatically merged into one line segment; finally, all the remaining control points and artificial seed points are connected in sequence as the final road center line. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A method flow chart of a road extraction method based on geodesic distance field and multi-polyline fitting according to a preferred embodiment of the present invention;

[0020] Figure 2 A schematic diagram of the relationship between the adaptive circular template generation process and the Sobel edge integral of the road extraction method based on the geodesic distance field and multi-polyline fitting in the preferred embodiment of the present invention;

[0021] Figure 3 A schematic diagram of multi-polyline endpoint refinement and filtering of a road extraction method based on geodesic distance field and multi-polyline fitting according to a preferred embodiment of the present invention;

[0022] Figure 4 It is a schematic diagram of a test result of multi-polyline fitting of a road extraction method based on geodesic distance field and multi-polyline fitting in a preferred embodiment of the present invention;

[0023] Figure 5 This is an effect diagram of semi-automatic road extraction from a high-resolution satellite image using a road extraction method based on geodetic distance field and multi-polyline fitting according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0024] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0025] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0026] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application; as used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or their combinations.

[0027] A road extraction method based on geodesic distance field and multi-fold line fitting, the system includes an artificial seed point adjustment and road width measurement module based on an adaptive circular template, a road saliency map calculation module, a flexible road center probability estimation module, a geodesic distance field fast generation module based on Gauss-Seide l iteration, a geodesic line reverse tracking module based on geodesic distance field and a multi-fold line road center fitting module;

[0028] The adaptive circular template module takes the artificial seed point as the starting point and the Sobel edge of the image as the basis to generate the best circular template according to the actual road width. The best template should be tangent to the edges on both sides of the road at the same time. The module only needs to receive the artificial seed point, without other thresholds and parameters, and the algorithm has strong adaptive ability and good human-computer interaction.

[0029] The road saliency map calculation module counts the grayscale mean value in the best template at the starting artificial seed point, takes the mean value as a reference, calculates the residual absolute value of the grayscale of the image and the mean value, and compresses the absolute value to a range of (0-1] as the road saliency map;

[0030] The flexible road center probability estimation module directly performs Gaussian kernel function convolution on the road saliency map, and the convolution kernel size is r×r, where r is the smaller value of the optimal circular template radius at the starting and ending seed points;

[0031] The Gauss-Seidel iteration-based geodesic distance field rapid generation module uses the inverse phase map of the flexible road center probability as the cost matrix and uses Gauss-Seidel iteration scanning to rapidly generate the geodesic distance of each pixel in the image field from the starting seed point;

[0032] The geodesic line reverse tracking module based on the geodesic distance field starts with the ending seed point, and uses the geodesic distance field as the basis, and uses the greedy algorithm to search for the minimum geodesic distance coordinates in the 8-domain of the current position each time, and puts the coordinates into the path until the starting artificial seed point is met;

[0033] The polyline road center fitting module divides the geodesic into multiple line segments, each line segment does not exceed 10 pixels, and the endpoint of each line segment must meet the fitting model of claim 4, otherwise it will be deleted and the two line segments connected by the endpoint will be merged.

[0034] refer to Figure 1 , including the following steps:

[0035] Step 1: Obtain the image edge through Sobel edge detection and normalize the Sobel edge, that is, Where E is the edge of the Sobel image;

[0036] Step 2, road width estimation and artificial seed point adjustment; set the initial radius to 1, take the artificial seed point and its 8-domain pixels as the center, generate 9 circles, calculate the image edge accumulation value within each circle, and obtain the minimum accumulated value. If the value is greater than the radius, return the radius value minus 1, otherwise the radius plus 1, move the artificial seed point to the center of the circle with the minimum edge accumulation value, and re-generate 9 circles with the artificial seed point and its 8-domain pixels as the center. Start a new round of calculation according to the above rules; in areas with obvious road features, the algorithm can obtain circles that are tangent to both sides of the road at the same time, and finally adjust the artificial seed point to the center of the road and return the width of the road; after this step, the start and end seed points are adjusted to the center of the road surface; attached Figure 2 The generation of the optimal circle and the drift process of the artificial seed point are shown. (a), (b) and (c) are snapshots of three intermediate templates, where the red cross is the artificial seed point. The blue dot shows the seed movement trajectory, and the red dot represents the artificial seed point after adjustment. (d) shows the relationship between the radius and the edge integral, thus revealing the basis of the stopping criterion, that is, the circular template is stopped from expanding when the integral is greater than the radius.

[0037] Step 3: Calculate the road saliency map; let f be the image intensity, which is a mapping function from a two-dimensional coordinate space to a one-dimensional real space. Where Ω=[0,1] 2 For the image domain, the road saliency map Where c represents the grayscale mean of the image within the optimal circular template at the starting seed point, and ε is a very small real number to prevent the road saliency map from disappearing at certain locations;

[0038] Step 4: Calculate the flexible road center probability map; the calculation formula is: Where K is the Gaussian kernel function, n = r × r, that is, the number of pixels multiplied by the number of surrounding pixels, r is the optimal template radius at the starting seed point, W is the road saliency, a road probability, x i is the i-th pixel coordinate around pixel x; while W in the traditional road center density estimation is a road label, which is either 0 or 1, so the present invention calls P the flexible road center probability density. Compared with the traditional road center probability density, the flexible road center probability density of the present invention does not require road segmentation, solves the problem that the road segmentation threshold is difficult to preset, and also reduces the number of hyperparameters of the algorithm;

[0039] Step 5, define the geodesic; γ is any curve connecting the starting and ending seed points, then the geodesic γ* is the curve with the shortest weighted length among all the curves connecting the two points, that is, where x s ,x e are the starting and ending seed points, respectively, and L(γ) is the weighted path length of the curve γ, that is, Where γ(t) is the coordinate of point t on the curve γ, t∈[0,1], and P is the probability density of the center of the flexible road;

[0040] Step 6, fast generation of geodesic distance field; in order to quickly calculate γ*, different from the inefficiency of extracting geodesics between two points based on the existing fast stepping method, the present invention uses Gauss-Seidel iterative scanning to quickly generate the geodesic distance field U, and then traces the geodesic line backward from the end seed point based on the geodesic distance field U; first initialize each element of U to infinity, and U(x s )=0, where x s is the starting seed point; the update formula of the cost matrix U is defined as follows:

[0041]

[0042] Where C is the cost matrix C = Max(P)-P+ε, a, b are:

[0043]

[0044] For an m×n image, the order of Gauss-Seidel iterative scanning is: (1) i = 1:m, j = 1:n, (2) i = m:1, j = 1:n, (3) i = m:1, j = n:1, (4) i = 1:m, j = n:1;

[0045] Step 7, geodesic extraction; using the greedy algorithm, trace back from the end seed point to the start seed point; let Path = [X e ],x=x e , let U(x') be the smallest geodesic distance in the 8-domain of x, add x' to Path, let x = x', repeat until x = Xs; then the obtained Path is the geodesic between the two points;

[0046] Step 8, multi-polyline fitting; first, segment the extracted geodesic into multiple small segments, each of which is no larger than 10 pixels, and regard the point with the maximum road center probability in each segment as a control point; check each pair of adjacent control points, and if they are too close, delete the control point with the smaller road center probability; if the road center probability of a control point is less than 50% of the average road center probability of all control points, delete the control point. Second, on the vertical line of the line segment, adjust the control point to the position with the maximum road center probability; third, delete the control point if the control point is a singular point, if the angle between the two line segments connected by the control point is less than 150 degrees, and the average vector angle formed by the three control points on the left and right sides of the control point is greater than 150 degrees; note that after the control point is deleted, the two line segments connected by the control point are automatically merged into one line segment; finally, all the remaining control points and artificial seed points are connected in sequence as the final road center line. Figure 3 The polyline endpoints are fine-tuned and filtered. (a) Control point adjustment, PL represents the vertical line, and the probability of the road center at p2′ is the highest. (b) Singular point deletion, θ1<150° and θ1<θ2. (c) and (d) are normal polyline endpoints used to fit sharp turns in the road, where θ1<150° and θ1≥θ2. Figure 4 The results of the multi-polyline fitting test are shown in Figure 1. The blue curve is the initial road centerline, the red and green dots are the control points that are removed and retained, respectively, the blue cross is the adjusted control point, and the red dotted line is the final fitting result. (a) The road is covered by trees, (b) The road is blocked by continuous small gaps, (c) The road color is disturbed by noise, and (d) The sharp turn is properly considered in the polygon fitting. Figure 5 This is the effect of semi-automatic road extraction on a high-resolution satellite image using the method disclosed in the present invention. (a) Original test image, (b) The superposition effect of the road centerline extracted by the method of the present invention and the test image, where the yellow circle is the optimal circular template at each artificial seed point, and the red circle is the extracted road network.

[0047] 1) The road centerline can be fitted with multiple polylines;

[0048] 2) The endpoints of the polyline must be at the local maximum of the flexible road center probability map. The local maximum is searched from the vertical line passing through the endpoint, and the search range is the radius length of the left and right optimal circular template centered on the endpoint;

[0049] 3) The probability of the flexible road center of the endpoint must be greater than 50% of the mean probability of the road center of all endpoints;

[0050] 4) If the polyline angle at a certain endpoint A is less than 150 degrees, and the angle formed by the average vectors of the three endpoints (two line segments) on the left and right sides of the endpoint is greater than the angle of endpoint A, it means that the endpoint is a singular point and the singular point on the polyline needs to be deleted.

Claims

1. A road extraction method based on geodesic distance field and multi-polyline fitting, characterized in that: The invention is based on a road extraction system based on geodesic distance field and multi-fold line fitting, and the road extraction system based on geodesic distance field and multi-fold line fitting includes an artificial seed point adjustment and road width measurement module based on an adaptive circular template, a road saliency map calculation module, a flexible road center probability estimation module, a geodesic distance field fast generation module based on Gauss-Seidel iteration, a geodesic line reverse tracking module based on geodesic distance field and a multi-fold line road center fitting module; and includes the following steps: Step 1: Obtain the image edge through Sobel edge detection and normalize the Sobel edge, that is, Where E is the edge of the Sobel image; Step 2, road width estimation and artificial seed point adjustment; set the initial radius to 1, take the artificial seed point and the pixels in its 8-domain as the center, generate 9 circles, calculate the image edge accumulation value within each circle, and obtain the minimum accumulated value. If the value is greater than the radius, return the radius value minus 1, otherwise the radius plus 1, then move the artificial seed point to the center of the circle with the minimum edge accumulation value, and re-generate 9 circles with the artificial seed point and the pixels in its 8-domain as the center, and start a new round of calculation according to the above rules; in areas with obvious road features, the algorithm can obtain circles that are tangent to both sides of the road at the same time, and finally adjust the artificial seed point to the center of the road and return the width of the road; after this step, both the start and end seed points are adjusted to the center of the road surface; Step 3: Calculate the road saliency map; let f be the image intensity, which is a mapping function from a two-dimensional coordinate space to a one-dimensional real space. Where Ω=[0,1] 2 For the image domain, the road saliency map Where c represents the grayscale mean of the image within the optimal circular template at the starting seed point, and ε represents a real number to prevent the road saliency map from disappearing at certain locations; Step 4: Calculate the flexible road center probability map; the calculation formula is: Where K is the Gaussian kernel function, n = r × r, that is, the number of pixels around pixel x, r is the optimal template radius at the starting seed point, W is the road saliency, a road probability, x i is the i-th pixel coordinate around pixel x; while W in the traditional road center density estimation is the road label, which is either 0 or 1, and P is called the flexible road center probability density; Step 5, define the geodesic; γ is any curve connecting the starting and ending seed points, then the geodesic γ* is the curve with the shortest weighted length among all the curves connecting the two points, that is, where x s ,x e are the starting and ending seed points, respectively, and L(γ) is the weighted path length of the curve γ, that is, Where γ(t) is the coordinate of point t on the curve γ, t∈[0,1], and P is the probability density of the center of the flexible road; Step 6: Rapid generation of geodesic distance field. In order to quickly calculate γ*, the geodesic distance field U is quickly generated using Gauss-Seidel iterative scanning. Then, based on the geodesic distance field U, the geodesic line is traced backward from the end seed point. First, each element of U is initialized to infinity, and U(x s )=0, where x s is the starting seed point; the update formula of the cost matrix U is defined as follows: Where C is the cost matrix C = Max(P)-P+ε, a, b are: For an m×n image, the order of Gauss-Seidel iterative scanning is: (1) i = 1:m, j = 1:n, (2) i = m:1, j = 1:n, (3) i = m:1, j = n:1, (4) i = 1:m, j = n:1; Step 7, geodesic extraction; using the greedy algorithm, trace back from the end seed point to the start seed point; let Path = [X e ],x=x e , let U(x') be the smallest geodesic distance in the 8-domain of x, add x' to Path, let x = x', repeat until x = Xs; then the obtained Path is the geodesic between the two points; Step 8, multi-broken line fitting; first, divide the extracted geodesic into multiple small segments, each of which is no larger than 10 pixels, and regard the point with the maximum road center probability in each segment as a control point; check each pair of adjacent control points, and if they are too close, delete the control point with the smaller road center probability; if the road center probability of a control point is less than 50% of the average road center probability of all control points, delete the control point; second, on the vertical line of the line segment, adjust the control point to the position with the maximum road center probability; third, delete the control point, if the control point is a singular point, then the angle between the two line segments connected by the control point is less than 150 degrees, and the average vector angle formed by the three control points on the left and right sides of the control point is greater than 150 degrees; note that after the control point is deleted, the two line segments connected by the control point are automatically merged into one line segment; finally, all the remaining control points and artificial seed points are connected in sequence as the final road center line.