Method, device and equipment for fusing underground pipe network model and terrain in three-dimensional scene

By interpolating and iteratively correcting the underground pipe network model and low-precision terrain elevation data in the 3D city platform, the problem of insufficient terrain accuracy is solved, the fusion of the high-precision 3D pipe network model and terrain data is realized, and the high-precision requirements are met meet the needs of three-dimensional digital scenes and improve the efficiency of terrain model construction.

CN118691771AActive Publication Date: 2024-09-24BEIJING AEROSPACE HONGTU INFORMATION TECH +1

Patent Information

Application Number
CN202411179616.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-09-24
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

Existing technology makes it difficult to effectively integrate high-precision 3D pipe network models with low-precision ground digital elevation data in a 3D city platform, resulting in terrain accuracy that is insufficient to meet the requirements of high-precision 3D digital scenes and consuming huge manpower and material resources.

Method used

By obtaining the underground pipe network model and low-precision terrain elevation data, perform interpolation processing and iterative correction, generate high-precision terrain elevation data, and fuse it with low-resolution terrain elevation data to generate target terrain elevation that meets high-precision requirements. data.

Benefits of technology

It realizes the integration of high-precision underground pipe network model and terrain data, saves manpower and material resources, meets the accuracy requirements of high-precision three-dimensional digital scenes, and improves the efficiency of constructing irregular triangular network terrain models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691771A
    Figure CN118691771A
Patent Text Reader

Abstract

The invention provides an underground pipe network model and terrain fusion method, device and equipment in a three-dimensional scene. The method comprises the following steps: acquiring an underground pipe network model corresponding to a research area and first terrain elevation data; performing interpolation processing on the first elevation value corresponding to each pipe point to obtain second terrain elevation data corresponding to the research area; utilizing the underground pipe network model and the second terrain elevation data to carry out iterative correction on an elevation value corresponding to each pixel point in a sub-region taking the pipe point as the center to obtain corrected second terrain elevation data; and fusing the first terrain elevation data and the corrected second terrain elevation data to obtain target terrain elevation data corresponding to the research area. According to the method, fusion between the high-precision underground pipe network model and the low-precision terrain elevation data can be realized, the real terrain condition is restored, manpower and material resources are saved, and more importantly, the precision requirement of a high-precision three-dimensional digital scene is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data fusion, and in particular to a method, device and equipment for fusing an underground pipe network model with terrain in a three-dimensional scene. Background Art

[0002] At present, in some application scenarios of the three-dimensional urban platform, it is necessary to integrate the high-precision three-dimensional pipe network model with the high-precision ground digital elevation model (DEM). However, the high-precision DEM requires huge manpower and material resources to collect. However, the spatial resolution of the widely used DEM is usually not enough to meet the accuracy requirements of high-precision three-dimensional digital scenes. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a method, device and equipment for fusing underground pipe network models with terrain in three-dimensional scenes, which can realize the fusion of high-precision underground pipe network models and low-precision terrain elevation data, thereby restoring the real terrain conditions and saving manpower and material resources, and more importantly, meeting the accuracy requirements of high-precision three-dimensional digital scenes.

[0004] In a first aspect, an embodiment of the present invention provides a method for fusing an underground pipe network model with a terrain in a three-dimensional scene, comprising: Obtaining an underground pipe network model and first terrain elevation data corresponding to the study area; wherein the underground pipe network model includes a first elevation value corresponding to each pipe point in the study area; Interpolate the first elevation value corresponding to each pipe point to obtain the second terrain elevation data corresponding to the study area; wherein the second terrain elevation data includes the second elevation value corresponding to each pixel point in the study area, and the accuracy of the second terrain elevation data is higher than that of the first terrain elevation data; Using the underground pipe network model and the second terrain elevation data, iteratively correct the elevation value corresponding to each pixel point in the sub-area centered on the pipe point to obtain the corrected second terrain elevation data; wherein the corrected second terrain elevation data includes the corrected target elevation value of each pixel point in the sub-area; The first terrain elevation data and the corrected second terrain elevation data are fused to obtain the target terrain elevation data corresponding to the study area.

[0005] In one embodiment, the underground pipe network model and the second terrain elevation data are used to iteratively correct the elevation value corresponding to each pixel point in the sub-area centered on the pipe point to obtain the corrected second terrain elevation data, including: Determine the sub-region centered at each tube point; For the central pixel point in the sub-region, the first elevation value of the pipe point in the sub-region in the underground pipe network model is used as the target elevation corresponding to the central pixel point in the sub-region; For other pixel points in the sub-region except the central pixel point, determine whether other pixel points in the sub-region overlap with pixel points in other sub-regions; If yes, then based on the second terrain elevation data, determine the initial elevation values ​​corresponding to other pixel points in the sub-region, keep the initial elevation value corresponding to each pixel point in the non-overlapping part of the sub-region unchanged, and use the underground pipe network model and the second terrain elevation data to iteratively correct the initial elevation value corresponding to each pixel point in the overlapping part of the sub-region to obtain the target elevation values ​​corresponding to other pixel points in the sub-region; If not, the target elevation values ​​corresponding to other pixel points in the sub-area are determined based on the second terrain elevation data.

