Layered clustering-based aerial triangulation connection point rapid extraction method and system

The image feature points are merged and clustered through the hierarchical clustering method, which solves the problem of low connection point extraction efficiency in the aerial triangulation system, and achieves the effect of quickly extracting connection points.

CN118898732AActive Publication Date: 2024-11-05WUHAN UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410961945.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-05
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

The existing aerial triangulation system has low computational efficiency when extracting connection points, making it difficult to cope with the measurement area tasks of a large number of images, resulting in slow operation speed.

Method used

The hierarchical clustering method is used to combine the feature points of all images into a set, and the feature points are clustered through hierarchical clustering until the similarity between the feature points reaches the threshold. The feature points are matched into a clustering problem, which improves the extraction efficiency.

Benefits of technology

The efficiency of connection point extraction is significantly improved through the hierarchical clustering method, and the aerial triangulation task of large-scale images can be quickly processed, which improves the system operation speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898732A_ABST
    Figure CN118898732A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of three-dimensional geographic information processing, and relates to a method for clustering feature points of all images by adopting hierarchical clustering so as to realize rapid extraction of image connection points. Firstly, feature points of all images in a detection area are merged into a set; then clustering operation is carried out on the set, and recursive clustering is carried out on each clustering result; and finally, carrying out similarity judgment on the feature points in each cluster, wherein the feature points which are similar enough are the same group of connection points. By means of the method, the feature point matching problem can be converted into the clustering problem, so that connection point extraction is achieved through the mature clustering method, the efficiency of aerial triangulation connection point extraction is improved, and aerial triangulation work of large-scale images is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of three-dimensional geographic information processing and relates to a method for clustering feature points of all images by using hierarchical clustering to achieve rapid extraction of image connection points. The key technologies of this scheme are to use hierarchical clustering instead of matching and the termination conditions of hierarchical clustering. Background Art

[0002] Aerial triangulation is a key step in photogrammetry. It is an important means to restore three-dimensional models from two-dimensional images, obtain digital elevation models and digital orthophotos, and thus perform three-dimensional landscape simulation and realize digital twins. Extracting connection points is a necessary task for aerial triangulation. The speed of extracting connection points greatly affects the operating speed of the aerial triangulation system. In the era of big data, aerial triangulation images are characterized by large numbers, uneven quality, and large temporal and spatial heterogeneity, which puts high demands on the operating speed of the aerial triangulation system. Therefore, it becomes increasingly important to speed up the extraction of connection points.

[0003] The commonly used method for extracting connection points is to measure the similarity of the feature points on one image with other images in turn, so as to determine the connection points of the point on other images and take them as a group, and then perform the same operation on the next feature point. This method is simple to implement, but due to the comparison of the similarity between the feature points of each image, the algorithm is inefficient and time-consuming to execute, and it is difficult to cope with the aerial triangulation task of surveying areas with a large number of images. Summary of the invention

[0004] In view of the shortcomings of current methods for extracting connection points in terms of computational efficiency and time, the present invention proposes a method for fast extraction of connection points from aerial triangulation based on hierarchical clustering. The essence of connection point extraction is to find a set of feature points whose similarity meets the requirements from each image. Therefore, the present invention incorporates the feature points of each image into a set, and then hierarchically clusters this set until the feature points in each class are similar enough, and then uses the feature points in one class as a set of connection points, thus completing the extraction of connection points. Through this method, the problem of feature point matching can be converted into a clustering problem, and the clustering method can be used to realize connection point extraction, thereby improving the efficiency of connection point extraction.

[0005] The technical solution of the present invention is a method for quickly extracting connecting points of aerial triangulation based on hierarchical clustering. First, the feature points of all images in the survey area are merged into a set; then a clustering operation is performed on the set, and recursive clustering is performed on each clustering result; finally, the similarity of the feature points in each cluster is judged, and sufficiently similar feature points are the same group of connecting points.

[0006] The implementation process includes the following steps:

[0007] Step 1: Use feature extraction algorithm to extract and describe feature points of all images in the survey area;

