A method and device for dynamic visualization of earthquake disasters

By obtaining the initial point cloud data and shaking displacement data of buildings and scenes, performing voxel downsampling and segmentation processing, and updating the point cloud coordinate values ​​and rendering in real time, the problem of poor visualization effects in dynamic visualization of earthquake disasters is solved and a more complete solution is achieved. Realistic and intuitive display of earthquake damage scenes.

CN116012542BActive Publication Date: 2024-09-24SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing technology has poor visualization effect in the dynamic visualization of earthquake disasters, and it is difficult to truly and intuitively present the earthquake damage scenes of buildings and scenes.

Method used

By obtaining the initial point cloud data of buildings and scenes, voxel downsampling and point cloud segmentation processing are performed, combined with the shaking displacement data of the building over time, the point cloud coordinate values ​​are updated in real time, and the rendering is performed to generate a dynamic visualization image.

Benefits of technology

It achieves a more realistic and intuitive dynamic visualization effect and improves the visualization effect of earthquake disaster scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116012542B
    Figure CN116012542B
Patent Text Reader

Abstract

The present application relates to a method and device for dynamic visualization of earthquake disasters. The method includes: obtaining the initial point cloud data of buildings and scenes in the target area, obtaining the shaking displacement data of the buildings over time, the shaking displacement data is obtained by simulating earthquake excitation of buildings and scenes, performing voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data, determining the ground point cloud and the point cloud corresponding to each building, and updating the coordinate value of each point of the point cloud corresponding to each building at the current moment in real time according to the shaking displacement data of the building over time, rendering the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generating a dynamic visualization image for display. In this way, the regional building earthquake damage scene can be presented more realistically and intuitively, and the visualization effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for dynamic visualization of earthquake disasters. Background Art

[0002] Earthquakes are one of the most serious natural disasters that cause the most deaths. With the acceleration of urbanization and the increase in urban population density, once a strong earthquake occurs in an urban area, it will bring unimaginable serious consequences. According to relevant statistics, the frequency of earthquake disasters is on the rise, and the casualties and economic losses caused by earthquakes are also on the rise.

[0003] With the rapid development of computer technology and the increasing demand for earthquake damage simulation, spatial information platforms based on different earthquake damage simulations have gradually emerged. Among the related technologies, the acquisition methods represented by oblique photography and laser scanning provide a direct and effective means for visualizing the real scene of earthquake disasters. They can obtain point cloud data with spatial attributes and coordinates, and present the regional building earthquake damage scene, but the visualization effect is poor. Summary of the invention

[0004] Based on this, it is necessary to provide a method and device for dynamic visualization of earthquake disasters that can improve the visualization effect in response to the above technical problems.

[0005] A method for dynamic visualization of earthquake disasters, the method comprising:

[0006] Obtain initial point cloud data of buildings and scenes in the target area;

[0007] Acquiring the shaking displacement data of the building over time, wherein the shaking displacement data is obtained by simulating earthquake excitation of the building and scene;

[0008] Performing voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building;

[0009] According to the shaking displacement data of the building changing with time, the coordinate value of each point of the point cloud corresponding to each building at the current moment is updated in real time;

[0010] The coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment is rendered in real time to generate a dynamic visualization image for display.

[0011] In one embodiment, the step of obtaining initial point cloud data of buildings and scenes in the target area includes:

[0012] Use drones, laser scanners and depth cameras to collect data on buildings and scenes in the target area, and obtain data corresponding to the drones, laser scanners and depth cameras;

[0013] The data corresponding to the drone, laser scanner and depth camera are fused to generate initial point cloud data of the buildings and scenes in the target area.

[0014] In one embodiment, the step of performing voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building includes:

[0015] Performing voxel downsampling on the initial point cloud data to obtain downsampled point cloud data;

[0016] Using plane fitting technology to extract points belonging to the ground from the downsampled point cloud data, and determine them as ground point clouds;

[0017] Clustering is used to divide the points that do not belong to the ground in the downsampled point cloud data to determine the point cloud corresponding to each building.

[0018] In one embodiment, the updating of the coordinate value of each point of the building point cloud corresponding to each building at the current moment in real time according to the shaking displacement data of the building changing with time includes:

[0019] Performing fitting according to the sway displacement data of the building that varies with time to generate a fitting function that varies with time;

[0020] Binding each point in the fitting function to each point in the point cloud corresponding to each building;