[0006] In one implementation, determining the initial elevation values ​​corresponding to other pixel points in the sub-area based on the second terrain elevation data includes: The second elevation values ​​corresponding to the pixels in the sub-region are determined from the second terrain elevation data, and the average of the second elevation values ​​is used as the initial elevation values ​​corresponding to other pixels in the sub-region.

[0007] In one implementation, the initial elevation value corresponding to each pixel point in the overlapping portion of the sub-region is iteratively corrected using the underground pipe network model and the second terrain elevation data, including: Determine an evaluation index between an initial elevation value corresponding to each pixel point in the overlapping portion of the sub-region and a target elevation value corresponding to the central pixel point; wherein the evaluation index is used to characterize whether the elevation values ​​between other pixel points and the central pixel point are smooth; Determine whether the evaluation index is less than a preset threshold; If not, perform at least one convolution calculation on the initial elevation value corresponding to each pixel in the overlapping part of the sub-region and the target elevation value corresponding to the central pixel until the preset number of iterations is reached or the new evaluation index is less than the preset threshold to determine the target elevation value corresponding to each pixel in the overlapping part of the sub-region.

[0008] In one implementation, the first terrain elevation data and the corrected second terrain elevation data are fused to obtain target terrain elevation data corresponding to the study area, including: Resampling the first terrain elevation data so that the resolution of the resampled first terrain elevation data is consistent with the resolution of the corrected second terrain elevation data; Extracting a third elevation value corresponding to each pixel point in the non-sub-area from the resampled first terrain elevation data; The target elevation value corresponding to each pixel in the sub-area and the third elevation value corresponding to each pixel in the non-sub-area are fused to obtain the target terrain elevation data corresponding to the study area.

[0009] In one implementation, the target elevation value corresponding to each pixel point in the sub-region and the third elevation value corresponding to each pixel point in the non-sub-region are fused to obtain the target terrain elevation data corresponding to the study area, including: The target elevation value and the third elevation value corresponding to each pixel point in the non-overlapping part between the sub-area and the non-sub-area are merged, and the target elevation value and the third elevation value corresponding to each pixel point in the overlapping part between the sub-area and the non-sub-area are smoothed to obtain the target terrain elevation data corresponding to the study area.

[0010] In one embodiment, after fusing the first terrain elevation data and the corrected second terrain elevation data to obtain target terrain elevation data corresponding to the study area, the method further includes: Based on the target terrain elevation data, an irregular triangulated network terrain model corresponding to the study area is generated.

[0011] In a second aspect, an embodiment of the present invention further provides a device for fusing an underground pipe network model with a terrain in a three-dimensional scene, comprising: A data acquisition module is used to acquire an underground pipe network model and first terrain elevation data corresponding to the study area; wherein the underground pipe network model includes a first elevation value corresponding to each pipe point in the study area; The elevation interpolation module is used to interpolate the first elevation value corresponding to each pipe point to obtain the second terrain elevation data corresponding to the study area; wherein the second terrain elevation data includes the second elevation value corresponding to each pixel point in the study area, and the accuracy of the second terrain elevation data is higher than that of the first terrain elevation data; The elevation correction module is used to iteratively correct the elevation value corresponding to each pixel point in the sub-area centered on the pipe point using the underground pipe network model and the second terrain elevation data to obtain the corrected second terrain elevation data; wherein the corrected second terrain elevation data includes the corrected target elevation value of each pixel point in the sub-area; The elevation fusion module is used to fuse the first terrain elevation data and the corrected second terrain elevation data to obtain the target terrain elevation data corresponding to the study area.

[0012] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect.