[0008] Step 2: All feature points are grouped into a set as the root node of the clustering tree, and the position information of each feature point on the image is recorded;

[0009] Step 3: Cluster the feature points in the node, and use the clustering results as the child nodes of the node, and repeat this clustering process continuously;

[0010] Step 4, check whether the similarity of the feature points in the child nodes reaches a threshold. If the threshold is reached, the feature points in the child nodes are no longer clustered;

[0011] Step 5: Take the feature points of each leaf node of the clustering tree as a group of connection points, and use the feature point information recorded in step 2 to restore the connection points between images to complete the rapid extraction of connection points.

[0012] Furthermore, the implementation process of step 3 includes the following sub-steps:

[0013] Step 3.1, estimate the number of clusters used in each layer of clustering;

[0014] Step 3.2, using the clustering algorithm, cluster the feature points to be clustered to obtain child nodes;

[0015] Step 3.3, repeat step 3.2, and recursively cluster the child nodes until the child nodes meet the termination condition. When all the child node results do not need to be clustered further, the hierarchical clustering is completed and a clustering tree is obtained.

[0016] Furthermore, the calculation formula used in step 3.1 for the number of clusters is:

[0017]

[0018] Among them, N is the total number of feature points of all images, n is the average number of tie points in a set of tie points, and H is the number of layers required for hierarchical clustering.

[0019] Furthermore, the number of clusters in step 3.1 directly adopts the empirical value.

[0020] Furthermore, step 3.2 specifically includes:

[0021] Step 3.2.1, randomly select a feature point from the feature points as the cluster centroid ci , the clusters corresponding to each centroid are i ;

[0022] Step 3.2.2, each feature point jAssign to the nearest ci Clustering i middle;

[0023] Step 3.2.3, recalculate the cluster centroids based on the new clusters assigned ci :

[0024]

[0025] Among them, x m For cluster X i The feature points in i For cluster X i The cardinality of

[0026] Step 3.2.4, repeat steps 3.2.2 and 3.2.3 until the number of iterations is reached or the change in the centroid is less than the threshold ε:

[0027] ‖Δx ci ‖<ε

[0028] Where Δx ci is the change of cluster centroid between two iterations, and ‖·‖ is the taken norm.

[0029] Furthermore, the implementation process of step 4 includes the following sub-steps:

[0030] Step 4.1: Calculate the maximum distance d between each feature point in the clustering result max , the next largest value d 2ndmax and the third largest value d 3rdmax ;

[0031] Step 4.2: Determine whether the endpoints of the three maximum distances have common feature points. If so, it means that the point may be an outlier or the clustering results have obvious heterogeneity. Clustering needs to be continued and step 4.4 is executed. Otherwise, step 4.3 is executed.

[0032] Step 4.3, calculate whether the similarity of the clustering results meets the requirements. The similarity r is calculated based on the maximum distance d between each feature point. max , the next largest value 2ndmax Calculate, if > a, the clustering results are considered to have consistent similarity and the clustering is terminated, otherwise execute step 4.4;

[0033] Step 4.4, select the maximum value max The two corresponding feature points are used as the initial centroids of clustering, and the remaining centroids are selected randomly and then clustered.

[0034] Furthermore, the calculation formula of similarity r is as follows:

[0035]

[0036] The present invention also provides a system for quickly extracting connection points of aerial triangulation based on hierarchical clustering, comprising the following modules:

[0037] The feature point description module is used to extract and describe the feature points of all images in the survey area using a feature extraction algorithm;

[0038] The information recording module is used to merge all feature points into one set as the root node of the clustering tree and record the position information of each feature point on the image;

[0039] The feature point clustering module is used to cluster the feature points in a node. The clustering result is used as the child node of the node, and the clustering process is repeated continuously.

[0040] The similarity judgment module is used to check whether the similarity of the feature points in the sub-nodes reaches a threshold. If the threshold is reached, the feature points in the sub-nodes will no longer be clustered;

[0041] The connection point extraction module is used to take the feature points of each leaf node of the clustering tree as a group of connection points, and use the recorded feature point information to restore the connection points between images to complete the rapid extraction of connection points.

