A point cloud intelligent sampling method and device based on feature map

Through the intelligent point cloud sampling method based on feature maps, combined with the knowledge map and deep information extraction of linear engineering, the problems of information loss and resource waste in 3D laser scanning technology are solved, and efficient data processing and display efficiency are improved.

CN118411477BActive Publication Date: 2024-09-20WUHAN HANNING TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410846588.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-20
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing 3D laser scanning technology fails to optimize based on the measurement purpose when processing linear engineering measurements, resulting in information loss and waste of computing resources, and cannot fully utilize the experience of domain experts.

Method used

Using an intelligent point cloud sampling method based on feature maps, through original data preprocessing, information extraction, deep information extraction, key monitoring target extraction, coreference resolution processing, targeted sampling and parameter evaluation, a knowledge map is established to evaluate the characteristics of different areas. importance and perform point cloud downsampling to highlight key areas or targets.

Benefits of technology

It achieves the reduction of redundant data, retains the details of key monitoring targets, reduces data storage space overhead and loading time, improves display efficiency, and makes full use of the semantic information of multi-source heterogeneous data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118411477B
    Figure CN118411477B
Patent Text Reader

Abstract

The present invention discloses a point cloud intelligent sampling method and device based on feature graph, comprising: extracting entity relationships from preprocessed data and generating a preliminary knowledge graph; extracting the center line of a linear target through cross-section fitting; associating an image with point cloud data using mileage, grayscale, and depth mapping association methods; calculating the feature matching relationship between the image and the point cloud projection grayscale and depth map, and fusing the point cloud and image data; extracting attribute parameters of key monitoring targets and association information between targets; merging the same entity; updating the knowledge graph, establishing the importance relationship of linear engineering entities, and evaluating the point cloud downsampling means and parameters of different importance areas; using a suitable point cloud downsampling strategy for each area or target of the model; reducing the space overhead during data storage, using different downsampling strategies for different targets according to the evaluation results, reducing redundant data, and retaining the details of key monitoring targets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of laser engineering measurement and mapping, and in particular to an intelligent sampling method for linear engineering point clouds based on feature spectra. Background Art

[0002] The main purposes of linear engineering surveying and mapping include disease detection, 3D modeling, smart construction site construction, etc., involving the entire life cycle of engineering design, construction, completion and operation and maintenance. During the measurement process, the detection and monitoring targets should be retained and displayed, and no matter whether it is a road, railway or tunnel, its data has the same structure and texture characteristics most of the time, and the same texture characteristics can be optimized.

[0003] 3D laser scanning technology has the characteristics of high resolution, high density, massive and disordered, and has been widely used in the field of linear engineering surveying and mapping. For general linear projects, such as tunnels, roads, and railways, the inspection mileage is very long. Regardless of the carrier used to carry the laser scanning equipment, the point cloud scale of a 500-meter linear project is greater than 100 million points. Massive data causes the point cloud to be slow in storage and reading, slow in loading when displayed, and high in computer performance requirements. Existing technologies often face the problem of inefficiency when processing such a large amount of point cloud data. Whether it is reading, rendering or analyzing data, it takes a lot of time and computing resources. This seriously affects the progress and efficiency of engineering projects.

[0004] The existing data compression and efficient display methods generally start from improving computer computing efficiency, optimizing loading order, and limiting the number of point clouds on the screen. They are often performed on the overall data without considering the importance differences of different areas and different targets in linear engineering. Optimization combined with measurement purposes is not considered. This may result in the loss of important information or the retention of a large amount of useless information during the compression process.

[0005] Furthermore, traditional point cloud processing methods often only focus on the geometric features of the data itself, while ignoring the expertise in the field of linear engineering. This results in the inability to fully utilize the experience and knowledge of domain experts during data processing. Summary of the invention

[0006] The present invention aims to solve the problem that the existing three-dimensional laser scanning technology for general linear engineering measurement does not consider optimization in combination with the measurement purpose, loses important information and cannot fully utilize the experience and knowledge of experts in the field.

[0007] The present invention adopts the following scheme:

[0008] The present invention provides a point cloud intelligent sampling method based on feature maps, comprising the following steps:

[0009] S10, raw data preprocessing: preprocessing the input raw data including point cloud data and image data;

[0010] S20, original information extraction: construct original knowledge entities containing target information from preprocessed data, determine entity boundaries and entity types, extract entity relationships, and generate a preliminary knowledge graph;