[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.

[0014] The embodiment of the present invention provides a method, device and equipment for fusing an underground pipe network model with terrain in a three-dimensional scene. First, an underground pipe network model and first terrain elevation data corresponding to a study area are obtained, and the underground pipe network model includes a first elevation value corresponding to each pipe point in the study area; then, the first elevation value corresponding to each pipe point is interpolated to obtain second terrain elevation data corresponding to the study area, and the second terrain elevation data includes a second elevation value corresponding to each pixel point in the study area, and the accuracy of the second terrain elevation data is higher than that of the first terrain elevation data; then, the underground pipe network model and the second terrain elevation data are used to iteratively correct the elevation value corresponding to each pixel point in a sub-area centered on the pipe point to obtain corrected second terrain elevation data, and the corrected second terrain elevation data includes a corrected target elevation value of each pixel point in the sub-area; finally, the first terrain elevation data and the corrected second terrain elevation data are fused to obtain target terrain elevation data corresponding to the study area. The above method uses the underground pipe network model to determine the high-precision second terrain elevation data, and combines the underground pipe network data and the second terrain elevation data to iteratively correct the elevation value corresponding to each pixel point in the sub-area centered on the pipe point. By fusing the corrected second terrain elevation data with the low-resolution first terrain elevation data, it not only restores the real terrain conditions but also saves manpower and material resources. More importantly, it meets the accuracy requirements of high-precision three-dimensional digital scenes, which helps to improve the efficiency of constructing irregular triangulated network terrain models in subsequent processes.

[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A schematic diagram of a flow chart of a method for fusing an underground pipe network model with terrain in a three-dimensional scene provided by an embodiment of the present invention; Figure 2 A schematic diagram of spatially superimposing an underground pipe network model and second terrain elevation data provided by an embodiment of the present invention; Figure 3 A schematic diagram of an overlapping portion between a sub-region and a non-sub-region provided in an embodiment of the present invention; Figure 4 An overall flow chart of a method for fusing an underground pipe network model with terrain in a three-dimensional scene provided by an embodiment of the present invention; Figure 5 A schematic diagram of the structure of a device for fusing an underground pipe network model and terrain in a three-dimensional scene provided by an embodiment of the present invention; Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] The three-dimensional terrain in the current three-dimensional urban platform is mainly composed of a triangulated irregular network (TIN) model composed of a DEM, and a digital orthophoto map (DOM) is attached to form a three-dimensional surface model; however, with the improvement of surveying and mapping technology, models constructed using high-precision surveying and mapping data, such as underground three-dimensional pipe network models and even high-precision three-dimensional road network models, are difficult to match with the TIN model constructed using DEM.

[0021] The integration of the 3D pipe network model and the terrain requires that the pipe network be buried under the ground, but the information of the accessories such as manhole covers, street lights, transformers, valves, etc. needs to be exposed on the ground. The spatial relationship must be accurately expressed in the 3D scene. The manhole covers must be exposed and parallel to the ground. The street lights must be above the ground with only a small amount of roots inserted into the ground. The transformers and other accessories must all be above the ground but connected to the ground as much as possible. The measurement error of the urban underground pipe network is generally within 10cm, and the spatial dimension accuracy of the pipe network and its accessories is also within 0.1m or even higher. Therefore, the model constructed by high-precision measurement data needs to be matched with high-precision terrain. How to use the feature point data of the high-precision pipe network to make up for the problem of insufficient terrain accuracy. Constructing high-precision 3D terrain and matching it with the 3D pipe network model is a difficult problem in building a 3D digital city.

[0022] Based on this, the present invention provides a method, device and equipment for fusing underground pipe network models with terrain in a three-dimensional scene, which can realize the fusion of high-precision underground pipe network models with low-precision terrain elevation data, thereby restoring the real terrain conditions and saving manpower and material resources. More importantly, it meets the accuracy requirements of high-precision three-dimensional digital scenes.

[0023] To facilitate understanding of this embodiment, firstly, a method for fusing an underground pipe network model with terrain in a three-dimensional scene disclosed in an embodiment of the present invention is described in detail. Figure 1 The flowchart of a method for fusing an underground pipe network model with terrain in a three-dimensional scene is shown, and the method mainly includes the following steps S102 to S108: Step S102, obtaining an underground pipe network model and first terrain elevation data corresponding to the study area.

[0024] Among them, the underground pipe network model includes the first elevation value corresponding to each pipe point in the study area, and the first terrain elevation data can be low-precision terrain elevation data. It should be noted that in order to facilitate the distinction of elevation values ​​contained in different data, the embodiment of the present invention names them with the first elevation value, the second elevation value, and the third elevation value, wherein the first, second, and third do not have actual meanings. Specifically, the first elevation value is the elevation value corresponding to each pipe point in the underground pipe network model, the second elevation value is the elevation value corresponding to each pixel point in the second terrain elevation data, and the third elevation value is the elevation value corresponding to each pixel point in the resampled first terrain elevation data.

[0025] Step S104, interpolating the first elevation value corresponding to each pipe point to obtain second terrain elevation data corresponding to the study area.

[0026] Among them, the second terrain elevation data includes the second elevation value corresponding to each pixel point in the study area. The accuracy of the second terrain elevation data is higher than that of the first terrain elevation data, that is, the second terrain elevation data can be understood as high-precision terrain elevation data. Its high accuracy is mainly reflected in: the accuracy of the elevation value corresponding to each pixel point in the pipe point and the sub-area centered on the pipe point is higher than the accuracy of the elevation value corresponding to the corresponding pixel point in the resampled first terrain elevation data. In one example, the first elevation value corresponding to each pipe point can be interpolated by a variety of algorithms such as weighted average method, Gaussian process method, Kriging interpolation method, etc., to obtain high-precision second terrain elevation data.

[0027] Step S106, using the underground pipe network model and the second terrain elevation data, iteratively correct the elevation value corresponding to each pixel point in the sub-area centered on the pipe point to obtain the corrected second terrain elevation data.

[0028] The corrected second terrain elevation data includes the corrected target elevation value of each pixel point in the sub-area.

[0029] Considering that in the second terrain elevation data obtained by interpolation, the second elevation value corresponding to each pixel in the sub-region centered on the pipe point still has discrepancies with the actual elevation value, and cannot accurately describe the terrain in the sub-region, it is not recommended to directly use the second elevation value corresponding to each pixel in the sub-region to fuse with the low-resolution first terrain elevation data. Based on this, the embodiment of the present invention proposes that the elevation value corresponding to each pixel in the sub-region can be iteratively corrected using the underground pipe network model and the second terrain elevation data to obtain the corrected target elevation value of each pixel, so as to further improve the accuracy of the second terrain elevation data.

[0030] In one example, for the central pixel point in the sub-area (that is, the pixel point corresponding to the pipe point), the first elevation value corresponding to the corresponding pipe point in the underground pipe network model is directly used as its corresponding target elevation value; for other pixel points in the sub-area, it is necessary to iteratively correct the elevation values ​​corresponding to the pixel points in the overlapping part based on the underground pipe network model and the second terrain elevation data, and combine the overlap between different sub-areas to obtain the target elevation value, so as to smoothly transition from one sub-area to another. In addition, the target elevation values ​​corresponding to the pixel points in the non-overlapping part can be directly determined based on the second terrain elevation data.

[0031] Step S108, fusing the first terrain elevation data and the corrected second terrain elevation data to obtain target terrain elevation data corresponding to the study area.

[0032] In one example, considering the different resolutions between the first terrain elevation data and the second terrain elevation data, it is necessary to unify the resolutions of the first terrain elevation data and the corrected second terrain elevation data, and then merge and smooth the edges of the first terrain elevation data and the corrected second elevation data with the same resolution to obtain target terrain elevation data that meets the accuracy requirements of high-precision three-dimensional digital scenes.

[0033] The method for fusing an underground pipe network model with terrain in a three-dimensional scene provided by an embodiment of the present invention uses the underground pipe network model to determine high-precision second terrain elevation data, and combines the underground pipe network data and the second terrain elevation data to iteratively correct the elevation value corresponding to each pixel point in a sub-area centered on the pipe point. By fusing the corrected second terrain elevation data with the low-resolution first terrain elevation data, the real terrain conditions are restored and manpower and material resources are saved. More importantly, the accuracy requirements of the high-precision three-dimensional digital scene are met, which helps to improve the efficiency of constructing an irregular triangulated network terrain model in the subsequent process.

[0034] For ease of understanding, an embodiment of the present invention provides a specific implementation method of a method for fusing an underground pipe network model with terrain in a three-dimensional scene.

[0035] For the aforementioned step S102, when executing the step of obtaining the underground pipe network model and the first terrain elevation data corresponding to the study area, the underground pipe network model can be obtained by surveying and mapping, and the required first terrain elevation data can be downloaded from the relevant website.

[0036] For the aforementioned step S104, when performing the interpolation process on the first elevation value corresponding to each pipe point to obtain the second terrain elevation data corresponding to the study area, a plurality of algorithms such as weighted average method, Gaussian process method, Kriging interpolation method, etc. can be used to interpolate the first elevation value corresponding to each pipe point to obtain the planar second terrain elevation data, which is raster data. For example, the interpolation resolution is pre-set to 0.5 (the value here is input according to actual needs, generally with reference to the surveying and mapping accuracy error range) meters or less, and a high-resolution second terrain elevation data is initially obtained.

[0037] For the aforementioned step S106, when performing the step of iteratively correcting the elevation value corresponding to each pixel point in the sub-area centered on the pipe point using the underground pipe network model and the second terrain elevation data to obtain the corrected second terrain elevation data, the underground pipe network model can be matched with the second terrain elevation data through spatial positioning (or spatial superposition), and a range of N pixels with a radius set as the center for each pipe point with an attachment is taken and filled with the average value to obtain the homogenized second terrain elevation data. Among them, the value of N can be set according to actual needs, for example, N is 5, and the larger the value, the smoother the terrain.

[0038] In the specific implementation, you can refer to the following steps 1A to 1E: Step 1A, determining a sub-region centered on each tube point. For example, the sub-region may be a square region centered on the tube point and having a width of N pixels.

[0039] Step 1B, for the central pixel point in the sub-area, the first elevation value of the pipe point in the sub-area in the underground pipe network model is used as the target elevation corresponding to the central pixel point in the sub-area. In one example, the first elevation value corresponding to the pipe point in the underground pipe network model is directly used as the target elevation value corresponding to the central pixel point. Since the first elevation value is obtained by surveying and mapping, the accuracy of the target elevation value can be better guaranteed. Specifically, the target elevation value corresponding to the central pixel point can be determined according to the following formula: ; in, is the target elevation value corresponding to the center pixel point, is the first elevation value.

[0040] Step 1C, for other pixels in the sub-region except the central pixel, determine whether other pixels in the sub-region overlap with pixels in other sub-regions; if yes, execute step 1D; if no, execute step 1E. In one example, if the same pixel exists in two sub-regions, it is determined that the two sub-regions overlap.

[0041] Step 1D, based on the second terrain elevation data, determining the initial elevation values ​​corresponding to other pixel points in the sub-region, keeping the initial elevation value corresponding to each pixel point in the non-overlapping part of the sub-region unchanged, and using the underground pipe network model and the second terrain elevation data, iteratively correcting the initial elevation value corresponding to each pixel point in the overlapping part of the sub-region to obtain the target elevation values ​​corresponding to other pixel points in the sub-region; In one example, the specific process of determining the initial elevation values ​​corresponding to other pixel points in the sub-area is as follows: Figure 2 A schematic diagram of spatial overlay of an underground pipe network model and second terrain elevation data is shown. Figure 2Two pipe points, two sub-regions centered on the two pipe points, and overlapping and non-overlapping parts between the two sub-regions are illustrated. Based on this, the second elevation value corresponding to the pixel points in the sub-region is first determined from the second terrain elevation data, and the average of the second elevation values ​​is used as the initial elevation value corresponding to other pixel points in the entire sub-region.

[0042] In one example, for each pixel point in the non-overlapping portion, the average of the second elevation values ​​may be directly used as the corresponding target elevation value.

[0043] In one example, for each pixel point in the overlapping part, it is necessary to use the underground pipe network model and the second terrain elevation data to iteratively correct the initial elevation value corresponding to each pixel point in the overlapping part of the sub-area. The specific process can be seen as follows (1) to (3): (1) Determine an evaluation index between the initial elevation value corresponding to each pixel in the overlapping part of the sub-region and the target elevation value corresponding to the central pixel. The evaluation index is used to characterize whether the elevation values ​​between other pixels and the central pixel are smooth. For example, the evaluation index can be calculated using variance, and the variance calculation formula is as follows: ; in, is the variance, For the The initial elevation value corresponding to the pixel point, is the target elevation value corresponding to the center pixel point, is the number of other pixels.

[0044] (2) Determine whether the evaluation index is less than the preset threshold V. If so, end the iteration of the pipe point; if not, execute (3).

[0045] (3) If not, perform at least one convolution calculation on the initial elevation value corresponding to each pixel in the overlapping part of the sub-region and the target elevation value corresponding to the central pixel until the preset number of iterations is reached or the new evaluation index is less than the preset threshold, so as to determine the target elevation value corresponding to each pixel in the overlapping part of the sub-region. The expression of the convolution operation is as follows: ; where, assuming N is the convolution pixel width, there are a total of Pixel groups.

[0046] In one example, the initial elevation value corresponding to each pixel point in the overlapping part and the target elevation value corresponding to the central pixel point are iterated in a loop. In each iteration, the first elevation value corresponding to the pipe point is assigned to the central point of the corresponding area of ​​the raster data. The basis for jumping out of the loop of each pipe point is the variance value between the mean elevation in the area and the first elevation value corresponding to the pipe point. When the variance value is less than a preset threshold value V, the iteration of this pipe point is ended, or the iteration number reaches a certain threshold value. At the end of the iteration, the target elevation value corresponding to each pixel point in the overlapping part can be obtained.

[0047] Step 1E, based on the second terrain elevation data, determine the target elevation values ​​corresponding to other pixel points in the sub-region. In one example, the second elevation values ​​corresponding to the pixel points in the sub-region are determined from the second terrain elevation data, and the average of the second elevation values ​​is used as the target elevation values ​​corresponding to other pixel points in the sub-region.

[0048] The embodiment of the present invention traverses the sub-region corresponding to each pipe point. If the sub-region does not overlap with other sub-regions, the sub-region is assigned a mean value after one calculation. For sub-regions with overlapping parts, the overlapping parts of the sub-regions with other sub-regions will be changed by the convolution calculation of adjacent overlapping pipe points. The purpose of this step is to correct the second terrain elevation data obtained by traditional interpolation with the underground pipe network data to obtain more consistent and corrected second terrain elevation data, so that the subsequent terrain and underground pipe network model can be highly consistent.

[0049] For the aforementioned step S106, when executing the step of fusing the first terrain elevation data and the corrected second terrain elevation data to obtain the target terrain elevation data corresponding to the study area, the resolution must first be unified, the low-resolution first terrain elevation data is resampled to the resolution of the high-resolution second terrain elevation data (specifically the corrected second terrain elevation data), and then the high-resolution second terrain elevation data is placed at the position corresponding to the low-resolution first terrain elevation data to generate a DEM image raster file, which is the target terrain elevation data.

[0050] In the specific implementation, please refer to the following steps 2A to 2C: Step 2A, resampling the first terrain elevation data so that the resolution of the resampled first terrain elevation data is consistent with the resolution of the corrected second terrain elevation data.

[0051] Step 2B, extracting the third elevation value corresponding to each pixel in the non-sub-region from the resampled first terrain elevation data. It should be noted that in the process of extracting the non-sub-region, in order to make the elevation value between the merged sub-region and the non-sub-region oversmooth, it is necessary to have a certain overlap rate between the sub-region and the non-sub-region, so as to facilitate the subsequent smoothing of the overlapping part between the sub-region and the non-sub-region.

[0052] Step 2C, fusing the target elevation value corresponding to each pixel point in the sub-area and the third elevation value corresponding to each pixel point in the non-sub-area to obtain the target terrain elevation data corresponding to the study area.

[0053] In one example, the target elevation value and the third elevation value corresponding to each pixel point in the non-overlapping part between the sub-area and the non-sub-area are merged, and the target elevation value and the third elevation value corresponding to each pixel point in the overlapping part between the sub-area and the non-sub-area are smoothed to obtain the target terrain elevation data corresponding to the study area.

[0054] In one example, a target elevation value corresponding to each pixel in a non-overlapping portion is extracted from a sub-region, and a third elevation value corresponding to each pixel in a non-overlapping portion is extracted from a non-sub-region, and the extracted target elevation value and the third elevation value are retained to implement a merging operation of the elevation values ​​of the non-overlapping portion.

[0055] In one example, for the overlap between a sub-region and a non-sub-region, see Figure 3 A schematic diagram of an overlapping portion between a sub-region and a non-sub-region is shown, and a pixel width can be taken as a center point with a pixel point in the overlapping portion. ,common Pixels: ; Continue to use the following formula to get The average elevation value of each pixel is assigned to the central pixel, and the overlapping parts are smoothed by pixels, and finally merged into a target terrain elevation data.

[0056] After generating the target terrain elevation data, the irregular triangulated network (TIN) terrain model corresponding to the study area can be generated based on the target terrain elevation data, that is, TIN model tiles are generated for the fused target terrain elevation data.

[0057] In summary, the embodiments of the present invention provide Figure 4The overall flow chart of the method for fusing an underground pipe network model with terrain in a three-dimensional scene shown in the figure includes: first, using weighted average method, Gaussian process method, Kriging interpolation method and other algorithms to interpolate the surveying and mapping pipe point data (that is, the aforementioned underground pipe network model) to obtain a high-precision digital ground elevation DEM (that is, the aforementioned second terrain elevation data); then, combining the surveying and mapping pipe point data, performing N*N area mean sampling of each central pixel, and judging whether the pixel variance is less than the execution threshold or the number of cycles reaches the threshold, and returning to the aforementioned mean sampling step if the judgment result is no, and obtaining the sampling result (that is, the aforementioned corrected second terrain elevation data) if the judgment result is yes; combining the low-precision digital ground elevation (that is, the aforementioned first terrain elevation data), sampling to the same resolution for fusion, and performing boundary area homogenization to obtain the fused terrain (that is, the aforementioned target terrain elevation data), and finally generating a TIN model.

[0058] On this basis, the embodiments of the present invention solve the problem that the current terrain accuracy is insufficient, resulting in the inability to accurately match the three-dimensional pipeline model of high-precision mapping with the three-dimensional terrain; and solve the problem that the terrain accuracy after interpolation by the current traditional terrain interpolation method is insufficient and cannot be highly consistent with the surveyed and mapped pipeline network data.

[0059] Furthermore, in the embodiment of the present invention, the actual elevation of the pipe point is actually the ground elevation. The ground elevation of the pipe point is used to iterate the mean within a certain range centered on the pipe point, and finally the variance or the number of cycles is used as the exit condition. This can make up for the precision error caused by the interpolation algorithm, maximize the accuracy of the terrain data after interpolation, and keep it consistent with the surveyed pipe network data. At the same time, it can also smooth the terrain as much as possible, making the later TIN model more natural and reasonable. In particular, the accuracy of many pipe networks requires that the manhole covers of the attached objects are exposed on the surface and form a nearly flat road surface with the road surface, so the accuracy requirements are extremely high. The embodiment of the present invention can achieve that the manhole covers in the pipe network are almost parallel to the ground.

[0060] Furthermore, the embodiment of the present invention is also applicable to the integration of a three-dimensional high-precision road network model and terrain. The embodiment of the present invention can achieve the construction of high-precision terrain only through the surveyed underground pipeline network data, and achieve a nearly realistic match with the pipeline network model, with an accuracy error within 0.05 meters.

[0061] Based on the above-mentioned embodiments, the present invention provides a device for fusing an underground pipe network model with a terrain in a three-dimensional scene. Figure 5 The schematic diagram of the structure of a device for fusing an underground pipe network model with a terrain in a three-dimensional scene is shown, and the device mainly includes the following parts: The data acquisition module 502 is used to acquire the underground pipe network model and the first terrain elevation data corresponding to the study area; wherein the underground pipe network model includes the first elevation value corresponding to each pipe point in the study area; The elevation interpolation module 504 is used to interpolate the first elevation value corresponding to each pipe point to obtain the second terrain elevation data corresponding to the study area; wherein the second terrain elevation data includes the second elevation value corresponding to each pixel point in the study area, and the accuracy of the second terrain elevation data is higher than the accuracy of the first terrain elevation data; The elevation correction module 506 is used to iteratively correct the elevation value corresponding to each pixel point in the sub-region centered on the pipe point using the underground pipe network model and the second terrain elevation data to obtain the corrected second terrain elevation data; wherein the corrected second terrain elevation data includes the corrected target elevation value of each pixel point in the sub-region; The elevation fusion module 507 is used to fuse the first terrain elevation data and the corrected second terrain elevation data to obtain target terrain elevation data corresponding to the study area.

[0062] The device for fusing an underground pipe network model and terrain in a three-dimensional scene provided by an embodiment of the present invention uses the underground pipe network model to determine high-precision second terrain elevation data, and combines the underground pipe network data and the second terrain elevation data to iteratively correct the elevation value corresponding to each pixel point in a sub-area centered on the pipe point. By fusing the corrected second terrain elevation data with the low-resolution first terrain elevation data, the real terrain situation is restored and manpower and material resources are saved. More importantly, the accuracy requirements of the high-precision three-dimensional digital scene are met, which helps to improve the efficiency of constructing an irregular triangulated network terrain model in the subsequent process.

[0063] In one implementation, the elevation correction module 506 is specifically configured to: Determine the sub-region centered at each tube point; For the central pixel point in the sub-region, the first elevation value of the pipe point in the sub-region in the underground pipe network model is used as the target elevation corresponding to the central pixel point in the sub-region; For other pixel points in the sub-region except the central pixel point, determine whether other pixel points in the sub-region overlap with pixel points in other sub-regions; If yes, then based on the second terrain elevation data, determine the initial elevation values ​​corresponding to other pixel points in the sub-region, keep the initial elevation value corresponding to each pixel point in the non-overlapping part of the sub-region unchanged, and use the underground pipe network model and the second terrain elevation data to iteratively correct the initial elevation value corresponding to each pixel point in the overlapping part of the sub-region to obtain the target elevation values ​​corresponding to other pixel points in the sub-region; If not, the target elevation values ​​corresponding to other pixel points in the sub-area are determined based on the second terrain elevation data.

[0064] In one implementation, the elevation correction module 506 is specifically configured to: The second elevation values ​​corresponding to the pixels in the sub-region are determined from the second terrain elevation data, and the average of the second elevation values ​​is used as the initial elevation values ​​corresponding to other pixels in the sub-region.

[0065] In one implementation, the elevation correction module 506 is specifically configured to: Determine an evaluation index between an initial elevation value corresponding to each pixel point in the overlapping portion of the sub-region and a target elevation value corresponding to the central pixel point; wherein the evaluation index is used to characterize whether the elevation values ​​between other pixel points and the central pixel point are smooth; Determine whether the evaluation index is less than a preset threshold; If not, perform at least one convolution calculation on the initial elevation value corresponding to each pixel in the overlapping part of the sub-region and the target elevation value corresponding to the central pixel until the preset number of iterations is reached or the new evaluation index is less than the preset threshold to determine the target elevation value corresponding to each pixel in the overlapping part of the sub-region.

[0066] In one implementation, the elevation fusion module 507 is specifically used to: Resampling the first terrain elevation data so that the resolution of the resampled first terrain elevation data is consistent with the resolution of the corrected second terrain elevation data; Extracting a third elevation value corresponding to each pixel point in the non-sub-area from the resampled first terrain elevation data; The target elevation value corresponding to each pixel in the sub-area and the third elevation value corresponding to each pixel in the non-sub-area are fused to obtain the target terrain elevation data corresponding to the study area.

[0067] In one implementation, the elevation fusion module 507 is specifically used to: The target elevation value and the third elevation value corresponding to each pixel point in the non-overlapping part between the sub-area and the non-sub-area are merged, and the target elevation value and the third elevation value corresponding to each pixel point in the overlapping part between the sub-area and the non-sub-area are smoothed to obtain the target terrain elevation data corresponding to the study area.

[0068] In one embodiment, a terrain model generation module is further included, which is used to: Based on the target terrain elevation data, an irregular triangulated network terrain model corresponding to the study area is generated.

[0069] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0070] An embodiment of the present invention provides an electronic device. Specifically, the electronic device includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned implementation methods.