[0042] Furthermore, the system includes a processor and a memory, the memory is used to store program instructions, and the processor is used to call the stored instructions in the memory to execute the method for fast extraction of aerial triangulation connection points based on hierarchical clustering described in the above scheme.

[0043] Furthermore, the system includes a readable storage medium having a computer program stored thereon. When the computer program is executed, the method for fast extraction of aerial triangulation connection points based on hierarchical clustering as described in the above scheme is implemented.

[0044] Compared with the prior art, the compression scheme of the present invention starts from the essence of connection point extraction and transforms the problem of feature point matching into a clustering problem, thereby realizing connection point extraction using a mature clustering method, improving the efficiency of aerial triangulation connection point extraction and facilitating aerial triangulation of large-scale images. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 This is a processing flow chart of a method for quickly extracting connection points from aerial triangulation according to an embodiment of the present invention;

[0046] Figure 2 This is a schematic diagram of hierarchical clustering according to an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of outliers or cluster heterogeneity according to an embodiment of the present invention;

[0048] Figure 4 Schematic diagram of clustering termination condition judgment according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention provides a method for fast extraction of aerial triangulation connection points based on hierarchical clustering. The core of the method includes three processes: firstly, extracting and describing image feature points and merging them into a set; then hierarchically clustering the set and detecting whether the clustering results meet the similarity requirements; finally, mapping the clustering results back to the image to obtain the connection points.

[0050] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0051] like Figure 1 As shown, the process of the method for fast extraction of aerial triangulation connection points based on hierarchical clustering according to the embodiment of the present invention includes the following steps:

[0052] Step 1: Use a feature extraction algorithm that can perform feature description and similarity measurement, such as SIFT artificial features or neural network learning feature extraction methods, to extract and describe feature points from all images of the survey area.

[0053] Step 2: Classify all feature points into a set as the root node of the clustering tree, and record the location information of each feature point on the image.

[0054] Step 3: Cluster the feature points in the node, and use the clustering results as the child nodes of the node. Figure 2 As shown in the figure, the clustering results of each layer can be further divided into smaller sub-nodes through clustering. The specific steps of step 3 are:

[0055] Step 3.1, estimate the number of clusters used in each layer of clustering (or directly use the empirical value k = 10). The calculation formula is as follows

[0056]

[0057] Among them, N is the total number of feature points of all images, n is the average number of tie points in a set of tie points, and H is the number of layers required for hierarchical clustering.

[0058] Step 3.2: cluster the feature points to be clustered using a clustering algorithm to obtain child nodes. The specific steps include:

[0059] Step 3.2.1, randomly select a feature point from the feature points as the cluster centroid ci , the clusters corresponding to each centroid are i ;

[0060] Step 3.2.2, each feature point jAssign to the nearest ci Clustering i middle;

[0061] Step 3.2.3, recalculate the cluster centroids based on the new clusters assigned ci :

[0062]

[0063] Among them, x m For cluster X i The feature points in i For cluster X i The cardinality (number of elements) of

[0064] Step 3.2.4, repeat steps 3.2.2 and 3.2.3 until the number of iterations is reached or the change in the centroid is less than the threshold ε:

[0065] ‖Δx ci ‖<ε

[0066] Where Δx ci is the change of cluster centroid between two iterations, and ‖·‖ is the taken norm.

[0067] Step 3.3, repeat step 3.2, and recursively cluster the child nodes until the child nodes meet the termination condition in step 4. When all the child node results do not need to be clustered further, the hierarchical clustering is completed and a clustering tree is obtained.

[0068] Step 4: Check whether the similarity of feature points in the child nodes meets the requirements. Figure 3 Figure 4 As shown, if the requirements are met, the feature points in the child nodes will no longer be clustered. The specific steps include:

[0069] Step 4.1: Calculate the maximum distance d between each feature point in the clustering result max , the next largest value d 2ndmax and the third largest value d 3rdmax ;

[0070] Step 4.2: Determine whether the endpoints of the three maximum distances have common feature points. If so, it means that the point may be an outlier or the clustering results have obvious heterogeneity. Clustering needs to be continued and step 4.4 is executed. Otherwise, step 4.3 is executed.