[0021] The coordinate value of each point of the point cloud corresponding to each building is updated in real time according to the fitting function at the current moment.

[0022] In one embodiment, updating the coordinate value of each point of the point cloud corresponding to each building in real time according to the fitting function at the current moment includes:

[0023] According to the fitting function at the current moment and the preset sway coefficient, the coordinate value of each point of the point cloud corresponding to each building is updated.

[0024] In one embodiment, the real-time rendering of the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment to generate a dynamic visualization image for display includes:

[0025] According to preset rendering parameters, the coordinate values ​​of each point of the ground point cloud and the building point cloud corresponding to each building at the current moment are rendered in real time to generate a dynamic building visualization image for display;

[0026] and / or, coloring each point of the point cloud corresponding to each building at the current moment according to the magnitude of the displacement change of each point of the point cloud corresponding to each building at the current moment, to generate a colored point cloud corresponding to each building at the current moment;

[0027] According to preset rendering parameters, the ground point cloud and the colored point cloud corresponding to each building at the current moment are rendered to generate a dynamic building point cloud visualization image for display.

[0028] A device for dynamic visualization of earthquake disasters, comprising:

[0029] Point cloud data acquisition module, used to obtain initial point cloud data of buildings and scenes in the target area;

[0030] A sway displacement data acquisition module, used to acquire the sway displacement data of the building that changes with time, wherein the sway displacement data is acquired by simulating earthquake excitation of the building and scene;

[0031] A point cloud data processing module is used to perform voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building;

[0032] A point cloud data updating module, used to update the coordinate value of each point of the point cloud corresponding to each building at the current moment in real time according to the shaking displacement data of the building changing with time;

[0033] The display module is used to render the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generate a dynamic visualization image for display.

[0034] The above-mentioned earthquake disaster dynamic visualization method and device obtains the initial point cloud data of the buildings and scenes in the target area, and obtains the shaking displacement data of the buildings over time, the shaking displacement data is obtained by simulating earthquake excitation of the buildings and scenes, and then performs voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building, and then updates the coordinate value of each point of the point cloud corresponding to each building at the current moment in real time according to the shaking displacement data of the buildings over time, so as to render the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generate a dynamic visualization image for display. Therefore, by rendering the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generating a dynamic visualization image for display, the regional building earthquake damage scene can be presented more realistically and intuitively, and the visualization effect is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a flow chart of a method for dynamic visualization of earthquake disasters in one embodiment;

[0036] Figure 2 A schematic diagram of point cloud segmentation and extraction in one embodiment;

[0037] Figure 3 A schematic diagram of a building visualization image at a certain moment in an embodiment;

[0038] Figure 4 A schematic diagram of a point cloud visualization image of a building at a certain moment in an embodiment;

[0039] Figure 5 Schematic diagram of the structure of a dynamic visualization device for earthquake disasters in one embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application 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 application and are not used to limit the present application.

[0041] In one embodiment, Figure 1 As shown, a method for dynamic visualization of earthquake disasters is provided, which is described by taking the method applied to a terminal as an example, and includes the following steps:

[0042] Step S220, obtaining initial point cloud data of buildings and scenes in the target area.

[0043] The initial point cloud data may be point cloud data representing three-dimensional information obtained by photographing or scanning and processing buildings and scenes in the target area using one or more acquisition methods.

[0044] It should be understood that the use of point cloud data for dynamic visualization of earthquake disasters occupies less space, which is convenient for saving data storage space. It can also be segmented and extracted directly according to point cloud coordinates, saving computing time, and the computing speed can be optimized and adjusted according to accuracy requirements.

[0045] Step S240, obtaining the sway displacement data of the building over time, wherein the sway displacement data is obtained by simulating earthquake excitation of the building and scene.

[0046] Step S260 , performing voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building.

[0047] Among them, point cloud segmentation and extraction can be to segment the ground and buildings in the initial point cloud data in advance. The schematic diagram of point cloud segmentation and extraction is as follows Figure 2 shown.

[0048] Among them, the voxel downsampling, point cloud segmentation and extraction processing of the initial point cloud data can be processed by Python language and Open3D open source three-dimensional data processing library, which can realize the dynamic visualization needs of regional earthquake disasters on multiple platforms. It has high computing efficiency and can solve the problem of quickly building regional and even city-scale point cloud dynamic visualization scenes. Furthermore, the superiority of Open3D front-end preprocessing algorithms and rendering, and the GPU parallel acceleration that can be set up on the back end can greatly improve computing efficiency. Open3D also supports 3D deep learning, which is convenient for subsequent intelligent upgrades of software.