[0011] S30, deep information extraction: extract the centerline of linear targets through cross-section fitting ; Use mileage, grayscale, and depth mapping association methods to associate images with point cloud data; establish image feature pyramid histograms, use SIFT operators to match feature points, calculate the feature matching relationship between image and point cloud projection grayscale and depth maps, and fuse point cloud and image data.

[0012] S40, key monitoring target extraction: Use target detection and machine learning methods to extract key monitoring targets in linear engineering, and Establish location association based on mileage, extract key monitoring target attribute parameters and association information between targets;

[0013] S50, co-reference resolution processing, merging the same entity in the fused data to eliminate the entity co-reference problem;

[0014] S60, targeted sampling and parameter evaluation, updates the knowledge graph based on the data and knowledge after fusion, key monitoring target extraction and digestion, establishes the importance relationship of linear engineering entities, and evaluates the sampling methods and parameters of point clouds in different importance areas;

[0015] S70, point cloud downsampling: Based on the evaluation results, establish the sampling area range of the current linear engineering point cloud grid division model, use appropriate point cloud downsampling strategies for each area or target of the model, highlight key areas or targets, and weaken non-key areas or targets.

[0016] Furthermore, the method of stitching images using the sensor calibration parameters in step S10 is as follows: the images along the advancing direction of the sensor carrier need to be stitched through the overlapping area, while the images perpendicular to the advancing direction of the carrier can be stitched through the calibrated sensor parameters. With images There are pixel deviation, where is the pixel value of the overlapping area, is the pixel size, is the number of pixels, is a non-integer deviation.

[0017] Furthermore, the target information in step S20 includes the number of points, acquisition time, acquisition location, acquisition equipment, equipment parameters, measurement target, measurement angular resolution and measurement distance resolution in the point cloud data; it also includes the image number, acquisition time, acquisition location, acquisition equipment, equipment parameters and image resolution in the image data, and also includes the knowledge of other sensors including encoder mileage, inertial navigation attitude angle, and measurement position of the global satellite navigation system.

[0018] Furthermore, in step SS30, the center line of the linear target is extracted by cross-section fitting. The method is,

[0019] To extract the deep features of key detection and monitoring targets from point clouds and images, it is necessary to match the original point cloud data with the image data; fit the cross-sectional shape according to the type of linear engineering to achieve the objective function The minimization of is the fitting parameter; after fitting the cross section, calculate the symmetry center of a series of cross sections The discrete line composed of this series of symmetric centers is the center line of linear engineering. .

[0020] Furthermore, when the cross-sectional shape is an elliptical tunnel cross-section, the center line The method to obtain it is as follows:

[0021] ,

[0022] In the formula is the number of points involved in the fitting, and is the point coordinate after the tunnel section is projected. The parameter is calculated as follows:

[0023] ,

[0024] ,

[0025] ,

[0026] ,

[0027] ,

[0028] In the formula and is the center coordinate of the fitted elliptical tunnel section, and are the major and minor semi-axis parameters of the ellipse, is the rotation angle of the ellipse's main axis relative to the X axis. After fitting the cross section, calculate the symmetry center of a series of cross sections. The discrete line composed of this series of symmetric centers is the center line of linear engineering. .

[0029] Furthermore, in step S30, the method of associating the image with the point cloud data using the mileage, grayscale, and depth mapping association method is: image coordinates Relationship with mileage Angle with image express, ; Image grayscale Point cloud intensity The mapping relationship is ,in and is the corresponding minimum and maximum intensity; image depth Distance from point cloud to center line The mapping relationship is ,in and are the corresponding minimum and maximum distances, and ,After the above association, the point cloud projection grayscale ,depth map corresponding to the image is generated.

[0030] Furthermore, in step S30, the image feature pyramid histogram is established, the SIFT operator is used to match feature points, and the feature matching relationship between the image and the point cloud projection grayscale and depth map is calculated as follows: assuming that the local feature ,in They are the distance features of the X-axis and Y-axis respectively. is the scale feature, obtaining the Local feature statistics , eliminating errors exceeding 3 times The characteristics of , calculate the matching relationship of the remaining features; use bilinear interpolation to get the new coordinates of the matched image , the new coordinates are calculated using the following formula ,in , , , are the pixel values ​​of the four corners of the image before interpolation, , , , They are the corresponding coordinate values, which realize the fusion of image and point cloud projection grayscale and depth map to obtain a measurable image.