[0071] Figure 6 A structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device 100 includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, wherein the processor 60, the communication interface 63 and the memory 61 are connected via the bus 62; the processor 60 is used to execute an executable module stored in the memory 61, such as a computer program.

[0072] The memory 61 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0073] The bus 62 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0074] Among them, the memory 61 is used to store programs, and the processor 60 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 60 or implemented by the processor 60.

[0075] The processor 60 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 60. The above processor 60 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 61, and the processor 60 reads the information in the memory 61 and completes the steps of the above method in combination with its hardware.

[0076] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.

[0077] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0078] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for fusing an underground pipe network model with terrain in a three-dimensional scene, characterized in that: include: Acquire an underground pipe network model and first terrain elevation data corresponding to the study area; wherein the underground pipe network model includes a first elevation value corresponding to each pipe point in the study area; Performing interpolation processing on the first elevation value corresponding to each of the pipe points to obtain second terrain elevation data corresponding to the study area; wherein the second terrain elevation data includes a second elevation value corresponding to each pixel point in the study area, and the accuracy of the second terrain elevation data is higher than the accuracy of the first terrain elevation data; Using the underground pipe network model and the second terrain elevation data, iteratively correct the elevation value corresponding to each pixel point in the sub-area centered on the pipe point to obtain the corrected second terrain elevation data; wherein the corrected second terrain elevation data includes the corrected target elevation value of each pixel point in the sub-area; The first terrain elevation data and the corrected second terrain elevation data are fused to obtain target terrain elevation data corresponding to the study area.