[0049] Step S280, based on the shaking displacement data of the building changing with time, the coordinate value of each point in the point cloud corresponding to each building at the current moment is updated in real time.

[0050] Among them, according to the shaking displacement data of the building changing with time, the coordinate value of each point in the point cloud corresponding to each building at the current moment is updated in real time. It can be processed by Python language and Open3D open source three-dimensional data processing library, which can realize the dynamic visualization needs of regional earthquake disasters on multiple platforms. It has high calculation efficiency and can solve the problem of quickly building regional or even city-scale point cloud dynamic visualization scenes.

[0051] Step S300, rendering the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, generating a dynamic visualization image for display.

[0052] Among them, the coordinate values ​​of each point of the ground point cloud and the point cloud corresponding to each building at the current moment are rendered in real time to generate dynamic visualization images for display. This can meet the dynamic visualization needs of regional earthquake disasters that can be transplanted across multiple platforms. It has high computational efficiency and can solve the problem of quickly building dynamic visualization scenes of regional or even city-scale point clouds.

[0053] The above-mentioned earthquake disaster dynamic visualization method obtains the initial point cloud data of the buildings and scenes in the target area, and obtains the shaking displacement data of the buildings over time. The shaking displacement data is obtained by simulating earthquake excitation of buildings and scenes, and then performs voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building. Then, according to the shaking displacement data of the buildings over time, the coordinate value of each point of the point cloud corresponding to each building at the current moment is updated in real time, so as to render the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generate a dynamic visualization image for display. Therefore, by rendering the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generating a dynamic visualization image for display, the regional building earthquake damage scene can be presented more realistically and intuitively, and the visualization effect is improved.

[0054] In one possible embodiment, initial point cloud data of buildings and scenes in the target area are obtained, including: using a drone, a laser scanner, and a depth camera to respectively collect data on the buildings and scenes in the target area, and obtaining data corresponding to the drone, the laser scanner, and the depth camera; fusing the data corresponding to the drone, the laser scanner, and the depth camera to generate initial point cloud data of the buildings and scenes in the target area.

[0055] Wherein, a drone is used to photograph buildings and scenes in a target area to obtain data corresponding to the drone, and the data may be an image.

[0056] Wherein, a laser scanner is used to scan buildings and scenes in the target area to obtain data corresponding to the laser scanner, and the data may be point cloud data.

[0057] Wherein, a depth camera is used to shoot buildings and scenes in a target area to obtain data corresponding to the depth camera, and the data may be a depth image.

[0058] Among them, the data corresponding to the drone, laser scanner and depth camera are fused, and the image corresponding to the drone, the point cloud data corresponding to the laser scanner and the depth image corresponding to the depth camera are converted into the same coordinate system and fused into the initial point cloud data of the buildings and scenes in the target area.

[0059] In one possible embodiment, the initial point cloud data is subjected to voxel downsampling and point cloud segmentation and extraction processing to determine the ground point cloud and the point cloud corresponding to each building, including: performing voxel downsampling on the initial point cloud data to obtain downsampled point cloud data; using plane fitting technology to extract points belonging to the ground from the downsampled point cloud data to determine them as ground point clouds; using clustering to divide the points that do not belong to the ground in the downsampled point cloud data to determine the point cloud corresponding to each building.

[0060] In one possible embodiment, the coordinate value of each point of the building point cloud corresponding to each building at the current moment is updated in real time according to the shaking displacement data of the building that changes with time, including: fitting according to the shaking displacement data of the building that changes with time to generate a fitting function that changes with time; binding each point in the fitting function to each point of the point cloud corresponding to each building; and updating the coordinate value of each point of the point cloud corresponding to each building in real time according to the fitting function at the current moment.

[0061] The fitting function may be a deformation function obtained by fitting the displacement response data of each floor of each building at different times (ie, the shaking displacement data of the building that changes with time).

[0062] Among them, the coordinate value of each point of the point cloud corresponding to each building is substituted into the fitting function at the current moment to obtain the coordinate value of each point of the point cloud corresponding to each building at the current moment, that is, the updated coordinate value of each point of the point cloud corresponding to each building.

[0063] It should be understood that by substituting the coordinate value of each point in the point cloud corresponding to each building into the fitting function at the current moment, the coordinate value of each point in the point cloud corresponding to each building at the current moment can be accurately obtained, which can make the visualization effect more realistic, thereby further improving the visualization effect.