[0031] Furthermore, the method of extracting key monitoring targets in linear engineering using target detection and machine learning methods in step S40 is: using a joint detection method based on an improved Cascade R-CNN network, an improved U-Net network and a PointNet++ network to obtain key monitoring targets of linear engineering; for disease detection tasks, key monitoring targets include road surface cracks, potholes, and crazing, tunnel water leakage, cracks, falling blocks and deformation; for regional monitoring tasks, key monitoring targets include tunnel structures, track structures and fastener structures.

[0032] Furthermore, the specific method of step S50 is:

[0033] Find adjacent key monitoring targets Corresponding mileage information , calculate its corresponding position in the image, combine the mileage information with the key detection target's own attribute information, evaluate whether they belong to the same entity through mileage matching and connected domain judgment, merge the same entity, and realize the elimination of co-referring targets.

[0034] Furthermore, the specific method of step S60 is: updating the preliminary knowledge graph in step S20, combining the entity relationships of the updated knowledge graph with the expert experience, and performing Scoring, and determining monitoring areas or targets of different importance based on their scores Point cloud downsampling method and the downsampling degree parameter.

[0035] Furthermore, the point cloud downsampling means in step S60 include voxel downsampling, uniform sampling, geometric sampling and random downsampling; voxel downsampling can maintain the spatial characteristics of the original point cloud and use a small number of points to replace the original large number of points, but it is not suitable for targets that need to retain boundaries; uniform downsampling selects the center point in the space to replace all points to ensure that the downsampled points will not move, but it is easy to cause edge blur; geometric sampling is based on the local attribute values ​​of the target to ensure that the sampled point cloud is still uniform; random downsampling can ensure that the sampling points do not move and is used for non-target downsampling.

[0036] As another aspect of the present invention, it also relates to a point cloud intelligent sampling device based on a feature map, comprising:

[0037] Raw data preprocessing unit: used to preprocess the input raw data including point cloud data and image data;

[0038] Original information extraction unit: used to construct original knowledge entities containing target information from preprocessed data, determine entity boundaries and entity types, extract entity relationships, and generate a preliminary knowledge graph;

[0039] Deep information extraction unit: used to extract the center line of linear targets through cross-section fitting ; Use mileage, grayscale, and depth mapping association methods to associate images with point cloud data; establish image feature pyramid histograms, use SIFT operators to match feature points, calculate feature matching relationships between image and point cloud projection grayscale and depth maps, and fuse point cloud and image data;

[0040] Key monitoring target extraction unit: used to extract key monitoring targets in linear engineering using target detection and machine learning methods, and Establish location association based on mileage, extract key monitoring target attribute parameters and association information between targets;

[0041] Co-reference resolution processing unit: used to merge the same entity in the fused data to eliminate the entity co-reference problem;

[0042] Targeted sampling and parameter evaluation unit: used to update the knowledge graph based on the data and knowledge extracted and digested by fusion, key monitoring targets, establish the importance relationship of linear engineering entities, and evaluate the sampling methods and parameters of point clouds in different important areas;

[0043] Point cloud downsampling unit: used to establish the sampling area range of the current linear engineering point cloud grid division model based on the evaluation results, use appropriate point cloud downsampling strategies for each area or target of the model, highlight key areas or targets, and weaken non-key areas or targets.

[0044] As another aspect of the present invention, it also relates to an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned feature map-based point cloud intelligent sampling method is implemented.

[0045] As another aspect of the present invention, it also relates to a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned feature map-based point cloud intelligent sampling method is implemented.

[0046] Compared with the prior art, the present invention has the following effects:

[0047] (1) The feature graph-based point cloud intelligent sampling method and device of the present invention, by establishing a surface-deep knowledge graph of linear engineering multi-sensors and multi-monitoring targets associated with mileage, evaluates the importance of data in different nodes in the octree, and uses different downsampling strategies for different targets according to the evaluation results, thereby reducing redundant data and retaining the details of key monitoring targets.

[0048] (2) The feature graph-based point cloud intelligent sampling method and device of the present invention realizes the location determination of the data collected by each sensor and the key monitoring target through the method of associating with the center line, and uses the knowledge graph to express different entities and their relationships, thereby reducing the space overhead during data storage. At the same time, it reduces the amount of data when loading large-scale point clouds without reducing the amount of information, thereby improving display efficiency.