[0071] Step 4.3, calculate whether the similarity of the clustering results meets the requirements, the calculation formula is as follows:

[0072]

[0073] When > 0.7, the clustering results are considered to have consistent similarity and clustering can be terminated, otherwise, step 4.4 is executed;

[0074] Step 4.4, select the maximum value max The two corresponding feature points are used as the initial centroids of clustering, and the remaining centroids are selected randomly and then clustered.

[0075] Step 5: Take the feature points of each leaf node of the clustering tree as a group of connection points, and use the feature point information recorded in step 2 to restore them to the connection points between the images.

[0076] In specific implementation, the method proposed in the technical solution of the present invention can be implemented by technical personnel in this field using computer software technology to realize automatic operation process. System devices for implementing the method, such as computer-readable storage media storing the corresponding computer program of the technical solution of the present invention and computer equipment running the corresponding computer program, should also be within the scope of protection of the present invention.

[0077] In some possible embodiments, a system for fast extraction of aerial triangulation connection points based on hierarchical clustering is provided, comprising the following modules:

[0078] The feature point description module is used to extract and describe the feature points of all images in the survey area using a feature extraction algorithm;

[0079] The information recording module is used to merge all feature points into one set as the root node of the clustering tree and record the position information of each feature point on the image;

[0080] The feature point clustering module is used to cluster the feature points in a node. The clustering result is used as the child node of the node, and the clustering process is repeated continuously.

[0081] The similarity judgment module is used to check whether the similarity of the feature points in the sub-nodes reaches a threshold. If the threshold is reached, the feature points in the sub-nodes will no longer be clustered;

[0082] The connection point extraction module is used to take the feature points of each leaf node of the clustering tree as a group of connection points, and use the recorded feature point information to restore the connection points between images to complete the rapid extraction of connection points.

[0083] The specific implementation methods and steps of each module are the same and will not be described in detail in the present invention.

[0084] In some possible embodiments, a system for fast extraction of aerial triangulation tie points based on hierarchical clustering is provided, including a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the stored instructions in the memory to execute a method for fast extraction of aerial triangulation tie points based on hierarchical clustering as described above.

[0085] In some possible embodiments, a system for quickly extracting aerial triangulation tie points based on hierarchical clustering is provided, including a readable storage medium on which a computer program is stored. When the computer program is executed, a method for quickly extracting aerial triangulation tie points based on hierarchical clustering as described above is implemented.

[0086] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.

Claims

1. A fast extraction method of aerial triangulation connection points based on hierarchical clustering, characterized in that: The following steps are included: Step 1: Use feature extraction algorithm to extract and describe feature points of all images in the survey area; Step 2: All feature points are grouped into a set as the root node of the clustering tree, and the position information of each feature point on the image is recorded; Step 3: Cluster the feature points in the node, and use the clustering results as the child nodes of the node, and repeat this clustering process continuously; Step 4, check whether the similarity of the feature points in the child nodes reaches a threshold. If the threshold is reached, the feature points in the child nodes are no longer clustered; Step 5: Take the feature points of each leaf node of the clustering tree as a group of connection points, and use the feature point information recorded in step 2 to restore the connection points between images to complete the rapid extraction of connection points.

2. The method for rapidly extracting tie points from aerial triangulation based on hierarchical clustering as claimed in claim 1, characterized in that: The implementation process of step 3 includes the following sub-steps: Step 3.1, estimate the number of clusters k used in each layer of clustering; Step 3.2, using the clustering algorithm, cluster the feature points to be clustered to obtain child nodes; Step 3.3, repeat step 3.2, and recursively cluster the child nodes until the child nodes meet the termination condition. When all the child node results do not need to be clustered further, the hierarchical clustering is completed and a clustering tree is obtained.

3. The method for rapidly extracting tie points from aerial triangulation based on hierarchical clustering as claimed in claim 2, characterized in that: The calculation formula for the number of clusters k in step 3.1 is: Among them, N is the total number of feature points of all images, n is the average number of tie points in a set of tie points, and H is the number of layers required for hierarchical clustering.