2. The method for fusing an underground pipe network model with terrain in a three-dimensional scene according to claim 1, characterized in that: Using the underground pipe network model and the second terrain elevation data, iteratively correcting the elevation value corresponding to each pixel point in the sub-area centered on the pipe point to obtain the corrected second terrain elevation data, including: determining a sub-region centered at each of the pipe points; For the central pixel point in the sub-region, the first elevation value of the pipe point in the sub-region in the underground pipe network model is used as the target elevation corresponding to the central pixel point in the sub-region; For other pixel points in the sub-region except the central pixel point, determining whether other pixel points in the sub-region overlap with pixel points in other sub-regions; If yes, then based on the second terrain elevation data, determine the initial elevation values ​​corresponding to the other pixel points in the sub-region, keep the initial elevation value corresponding to each pixel point in the non-overlapping part of the sub-region unchanged, and use the underground pipe network model and the second terrain elevation data to iteratively correct the initial elevation value corresponding to each pixel point in the overlapping part of the sub-region to obtain the target elevation values ​​corresponding to the other pixel points in the sub-region; If not, the target elevation values ​​corresponding to other pixel points in the sub-area are determined based on the second terrain elevation data.

3. The method for fusing an underground pipe network model with terrain in a three-dimensional scene according to claim 2, characterized in that: Determining initial elevation values ​​corresponding to other pixel points in the sub-area based on the second terrain elevation data includes: A second elevation value corresponding to the pixel points in the sub-region is determined from the second terrain elevation data, and an average of the second elevation values ​​is used as an initial elevation value corresponding to other pixel points in the sub-region.