[0049] (3) The feature graph-based point cloud intelligent sampling method and device of the present invention adopts the technical means of constructing a knowledge graph in stages, achieving the technical effect of making full use of multi-source heterogeneous data and deeply mining data semantic information, laying the foundation for intelligent sampling. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a schematic diagram of the overall process of a preferred embodiment of the present invention;

[0051] Figure 2 A schematic diagram of a data processing flow of a preferred embodiment of the present invention;

[0052] Figure 3 A schematic diagram of an image feature pyramid histogram according to a preferred embodiment of the present invention; DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0054] Please refer to Figure 1-Figure 2 The embodiment of the present invention provides a point cloud intelligent sampling method based on feature maps, comprising the following steps:

[0055] S10, raw data preprocessing: preprocessing the input raw data including point cloud data and image data, specifically including using statistical filtering to remove outliers, through filtering to filter non-target point cloud ranges, and using sensor calibration parameters to stitch images;

[0056] Among them, the method of removing discrete points using statistical filtering is: for point cloud Each point in , calculate the nearest The average distance of points If the point cloud is far away from other clusters and is an isolated discrete point, it can be judged by calculating the standard deviation of the distance. , if point The standard deviation of is significantly greater than the standard deviation of other points, then the point It is a discrete point and needs to be removed;

[0057] The method of using straight-through filtering to filter the non-target point cloud range is as follows: the straight-through filter obtains the target range, and the point cloud after removing the discrete points still contains a large number of non-target point clouds that need to be removed. , calculate the range of its direct filter bounding box , , , retain the point cloud within the bounding box.

[0058] The method of stitching images using sensor calibration parameters is as follows: images along the direction of the sensor carrier need to be stitched through overlapping areas, while images perpendicular to the direction of the carrier can be stitched through the calibrated sensor parameters. With images There are pixel deviation, where is the pixel value of the overlapping area, is the pixel size, is the number of pixels, is a non-integer deviation.

[0059] S20, extraction of original information: construct original knowledge entities containing target information from preprocessed data, determine entity boundaries and entity types, and the associations between entities. Use semi-supervised learning methods to extract entity relationships and generate a preliminary knowledge graph; the target information includes the number of points in the point cloud data, acquisition time, acquisition location, acquisition equipment, equipment parameters, measurement targets, measurement angular resolution, and measurement distance resolution; it also includes the image number, acquisition time, acquisition location, acquisition equipment, equipment parameters, and image resolution in the image data, as well as knowledge of other sensors including encoder mileage, inertial navigation attitude angle, and measurement position of the global satellite navigation system.

[0060] Point cloud is unstructured data, and the relationship between features is structured. When mixed storage is used, it can be stored in a structure such as resource description framework RDF or Neo4j. For knowledge graphs, graph databases are more flexible than relational databases, especially when performing 2nd and 3rd degree association queries.

[0061] In terms of architecture, the logical architecture adopted by the knowledge graph is determined. The model layer is constructed in a similar way as entity-relationship-entity and entity-attribute-value. It is the core of the knowledge graph. An ontology library is usually used to manage the model layer of the knowledge graph. Ontology is a conceptual template of a structured knowledge base. The knowledge base formed by the ontology library not only has a strong hierarchical structure, but also has a low degree of redundancy. The data layer is mainly composed of a series of facts, and knowledge will be stored in units of facts. If a triple such as (entity 1, relationship, entity 2) and (entity, attribute, attribute value) is used to express facts, a graph database can be selected as the storage medium.

[0062] Information extraction is divided into entity extraction, relationship extraction and attribute extraction. The point cloud data of different engineering measurement scenarios is an entity. There may be a relationship between entities, such as point clouds obtained at different locations for the same scene, or there may be no relationship, such as airborne point clouds and ground scanning point clouds. If all point clouds are converted to the geodetic coordinate system, all point cloud entities have the same coordinate reference. This step is the relationship extraction between entities. After relationship extraction, the attributes of multiple entities need to be summarized, including: defects in tunnel point clouds, defects in track point clouds, building tops in airborne point clouds, poles and towers, and other main targets for different application scenarios.

[0063] Through information extraction, entities, relationships, and entity attribute information are obtained from the original unstructured and semi-structured data. Entity linking refers to the operation of linking the extracted entity object to the corresponding correct entity object in the knowledge base. After confirming the corresponding correct entity object in the knowledge base, the entity referent (entity) is linked to the corresponding entity in the knowledge base.