4. The method for rapidly extracting tie points from aerial triangulation based on hierarchical clustering as claimed in claim 2, characterized in that: In step 3.1, the number of clusters k directly adopts the empirical value.

5. The method for rapidly extracting tie points from aerial triangulation based on hierarchical clustering as claimed in claim 2, characterized in that: Step 3.2 specifically includes: Step 3.2.1, randomly select k feature points from the feature points as the cluster centroid x ci , the cluster corresponding to each centroid is X i ; Step 3.2.2, each feature point x j Assign to the closest x ci Cluster X i middle; Step 3.2.3, recalculate the cluster centroid x according to the new cluster assigned ci : Among them, x m For cluster X i The feature points in i For cluster X i The cardinality of Step 3.2.4, repeat steps 3.2.2 and 3.2.3 until the number of iterations is reached or the change in the centroid is less than the threshold ε: ‖Δx ci ‖<ε Where Δx ci is the change of cluster centroid between two iterations, and ‖·‖ is the taken norm.

6. The method for rapidly extracting tie points from aerial triangulation based on hierarchical clustering as claimed in claim 1, characterized in that: Step 4 implementation process includes the following sub-steps, Step 4.1: Calculate the maximum distance d between each feature point in the clustering result max , the next largest value d 2ndmax and the third largest value d 3rdmax ; Step 4.2: Determine whether the endpoints of the three maximum distances have common feature points. If so, it means that the point may be an outlier or the clustering results have obvious heterogeneity. Clustering needs to be continued and step 4.4 is executed. Otherwise, step 4.3 is executed. Step 4.3, calculate whether the similarity of the clustering results meets the requirements. The similarity r is calculated based on the maximum distance d between each feature point. max , the next largest value d 2ndmax Calculate, when r>a, the clustering results are considered to have consistent similarity, and the clustering is terminated, otherwise, execute step 4.4; Step 4.4, select the maximum value d max The two corresponding feature points are used as the initial centroids of clustering, and the remaining centroids are selected randomly and then clustered.

7. The method for rapidly extracting tie points from aerial triangulation based on hierarchical clustering as claimed in claim 6, characterized in that: The calculation formula of similarity r is as follows:

8. A fast extraction system of aerial triangulation connection points based on hierarchical clustering, characterized by: Includes the following modules: The feature point description module is used to extract and describe the feature points of all images in the survey area using a feature extraction algorithm; The information recording module is used to merge all feature points into one set as the root node of the clustering tree and record the position information of each feature point on the image; The feature point clustering module is used to cluster the feature points in a node. The clustering result is used as the child node of the node, and the clustering process is repeated continuously. The similarity judgment module is used to check whether the similarity of the feature points in the sub-nodes reaches a threshold. If the threshold is reached, the feature points in the sub-nodes will no longer be clustered; The connection point extraction module is used to take the feature points of each leaf node of the clustering tree as a group of connection points, and use the recorded feature point information to restore the connection points between images to complete the rapid extraction of connection points.

9. The system for rapidly extracting tie points from aerial triangulation based on hierarchical clustering as claimed in claim 8, characterized in that: The invention comprises a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the stored instructions in the memory to execute the method for fast extraction of aerial triangulation connection points based on hierarchical clustering as described in any one of claims 1 to 7.

10. The system for rapidly extracting tie points from aerial triangulation based on hierarchical clustering according to claim 8, characterized in that: It comprises a readable storage medium, on which a computer program is stored. When the computer program is executed, the method for quickly extracting aerial triangulation connection points based on hierarchical clustering as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Quick low altitude remote sensing image automatic matching and airborne triangulation method

    CN101126639A

  • Unmanned aerial vehicle image matching pair selection method and system based on vocabulary tree retrieval

    CN110458175A

  • Unmanned aerial vehicle inclined image feature matching method guided by vocabulary tree

    CN111144239A

  • Identification method and device for automatically tracking and positioning fire source point based on machine vision

    CN111738082A

  • Tunnel worker abnormal behavior detection method and system based on machine vision

    CN116311497A