4. The method for fusing an underground pipe network model with terrain in a three-dimensional scene according to claim 2, characterized in that: Using the underground pipe network model and the second terrain elevation data, iteratively correcting the initial elevation value corresponding to each pixel point in the overlapping part of the sub-area, including: Determine an evaluation index between an initial elevation value corresponding to each pixel point in the overlapping portion of the sub-region and a target elevation value corresponding to the central pixel point; wherein the evaluation index is used to characterize whether the elevation values ​​between other pixel points and the central pixel point are smooth; Determine whether the evaluation index is less than a preset threshold; If not, perform at least one convolution calculation on the initial elevation value corresponding to each pixel point in the overlapping part of the sub-region and the target elevation value corresponding to the central pixel point until the preset number of iterations is reached or the new evaluation index is less than the preset threshold value to determine the target elevation value corresponding to each pixel point in the overlapping part of the sub-region.

5. The method for fusing an underground pipe network model with terrain in a three-dimensional scene according to claim 1, characterized in that: The first terrain elevation data and the corrected second terrain elevation data are merged to obtain target terrain elevation data corresponding to the study area, including: Resampling the first terrain elevation data so that the resolution of the resampled first terrain elevation data is consistent with the resolution of the corrected second terrain elevation data; Extracting a third elevation value corresponding to each pixel point in the non-sub-area from the resampled first terrain elevation data; The target elevation value corresponding to each pixel point in the sub-area and the third elevation value corresponding to each pixel point in the non-sub-area are fused to obtain target terrain elevation data corresponding to the study area.