[0064] In one possible embodiment, the coordinate value of each point of the point cloud corresponding to each building is updated in real time according to the fitting function at the current moment, including: updating the coordinate value of each point of the point cloud corresponding to each building according to the fitting function at the current moment and a preset shake coefficient.

[0065] Among them, the preset sway coefficient can adjust the sway presentation multiple of each building, increase or decrease the sway amplitude of each building, and improve the visualization effect. For example: when the sway amplitude of each building is relatively small and cannot be observed by the naked eye, the value of the preset sway coefficient can be increased to increase the sway amplitude of each building, so that the sway of each building can be clearly seen by the naked eye.

[0066] In one possible embodiment, the coordinate value of each point of the point cloud corresponding to each building can be updated according to the fitting function at the current moment to obtain the coordinate value of each point of the point cloud corresponding to each building at the current moment. On the basis of obtaining the coordinate value of each point of the point cloud corresponding to each building at the current moment, the coordinate value of each point of the point cloud corresponding to each building at the current moment is adjusted according to the preset shake coefficient. Assume that the coordinate value of a point A at the current moment is (0.1, 0, 3), and the preset shake coefficient is: 100. Multiply the x-coordinate value of point A by the preset shake coefficient, that is, 0.1*100=10. Then the updated coordinates of point A are: (10, 0, 3). The updated coordinate value (10, 0, 3) of point A is rendered.

[0067] In a possible embodiment, the coordinate values ​​of each point of the ground point cloud and the point cloud corresponding to each building at the current moment are rendered in real time to generate a dynamic visualization image for display, including: according to preset rendering parameters, the coordinate values ​​of each point of the ground point cloud and the building point cloud corresponding to each building at the current moment are rendered in real time to generate a dynamic building visualization image for display; and / or, according to the size of the displacement change of each point of the point cloud corresponding to each building at the current moment, each point of the point cloud corresponding to each building at the current moment is colored to generate a colored point cloud corresponding to each building at the current moment; according to preset rendering parameters, the ground point cloud and the colored point cloud corresponding to each building at the current moment are rendered to generate a dynamic building point cloud visualization image for display.

[0068] Among them, the preset rendering parameters may include: point cloud size, background color, visualization window position and size, etc.

[0069] Among them, according to the displacement change of each point of the point cloud corresponding to each building at the current moment, each point of the point cloud corresponding to each building at the current moment is colored. The point clouds with the maximum and minimum displacement changes can be set to two colors of complementary colors, and the remaining point clouds are interpolated and color matched according to the displacement size. By assigning colors to the point clouds, it can be intuitively seen that the floors of each building with larger displacement changes can improve the visualization effect.

[0070] The dynamic building visualization image can be a dynamic image showing the displacement change of each building in the target area when it is excited by an earthquake, such as Figure 3 Schematic diagram of a building visualization image at a certain moment in time.

[0071] The dynamic building point cloud visualization image can be a point cloud image with colors that dynamically displays the displacement changes of each building in the target area when it is excited by the earthquake. For example, the floor with the largest displacement change of each building can be intuitively seen according to the color. Figure 4 Schematic diagram of a building point cloud visualization image at a certain moment.

[0072] The above earthquake disaster dynamic visualization method adopts open3D, which can realize cross-platform point cloud data processing and dynamic visualization rendering requirements. The deformation function obtained by fitting the displacement response of each floor at different times is interpolated, and the coordinates of the point cloud are substituted into the deformation function to obtain the precise displacement of the point. The visualization effect is more realistic. The point cloud data used occupies less space, which is convenient for saving data storage space. It can be directly segmented and extracted according to the point cloud coordinates, saving calculation time. The operation rate can be optimized and adjusted according to the model accuracy requirements. The Open3D front-end preprocessing algorithm and rendering are superior, and the back-end can set GPU parallel acceleration to greatly improve the calculation efficiency. The data source of the point cloud format is relatively wide, which can be drones, laser scanners, and depth cameras. The Open3D used supports 3D deep learning, which is convenient for the subsequent intelligent upgrade of software.

[0073] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0074] In one embodiment, Figure 5 As shown, a dynamic visualization device for earthquake disasters is provided. The device can adopt a software module or a hardware module, or a combination of the two to become a part of a computer device. The device specifically includes:

[0075] The point cloud data acquisition module 510 is used to acquire initial point cloud data of buildings and scenes in the target area;

[0076] The sway displacement data acquisition module 520 is used to acquire the sway displacement data of the building over time. The sway displacement data is obtained by simulating earthquake excitation buildings and scenes.

[0077] The point cloud data processing module 530 is used to perform voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building;

[0078] The point cloud data updating module 540 is used to update the coordinate value of each point of the point cloud corresponding to each building at the current moment in real time according to the shaking displacement data of the building changing over time;

[0079] The display module 550 is used to render the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generate a dynamic visualization image for display.

[0080] The specific definition of the earthquake disaster dynamic visualization device can be found in the definition of the earthquake disaster dynamic visualization method above, which will not be repeated here. Each module in the above earthquake disaster dynamic visualization device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0081] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0082] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0083] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0084] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0088] The present application implements all or part of the processes in the above-mentioned embodiment method, and may also be completed through a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0089] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0090] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for dynamic visualization of earthquake disasters, characterized in that: The method comprises: Obtain initial point cloud data of buildings and scenes in the target area; Acquiring the shaking displacement data of the building over time, wherein the shaking displacement data is obtained by simulating earthquake excitation of the building and scene; Performing voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building; According to the shaking displacement data of the building changing with time, the coordinate value of each point of the point cloud corresponding to each building at the current moment is updated in real time; The coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment is rendered in real time to generate a dynamic visualization image for display.

2. The method according to claim 1, characterized in that The step of obtaining initial point cloud data of buildings and scenes in the target area includes: Use drones, laser scanners and depth cameras to collect data on buildings and scenes in the target area, and obtain data corresponding to the drones, laser scanners and depth cameras; The data corresponding to the drone, laser scanner and depth camera are fused to generate initial point cloud data of the buildings and scenes in the target area.

3. The method according to claim 1, characterized in that The step of performing voxel downsampling, point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building includes: Performing voxel downsampling on the initial point cloud data to obtain downsampled point cloud data; Using plane fitting technology to extract points belonging to the ground from the downsampled point cloud data, and determine them as ground point clouds; Clustering is used to divide the points that do not belong to the ground in the downsampled point cloud data to determine the point cloud corresponding to each building.

4. The method according to claim 1, characterized in that: The method of updating the coordinate value of each point of the building point cloud corresponding to each building at the current moment in real time according to the shaking displacement data of the building changing with time includes: Performing fitting according to the sway displacement data of the building that varies with time to generate a fitting function that varies with time; Binding each point in the fitting function to each point in the point cloud corresponding to each building; The coordinate value of each point of the point cloud corresponding to each building is updated in real time according to the fitting function at the current moment.

5. The method according to claim 1, characterized in that The updating of the coordinate value of each point of the point cloud corresponding to each building in real time according to the fitting function at the current moment includes: According to the fitting function at the current moment and the preset sway coefficient, the coordinate value of each point of the point cloud corresponding to each building is updated.

6. The method according to any one of claims 1 to 5, characterized in that: The real-time rendering of the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment to generate a dynamic visualization image for display includes: According to preset rendering parameters, the coordinate values ​​of each point of the ground point cloud and the building point cloud corresponding to each building at the current moment are rendered in real time to generate a dynamic building visualization image for display; and / or, coloring each point of the point cloud corresponding to each building at the current moment according to the magnitude of the displacement change of each point of the point cloud corresponding to each building at the current moment, to generate a colored point cloud corresponding to each building at the current moment; According to preset rendering parameters, the ground point cloud and the colored point cloud corresponding to each building at the current moment are rendered to generate a dynamic building point cloud visualization image for display.

7. A dynamic visualization device for earthquake disasters, characterized in that: The device comprises: Point cloud data acquisition module, used to obtain initial point cloud data of buildings and scenes in the target area; A sway displacement data acquisition module, used to acquire the sway displacement data of the building that changes with time, wherein the sway displacement data is acquired by simulating earthquake excitation of the building and scene; A point cloud data processing module is used to perform voxel downsampling and point cloud segmentation and extraction processing on the initial point cloud data to determine the ground point cloud and the point cloud corresponding to each building; A point cloud data updating module, used to update the coordinate value of each point of the point cloud corresponding to each building at the current moment in real time according to the shaking displacement data of the building changing with time; The display module is used to render the coordinate value of each point of the ground point cloud and the point cloud corresponding to each building at the current moment in real time, and generate a dynamic visualization image for display.