[0064] S30, deep information extraction: extract the centerline of linear targets through cross-section fitting ; Use mileage, grayscale, and depth mapping association methods to associate images with point cloud data; establish image feature pyramid histograms, use SIFT operators to match feature points, calculate feature matching relationships between image and point cloud projection grayscale and depth maps, and fuse point cloud and image data;

[0065] Specifically, the center line of the linear target is extracted through cross-section fitting The method is,

[0066] To extract the deep features of key detection and monitoring targets from point clouds and images, it is necessary to match the original point cloud data with the image data; fit the cross-sectional shape according to the type of linear engineering to achieve the objective function The minimization of is the fitting parameter; after fitting the cross section, calculate the symmetry center of a series of cross sections The discrete line composed of this series of symmetric centers is the center line of linear engineering. .

[0067] Take the elliptical tunnel section as an example:

[0068] ,

[0069] In the formula is the number of points involved in the fitting, and is the point coordinate after the tunnel section is projected. The parameter is calculated as follows:

[0070] ,

[0071] ,

[0072] ,

[0073] ,

[0074] ,

[0075] In the formula and is the center coordinate of the fitted elliptical tunnel section, and are the major and minor semi-axis parameters of the ellipse, is the rotation angle of the ellipse's main axis relative to the X axis. After fitting the cross section, calculate the symmetry center of a series of cross sections. The discrete line composed of this series of symmetric centers is the center line of linear engineering. .

[0076] Among them, as a preferred solution, the method of associating images and point cloud data using mileage, grayscale, and depth mapping association methods is as follows: image coordinates Relationship with mileage Angle with image express, ; Image grayscale Point cloud intensity The mapping relationship is ,in and is the corresponding minimum and maximum intensity; image depth Distance from point cloud to center line The mapping relationship is ,in and are the corresponding minimum and maximum distances, and ,After the above association, the point cloud projection grayscale ,depth map corresponding to the image is generated.

[0077] Please refer to Figure 3 As a preferred solution, the image feature pyramid histogram is established, the SIFT operator is used to match feature points, and the feature matching relationship between the image and the point cloud projection grayscale and depth map is calculated as follows: Assume that the local feature ,in They are the distance features of the X-axis and Y-axis respectively. is the scale feature, obtaining the Local feature statistics , eliminating errors exceeding 3 times The characteristics of , calculate the matching relationship of the remaining features; use bilinear interpolation to get the new coordinates of the matched image , the new coordinate calculation method is: ,in , , , are the pixel values ​​of the four corners of the image before interpolation, , , , They are the corresponding coordinate values, which realize the fusion of high-resolution image and point cloud projection grayscale and depth map to obtain a measurable high-resolution image.

[0078] S40, extraction of key monitoring targets: The fused data has both direct measurability of point clouds and high resolution of images. It uses target detection and machine learning methods to extract key monitoring targets in linear engineering and select the target based on the distance from the center line. Establish location association based on mileage, extract key monitoring target attribute parameters and association information between targets;

[0079] The method of extracting key monitoring targets in linear engineering by using target detection and machine learning methods in step S40 is: using a joint detection method based on an improved Cascade R-CNN network, an improved U-Net network and a PointNet++ network (this method is a prior art, so it is not described in detail) to obtain key monitoring targets of linear engineering; for disease detection tasks, key monitoring targets include road cracks, potholes, chapped surfaces, tunnel leakage, cracks, falling blocks and deformation; for regional monitoring tasks, key monitoring targets include tunnel structures, track structures and fastener structures.

[0080] S50, co-reference elimination processing, merge the same entities in the fused data to eliminate the entity co-reference problem; the specific method is: find adjacent key monitoring targets Corresponding mileage information , calculate its corresponding position in the image, combine the mileage information with the key detection target's own attribute information, evaluate whether they belong to the same entity through mileage matching and connected domain judgment, merge the same entity, and realize the elimination of co-referring targets.

[0081] S60, targeted sampling and parameter evaluation, updates the knowledge graph based on the data and knowledge after fusion, key monitoring target extraction and digestion, establishes the importance relationship of linear engineering entities, and evaluates the sampling methods and parameters of point clouds in different importance areas;

[0082] The specific method is: update the preliminary knowledge graph in step S20, combine the entity relationships of the updated knowledge graph with the expert experience, and Scoring, and determining monitoring areas or targets of different importance based on their scores Point cloud downsampling method and the downsampling degree parameter.