6. The method for fusing an underground pipe network model with terrain in a three-dimensional scene according to claim 5, characterized in that: The target elevation value corresponding to each pixel point in the sub-area and the third elevation value corresponding to each pixel point in the non-sub-area are merged to obtain the target terrain elevation data corresponding to the study area, including: The target elevation value and the third elevation value corresponding to each pixel point in the non-overlapping portion between the sub-area and the non-sub-area are merged, and the target elevation value and the third elevation value corresponding to each pixel point in the overlapping portion between the sub-area and the non-sub-area are smoothed to obtain the target terrain elevation data corresponding to the study area.

7. The method for fusing an underground pipe network model with terrain in a three-dimensional scene according to claim 1, characterized in that: After fusing the first terrain elevation data and the corrected second terrain elevation data to obtain target terrain elevation data corresponding to the study area, the method further includes: Based on the target terrain elevation data, an irregular triangulated network terrain model corresponding to the study area is generated.

8. A device for fusing an underground pipe network model with terrain in a three-dimensional scene, characterized in that: include: A data acquisition module, used to acquire an underground pipe network model and first terrain elevation data corresponding to the study area; wherein the underground pipe network model includes a first elevation value corresponding to each pipe point in the study area; an elevation interpolation module, configured to interpolate the first elevation value corresponding to each of the pipe points to obtain second terrain elevation data corresponding to the study area; wherein the second terrain elevation data includes a second elevation value corresponding to each pixel point in the study area, and the accuracy of the second terrain elevation data is higher than that of the first terrain elevation data; An elevation correction module, used to iteratively correct the elevation value corresponding to each pixel point in the sub-region centered on the pipe point using the underground pipe network model and the second terrain elevation data, to obtain the corrected second terrain elevation data; wherein the corrected second terrain elevation data includes the corrected target elevation value of each pixel point in the sub-region; The elevation fusion module is used to fuse the first terrain elevation data and the corrected second terrain elevation data to obtain the target terrain elevation data corresponding to the study area.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • InSAR point cloud fusion and three-dimensional deformation monitoring method for high-resolution SAR image

    CN110058237A

  • Topographic data and BIM fusion method and device, equipment and storage medium

    CN113763555A

  • Method, device and equipment for estimating DEM based on satellite-borne double-station InSAR and laser radar data and medium

    CN117830543A

  • GIS aided topography based underground pipeline alignment optimization method and computer readable recording medium storing program performing the method

    KR101732439B1

Cited By

  • Method and device for fitting model and terrain area in Cesium scene

    CN121616774A

  • Method and apparatus for implementing model and terrain region fitting in cesium scene

    CN121616774B