[0083] Among them, point cloud downsampling methods include voxel downsampling, uniform sampling, geometric sampling and random downsampling; voxel downsampling can maintain the spatial characteristics of the original point cloud and use a small number of points to replace the original large number of points, but it is not suitable for targets that need to retain boundaries; uniform downsampling selects the center point in the space to replace all points to ensure that the downsampled points will not move, but it is easy to cause edge blur; geometric sampling is based on the local attribute values ​​of the target (such as curvature, normal vector angle and other parameters) to ensure that the sampled point cloud is still uniform and retains details to a certain extent; random downsampling can ensure that the sampling points do not move and is used for non-target downsampling.

[0084] S70, point cloud downsampling: Based on the evaluation results, the sampling area range of the current linear engineering point cloud grid division model is established based on the octree, and the appropriate point cloud downsampling strategy is used for each node area or target of the model to highlight the key areas or targets and weaken the non-key areas or targets.

[0085] According to the features and disease attributes inferred by the knowledge graph, the target location that needs to be highlighted in the point cloud entity can be uniquely determined. A criticality table of different features and diseases is established. Different features and diseases require different degrees of refinement, so downsampling can be performed according to the degree of refinement.

[0086] For fine defects with very small areas such as cracks and water leakage, downsampling may not be performed, and even interpolation methods can be used in combination with image data for upsampling. For slightly larger defects such as fallen blocks, ultra-fine grid downsampling may be performed according to their severity, or not at all. For areas with large deformations, the edges may not be used, or even upsampling may be performed, while non-edge structures may be downsampled. For areas without defects, large grid downsampling may be performed according to the degree of refinement to be displayed.

[0087] In some other preferred embodiments, knowledge reasoning technology can also be used to complete further knowledge discovery. For example, if A is an airborne point cloud, and most of the targets in its flight path are rural houses and fields, then the data scanned at the same location and in the same batch are likely to contain these data; if B is a tunnel point cloud, C is a point cloud containing a block drop defect, and D is a point cloud ring within the mileage range of the tunnel point cloud, then we can assume that D belongs to B, and D may be caused by C.

[0088] By building a knowledge graph and combining artificial experience to infer the severity of each monitoring target, we can determine whether the point cloud of the current resolution can reasonably represent the target, and then achieve sampling of the target. For feature targets with knowledge, the efficiency of display, viewing, retrieval, and analysis can be improved, and correlation analysis can be performed on various types of diseases to infer their characteristics.

[0089] In some other preferred embodiments, the relationship between various structures in the point cloud can also be updated in a timely manner based on the results of multiple scans at different times, combined with the provisions of national standards and international standards on characteristics such as defects. This involves the update of the concept layer and the update of the data layer. The former mainly re-establishes the relationship between each defect entity and the point cloud entity based on the changes in national standards, and the latter simply updates each point cloud entity and defect entity.

[0090] As another aspect of the present invention, it also relates to a point cloud intelligent sampling device based on a feature map, comprising:

[0091] Raw data preprocessing unit: Point cloud data preprocessing: Use statistical filtering and pass-through filtering to remove discrete points in the original point cloud and extract the point cloud containing the target; Image data preprocessing: Use image sensor calibration parameters to calculate the spliced ​​image perpendicular to the moving direction of the moving carrier;

[0092] Raw information extraction unit: extracts knowledge from various sensors including raw point clouds, images, encoders, and inertial navigation units, extracts the relationships between entities, and preliminarily builds a graph containing the above knowledge;

[0093] Deep information extraction unit: According to the extracted linear engineering centerline, the point cloud projection grayscale image, depth map and original high-resolution image are associated, and the images are fused and registered to obtain a high-resolution image that can be directly measured;

[0094] Key monitoring target extraction unit: uses a combination of target detection, machine learning and deep learning to extract key targets from the generated high-resolution images;

[0095] Co-reference resolution processing unit: Combine the mileage information associated with the key monitoring targets, use the connected domain judgment method to determine whether similar targets are the same, and merge similar targets;

[0096] Targeted sampling and parameter evaluation unit: Combine the entity relationships of the existing knowledge graph with expert experience to determine the sampling methods and sampling parameters for different targets;

[0097] Point cloud downsampling unit: Use downsampling methods of different types and parameters for areas of different importance to compress point cloud data and improve display and rendering efficiency.

[0098] As another aspect of the present invention, it also relates to an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned feature map-based point cloud intelligent sampling method is implemented.

[0099] As another aspect of the present invention, it also relates to a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned feature map-based point cloud intelligent sampling method is implemented.

[0100] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A point cloud intelligent sampling method based on feature maps, characterized in that: The steps include: S10, raw data preprocessing: preprocessing the input raw data including point cloud data and image data; S20, original information extraction: construct original knowledge entities containing target information from preprocessed data, determine entity boundaries and entity types, extract entity relationships, and generate a preliminary knowledge graph; S30, deep information extraction: extract the center line of linear targets through cross-section fitting ; Use mileage, grayscale, and depth mapping association methods to associate images with point cloud data; establish image feature pyramid histograms, use SIFT operators to match feature points, calculate feature matching relationships between image and point cloud projection grayscale and depth maps, and fuse point cloud and image data; S40, key monitoring target extraction: Use target detection and machine learning methods to extract key monitoring targets in linear engineering, and Establish location association based on mileage, extract key monitoring target attribute parameters and association information between targets; S50, co-reference resolution processing, merging the same entity in the fused data to eliminate the entity co-reference problem; S60, targeted sampling and parameter evaluation, based on the data and knowledge after fusion, key monitoring target extraction, and coreference resolution, the preliminary knowledge graph in step S20 is updated, and the importance relationship of linear engineering entities is established by combining the entity relationships and expert experience of the updated knowledge graph, and the point cloud sampling methods and parameters of different importance areas are evaluated; S70, point cloud downsampling: Based on the evaluation results, establish the sampling area range of the current linear engineering point cloud grid division model, use appropriate point cloud downsampling strategies for each area or target of the model, highlight key areas or targets, and weaken non-key areas or targets.

2. The point cloud intelligent sampling method based on feature maps according to claim 1 is characterized in that: The raw data preprocessing in step S10 includes using statistical filtering to remove outliers, through filtering to filter the non-target point cloud range, and stitching images using sensor calibration parameters. The method of stitching images using sensor calibration parameters is as follows: images along the forward direction of the sensor carrier need to be stitched through overlapping areas, while images perpendicular to the forward direction of the carrier can be stitched through the calibrated sensor parameters. With images There are Pixel deviation, is the pixel size, is the number of pixels, is a non-integer deviation.

3. The point cloud intelligent sampling method based on feature maps according to claim 1 is characterized in that: The target information in step S20 includes the number of points, acquisition time, acquisition location, acquisition equipment, equipment parameters, measurement target, measurement angular resolution and measurement distance resolution in the point cloud data; it also includes the image number, acquisition time, acquisition location, acquisition equipment, equipment parameters and image resolution in the image data, and also includes the knowledge of other sensors including encoder mileage, inertial navigation attitude angle, and measurement position of the global satellite navigation system.

4. The point cloud intelligent sampling method based on feature maps according to claim 1 is characterized in that: In step S30, the center line of the linear target is extracted by cross-section fitting. The method is: To extract the deep features of key detection and monitoring targets from point clouds and images, it is necessary to match the original point cloud data with the image data; fit the cross-sectional shape according to the type of linear engineering to minimize the objective function; after fitting the cross-sectional shape, calculate the symmetry center of a series of cross-sectional shapes. The discrete line composed of this series of symmetric centers is the center line of linear engineering. .

5. The point cloud intelligent sampling method based on feature maps according to claim 4 is characterized in that: When the cross-section shape is an elliptical tunnel cross-section, the center line The method to obtain it is as follows: In the formula is the number of points involved in the fitting, and is the point coordinate after the tunnel section is projected. The parameter is calculated as follows: In the formula and is the center coordinate of the fitted elliptical tunnel section, and are the major and minor semi-axis parameters of the ellipse, is the rotation angle of the ellipse's main axis relative to the X axis. After fitting the cross section, calculate the symmetry center of a series of cross sections. The discrete line composed of this series of symmetric centers is the center line of linear engineering. .

6. The point cloud intelligent sampling method based on feature maps according to claim 1 is characterized in that: In step S30, the method for associating the image with the point cloud data using the mileage, grayscale, and depth mapping association method is: the image coordinates Relationship with mileage Angle with image express, ; Image grayscale Point cloud intensity The mapping relationship is ,in and is the corresponding minimum and maximum intensity; image depth Distance from point cloud to center line The mapping relationship is ,in and are the corresponding minimum and maximum distances. After the above association, the point cloud projection grayscale and depth map corresponding to the image are generated.

7. The point cloud intelligent sampling method based on feature maps according to claim 1 is characterized in that: In step S30, the image feature pyramid histogram is established, the SIFT operator is used to match feature points, and the feature matching relationship between the image and the point cloud projection grayscale and depth map is calculated as follows: ,in They are the distance features of the X-axis and Y-axis respectively. is the scale feature, obtaining the Local feature statistics , eliminating errors exceeding 3 times The characteristics of , calculate the matching relationship of the remaining features; Use bilinear interpolation to get the new coordinates of the matched image , the new coordinates are calculated using the following formula ,in , , , are the pixel values ​​of the four corners of the image before interpolation, , , , They are the corresponding coordinate values, which realize the fusion of image and point cloud projection grayscale and depth map to obtain a measurable image.

8. The point cloud intelligent sampling method based on feature maps according to claim 1 is characterized in that: The method of extracting key monitoring targets in linear engineering by using target detection and machine learning methods in step S40 is as follows: using a joint detection method based on an improved Cascade R-CNN network, an improved U-Net network and a PointNet++ network to obtain key monitoring targets of linear engineering; for disease detection tasks, key monitoring targets include road cracks, potholes, and cracks, tunnel leakage, cracks, falling blocks and deformation; for regional monitoring tasks, key monitoring targets include tunnel structures, track structures and fastener structures.

9. The point cloud intelligent sampling method based on feature maps according to claim 1 is characterized in that: The specific method of step S50 is: Find adjacent key monitoring targets Corresponding mileage information , calculate its corresponding position in the image, combine the mileage information with the key detection target's own attribute information, evaluate whether they belong to the same entity through mileage matching and connected domain judgment, merge the same entity, and realize the elimination of co-referring targets.

10. The point cloud intelligent sampling method based on feature maps according to any one of claims 1 to 9, characterized in that : The specific method of step S60 is: updating the preliminary knowledge graph in step S20, combining the entity relationships of the updated knowledge graph with the expert experience, and Scoring, and determining monitoring areas or targets of different importance based on their scores Point cloud downsampling method and the downsampling degree parameter.

11. A point cloud intelligent sampling method based on feature maps according to any one of claims 1 to 9, characterized in that: The point cloud downsampling means in step S60 include voxel downsampling, uniform sampling, geometric sampling and random downsampling; voxel downsampling can maintain the spatial characteristics of the original point cloud and use a small number of points to replace the original large number of points, but it is not suitable for targets that need to retain boundaries; uniform downsampling selects the center point in the space to replace all points to ensure that the points after downsampling will not move, but it is easy to cause edge blur; geometric sampling is based on the local attribute value of the target to ensure that the point cloud after sampling is still uniform; random downsampling can ensure that the sampling points do not move and is used for non-target downsampling.

12. A point cloud intelligent sampling device based on feature maps, characterized in that: include: Raw data preprocessing unit: used to preprocess the input raw data including point cloud data and image data; Original information extraction unit: used to construct original knowledge entities containing target information from preprocessed data, determine entity boundaries and entity types, extract entity relationships, and generate a preliminary knowledge graph; Deep information extraction unit: used to extract the center line of linear targets through cross-section fitting ; Use mileage, grayscale, and depth mapping association methods to associate images with point cloud data; establish image feature pyramid histograms, use SIFT operators to match feature points, calculate feature matching relationships between image and point cloud projection grayscale and depth maps, and fuse point cloud and image data; Key monitoring target extraction unit: used to extract key monitoring targets in linear engineering using target detection and machine learning methods, and extract key monitoring targets according to the distance from the target to the center line. Establish location association based on mileage, extract key monitoring target attribute parameters and association information between targets; Co-reference resolution unit: used to merge the same entity in the fused data to eliminate the entity co-reference problem; Targeted sampling and parameter evaluation unit: used to update the preliminary knowledge graph in step S20 based on the data and knowledge after fusion, key monitoring target extraction, and coreference resolution, and to establish the importance relationship of linear engineering entities in combination with the entity relationships and expert experience of the updated knowledge graph, and to evaluate the point cloud sampling methods and parameters of different importance areas; Point cloud downsampling unit: used to establish the sampling area range of the current linear engineering point cloud grid division model based on the evaluation results, use appropriate point cloud downsampling strategies for each area or target of the model, highlight key areas or targets, and weaken non-key areas or targets.

13. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a point cloud intelligent sampling method based on a feature map as described in any one of claims 1 to 11 is implemented.

14. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for intelligent point cloud sampling based on a feature map as described in any one of claims 1 to 9 is implemented.