Dual-mode three-dimensional modeling method and device based on temperature field and real-scene video stream

Through a dual-mode three-dimensional modeling method based on temperature field and real-scene video stream, the temperature field and real-scene three-dimensional model of the fire scene are constructed, which solves the problem of simple display of fire scene information in the existing technology and achieves detailed display and display of fire source distribution. Improvement of fire fighting efficiency.

CN111968221BActive Publication Date: 2024-10-15GUANGDONG ZHONGKE RUITAI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010769149.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-03
Publication Date
2024-10-15
Estimated Expiration
2040-08-03

AI Technical Summary

Technical Problem

The existing three-dimensional model of the fire scene is difficult to accurately restore the actual situation and fire source distribution of the fire scene, resulting in possible errors in the firefighting plan.

Method used

A dual-mode 3D modeling method based on temperature field and real-scene video streams is used to collect data through infrared cameras and visible light cameras, build a temperature field 3D model and a real-scene 3D model, and output them on the same screen to display the fire source distribution in detail.

Benefits of technology

It achieves accurate restoration and detailed display of fire scene conditions, improves firefighters' understanding of fire source distribution, and optimizes the formulation and execution efficiency of fire fighting plans.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111968221B_ABST
    Figure CN111968221B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a dual-mode three-dimensional modeling method and device based on temperature field and real-scene video stream. The technical solution provided by the embodiment of the present application collects point cloud data of the fire scene, collects infrared images of the fire scene through an infrared camera, collects video stream images of the fire scene through a visible light camera, records the first pose information of the infrared camera and the second pose information of the visible light camera, and further constructs an initial three-dimensional model of the fire scene based on the point cloud data, matches the infrared image with the initial three-dimensional model based on the first pose information, constructs a temperature field three-dimensional model, fuses the video stream image with the initial three-dimensional model based on the second pose information, constructs a real-scene three-dimensional model, and finally outputs and displays the temperature field three-dimensional model and the real-scene three-dimensional model on the same screen. By adopting the above-mentioned technical means, the construction and display of the temperature field three-dimensional model and the real-scene three-dimensional model of the fire scene can be realized, the fire scene situation can be restored, and the distribution of fire sources can be displayed in detail.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of three-dimensional model construction, and in particular to a dual-mode three-dimensional modeling method and device based on temperature field and real-scene video stream. Background Art

[0002] At present, when a fire occurs, if the fire is not put out in time, it will inevitably cause economic losses and even casualties. Therefore, when a fire occurs, how to put out the fire in time has always been a concern of people. To this end, there is a three-dimensional modeling method. When a large fire occurs, by three-dimensional modeling of the fire scene, the layout of buildings and various obstacles at the fire scene can be accurately restored. Firefighters can make rescue layouts and formulate corresponding firefighting plans based on the three-dimensional model of the fire scene, thereby improving the efficiency of firefighting, extinguishing the fire source in time, and protecting people's lives and property.

[0003] However, due to the complex situation at the fire scene and the ever-changing environment, it is difficult to restore the actual situation at the fire scene or the specific distribution of the fire source only through a three-dimensional model. A simple three-dimensional model can easily mislead the rescue layout and lead to errors in the fire fighting plan. Summary of the invention

[0004] The embodiments of the present application provide a dual-mode three-dimensional modeling method and device based on temperature field and real-scene video stream, which can accurately restore the fire scene situation, display the distribution of fire sources in detail, and optimize the fire scene information display effect.

[0005] In a first aspect, an embodiment of the present application provides a dual-mode 3D modeling method based on a temperature field and a real-scene video stream, comprising:

[0006] Collecting point cloud data of the fire scene, and collecting infrared images of the fire scene through an infrared camera, collecting video stream images of the fire scene through a visible light camera, and recording the first pose information of the infrared camera and the second pose information of the visible light camera;

[0007] constructing an initial three-dimensional model of the fire scene based on the point cloud data, matching the infrared image with the initial three-dimensional model based on the first posture information to construct a temperature field three-dimensional model, and fusing the video stream image with the initial three-dimensional model based on the second posture information to construct a real-scene three-dimensional model;

[0008] The temperature field three-dimensional model and the real scene three-dimensional model are output and displayed on the same screen.

[0009] Furthermore, matching the infrared image with the initial three-dimensional model based on the first posture information to construct a three-dimensional model of the temperature field includes:

[0010] Establishing a matching relationship between each point on the infrared image and a spatial point of the initial three-dimensional model based on the first posture information;

[0011] Determine the temperature value of each point on the infrared image, and map the temperature value of each point on the infrared image to the initial three-dimensional model based on the matching relationship;

[0012] The initial three-dimensional model is interpolated to construct a three-dimensional temperature field model.

[0013] Further, determining the temperature value of each point on the infrared image includes:

[0014] The temperature value of each point on the infrared image is determined based on the image features of each point.

[0015] Furthermore, based on the second posture information, the video stream image is fused with the initial three-dimensional model to construct a real-scene three-dimensional model, including:

[0016] constructing a virtual viewing volume of the visible light camera on the initial three-dimensional model based on the second posture information;

[0017] Projecting the video stream image onto the initial three-dimensional model using a projection texture technology based on the shooting range of the virtual viewing volume;

[0018] The real-scene three-dimensional model is constructed by texture fusion of the video stream image and the initial three-dimensional model.

[0019] Furthermore, the temperature field three-dimensional model and the real scene three-dimensional model are output and displayed on the same screen, and further includes:

[0020] The temperature field three-dimensional model and the real-scene three-dimensional model are displayed on a display screen in the same orientation, and in response to adjusting the display orientation of the temperature field three-dimensional model, the display orientation of the real-scene three-dimensional model is adjusted accordingly, or in response to adjusting the display orientation of the real-scene three-dimensional model, the display orientation of the temperature field three-dimensional model is adjusted accordingly.

[0021] Furthermore, after the temperature field three-dimensional model and the real scene three-dimensional model are output and displayed on the same screen, the method further includes:

[0022] The temperature value of each spatial point on the three-dimensional model of the temperature field is compared with a preset temperature threshold, a high-temperature position where the temperature exceeds the standard is determined, and the high-temperature position is marked on the three-dimensional model of the temperature field.

[0023] Furthermore, after determining the high temperature position where the temperature exceeds the standard and marking the high temperature position on the three-dimensional model of the temperature field, the method further includes:

[0024] According to the coordinate point of the high temperature position, the corresponding coordinate point is determined in the real scene three-dimensional model and marked.

[0025] In a second aspect, an embodiment of the present application provides a dual-mode three-dimensional modeling device based on a temperature field and a real-scene video stream, comprising:

[0026] An acquisition module is used to acquire point cloud data of the fire scene, acquire infrared images of the fire scene through an infrared camera, acquire video stream images of the fire scene through a visible light camera, and record the first pose information of the infrared camera and the second pose information of the visible light camera;

[0027] A construction module, configured to construct an initial three-dimensional model of the fire scene based on the point cloud data, match the infrared image with the initial three-dimensional model based on the first posture information to construct a temperature field three-dimensional model, and fuse the video stream image with the initial three-dimensional model based on the second posture information to construct a real-scene three-dimensional model;

[0028] The display module is used to output and display the temperature field three-dimensional model and the real scene three-dimensional model on the same screen.

[0029] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0030] memory and one or more processors;

[0031] The memory is used to store one or more programs;

[0032] When the one or more programs are executed by the one or more processors, the one or more processors implement the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream as described in the first aspect.

[0033] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the dual-mode three-dimensional modeling method based on temperature field and real-life video stream as described in the first aspect.

[0034] The embodiment of the present application collects point cloud data of the fire scene, collects infrared images of the fire scene through an infrared camera, collects video stream images of the fire scene through a visible light camera, records the first pose information of the infrared camera and the second pose information of the visible light camera, and further constructs an initial three-dimensional model of the fire scene based on the point cloud data, matches the infrared image with the initial three-dimensional model based on the first pose information, constructs a temperature field three-dimensional model, fuses the video stream image with the initial three-dimensional model based on the second pose information, constructs a real-scene three-dimensional model, and finally outputs and displays the temperature field three-dimensional model and the real-scene three-dimensional model on the same screen. By adopting the above technical means, the construction and display of the temperature field three-dimensional model and the real-scene three-dimensional model of the fire scene can be realized, the fire scene situation can be accurately restored, and the distribution of fire sources can be displayed in detail. This can facilitate firefighters to understand the real-time fire situation, formulate fire response plans, and optimize the fire scene information display effect and fire rescue efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flow chart of a dual-mode three-dimensional modeling method based on temperature field and real-scene video stream provided in Example 1 of the present application;

[0036] Figure 2 It is a flow chart of constructing a three-dimensional temperature field model in Example 1 of the present application;

[0037] Figure 3 This is a schematic diagram of spatial point matching in Example 1 of the present application;

[0038] Figure 4 It is a flowchart of constructing a real-scene three-dimensional model in the first embodiment of the present application;

[0039] Figure 5 It is a structural schematic diagram of a dual-mode three-dimensional modeling device based on temperature field and real-scene video stream provided in Example 2 of the present application;

[0040] Figure 6 It is a structural schematic diagram of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0042] The dual-mode 3D modeling method based on temperature field and real-scene video stream provided by the present application aims to restore the fire scene situation more realistically and display the fire source distribution in detail by constructing a temperature field 3D model and a real-scene 3D model showing the fire scene. For firefighters, the distribution of fire sources and high-temperature points can be specifically understood based on the real-scene 3D model in combination with the temperature field distribution, and the fire response plan can be formulated in combination with the real-scene 3D model and the temperature field 3D model, which can effectively improve the efficiency of fire fighting. Compared with the traditional fire scene 3D model construction method, when constructing the fire scene 3D model, it only constructs the 3D model based on the point cloud data of the fire scene to obtain the 3D model, and the fire scene information it can provide is relatively small. Based on such a 3D model, firefighters can only understand the layout of buildings, obstacles, etc. related to the fire scene. However, there is no way to know the real-time changing fire situation. Obviously, it is difficult to understand the details of the fire scene based on such a 3D model. Based on this, the dual-mode 3D modeling method based on temperature field and real-scene video stream of the embodiment of the present application is provided to solve the technical problem of the simple display of the existing fire scene 3D model information.

[0043] Embodiment 1:

[0044] Figure 1A flow chart of a dual-mode 3D modeling method based on a temperature field and a real-scene video stream provided in the first embodiment of the present application is given. The dual-mode 3D modeling method based on a temperature field and a real-scene video stream provided in this embodiment can be executed by a dual-mode 3D modeling device based on a temperature field and a real-scene video stream. The dual-mode 3D modeling device based on a temperature field and a real-scene video stream can be implemented by software and / or hardware. The dual-mode 3D modeling device based on a temperature field and a real-scene video stream can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the dual-mode 3D modeling device based on a temperature field and a real-scene video stream can be a computer, a tablet, a mobile phone, or other smart terminal with a display screen.

[0045] The following description is made by taking the dual-mode 3D modeling device based on temperature field and real-scene video stream as an example of the main body of the dual-mode 3D modeling method based on temperature field and real-scene video stream. Figure 1 The dual-mode 3D modeling method based on temperature field and real-scene video stream specifically includes:

[0046] S110, collecting point cloud data of the fire scene, collecting infrared images of the fire scene through an infrared camera, collecting video stream images of the fire scene through a visible light camera, and recording the first pose information of the infrared camera and the second pose information of the visible light camera.

[0047] Exemplarily, in an embodiment of the present application, when a fire occurs, a laser radar, an infrared camera and a visible light camera will be used to scan and photograph the fire scene in real time by using a drone. Among them, the laser radar is used to collect point cloud data of the fire scene, the infrared camera is used to collect infrared images of the fire scene, and the visible light camera is used to collect video stream images of the fire scene. The above-mentioned laser radar, infrared camera and visible light camera can be respectively carried on different drones to collect corresponding data, or they can be carried on the same drone to collect corresponding data. In addition, according to actual needs, the number of drones can be one or more, that is, when obtaining point cloud data, infrared images or video stream images of the fire scene, any of the above data can be collected by multiple devices. For example, four drones equipped with visible light cameras are used to obtain video stream images of the fire scene, and different visible light cameras are responsible for shooting in different directions. Subsequently, the video stream images taken by the four cameras are spliced ​​to obtain a panoramic video stream image of the corresponding fire scene. It should be noted that in order to facilitate the subsequent model construction, the laser radar, infrared camera and visible light camera will be set at the same height and position to obtain corresponding data, so that the relevant spatial point data can be matched when the 3D model is constructed later. Therefore, drones are generally used to carry laser radar, infrared camera and visible light camera to collect point cloud data, infrared images and video stream images of the fire scene.

[0048] Furthermore, the relevant data collected by the above-mentioned laser radar, infrared camera and visible light camera are all sent to the dual-mode three-dimensional modeling device based on the temperature field and real-scene video stream of the embodiment of the present application, so as to construct the temperature field three-dimensional model and the real-scene three-dimensional model based on the acquired data. It should be noted that when acquiring the above-mentioned data, the dual-mode three-dimensional modeling device based on the temperature field and the real-scene video stream further acquires the posture information of the infrared camera and the visible light camera, defines the posture information of the infrared camera as the first posture information, and defines the posture information of the visible light camera as the second posture information. The above-mentioned posture information is recorded corresponding to the corresponding infrared image data or video stream image data collected, so as to be used for subsequent calls to construct the temperature field three-dimensional model and the real-scene three-dimensional model.

[0049] S120. Construct an initial three-dimensional model of the fire scene based on the point cloud data, match the infrared image with the initial three-dimensional model based on the first posture information to construct a temperature field three-dimensional model, and fuse the video stream image with the initial three-dimensional model based on the second posture information to construct a real-scene three-dimensional model.

[0050] Further, after the above-mentioned relevant data are collected, the initial three-dimensional model is first constructed based on the point cloud data. The construction of the temperature field three-dimensional model and the real-scene three-dimensional model of the embodiment of the present application is constructed based on the initial three-dimensional model, by mapping the collected infrared image data and the real-scene video stream image data to the corresponding positions on the initial three-dimensional model, so as to obtain the temperature field three-dimensional model and the real-scene three-dimensional model. In order to ensure that the mapped position is accurate, it is necessary to determine the position of the infrared camera and the visible light camera relative to the initial three-dimensional model according to the first pose information and the second pose information collected above. It can be understood that the range of the projection of the infrared camera and the visible light camera on the three-dimensional model is the range of the infrared camera and the visible light camera to collect relevant data. Based on this principle, matching and mapping of relevant data can be carried out to construct the temperature field three-dimensional model and the real-scene three-dimensional model.

[0051] Prior to this, the initial 3D model of the fire scene is constructed by using the point cloud data collected by the laser radar. There are many technical means for constructing 3D models based on point cloud data in the prior art. The present application embodiment does not impose any fixed restrictions on this and will not be described in detail here. After the initial 3D model is constructed, the temperature field 3D model and the real scene 3D model can be constructed based on the initial 3D model. Figure 2 , the construction process of the temperature field three-dimensional model includes:

[0052] S1201, establishing a matching relationship between each point on the infrared image and a spatial point of the initial three-dimensional model based on the first posture information;

[0053] S1202, determining the temperature value of each point on the infrared image, and mapping the temperature value of each point on the infrared image to the initial three-dimensional model based on the matching relationship;

[0054] S1203: Perform interpolation processing on the initial three-dimensional model to construct a three-dimensional temperature field model.

[0055] Specifically, since the infrared image acquired by the infrared camera is two-dimensional, it is necessary to match the points on the infrared image with the spatial points on the three-dimensional model to establish a matching relationship. Moreover, since a three-dimensional model of the temperature field is to be established, what should actually be determined is the temperature value of each spatial point in the initial three-dimensional model. Therefore, the present application completes the construction of the three-dimensional model of the temperature field by determining the temperature value of each point on the infrared image, and then mapping the temperature value of each point on the infrared image to the position of the corresponding spatial point of the initial three-dimensional model according to the matching relationship. The temperature value of each point is determined based on the image features of each point on the infrared image. It can be understood that, based on the infrared temperature measurement technology, the infrared image features of points with different temperatures are different. Therefore, the temperature value of each point can be determined by image feature recognition and comparison.

[0056] Furthermore, when matching the points of the infrared image with the spatial points of the initial three-dimensional model, refer to Figure 3 , assuming that a point p in three-dimensional space is [x, y, z] T , corresponding to the first pose information, rotation matrix and translation vector are A, R, t respectively, then the coordinates of point P in the space in the camera coordinate system are:

[0057] p t =R(pt)

[0058] Then in the camera coordinate system, p t =[x t ,y t ,z t ]. t After deformation, we get p t ′=[x t / z t ,y t / z t ,1]. t The coordinates in the image coordinate system are:

[0059] p i =A*p t '

[0060] All three-dimensional points in the space are projected onto the two-dimensional image plane through projection transformation, and each spatial point can be connected with a point in the infrared image, which is the matching relationship. Figure 3 As shown, the adjacent points P in three-dimensional space l , P2, P3, after projection transformation to the imaging plane of the infrared camera, the corresponding points on the infrared image are P l ′, P2′, P3′. l , P2, P3 and P l ′, P2′, and P3′ have the same topological structure, and a direct matching relationship between the initial 3D model and the infrared image is established. The temperature values ​​of the corresponding points in the infrared image are returned to the initial 3D model, and a preliminary 3D temperature distribution can be obtained. However, the 3D model information is not strictly equivalent to the information in the infrared image, that is, in the matching process, some points in the infrared image may not have corresponding points in the initial 3D model. Therefore, the 3D model needs to be interpolated.

[0061] In the embodiment of the present application, in the thermal infrared image, it is assumed that a point P c ′ in P l ′, P2′, P3′, then P c ′ and P l ′, P2′, P3′ satisfy:

[0062] ∠p1′p c ′p3′+∠p2′p c ′p3′+∠p1′p c 'p2'=2π (1)

[0063] According to the above formula (1), P can be determined c ′The ray equation in the initial three-dimensional model space:

[0064] p c =p c ′*A -1 R -1 +t

[0065] P l ′, P2′, P3′, the plane where they are located can be expressed as:

[0066]

[0067] In this way, a complete three-dimensional model of the temperature field is obtained by interpolating the initial three-dimensional model.

[0068] Further, see Figure 4 The construction process of the real-scene three-dimensional model in the embodiment of the present application includes:

[0069] S1204, constructing a virtual viewing volume of the visible light camera on the initial three-dimensional model based on the second posture information;

[0070] S1205, projecting the video stream image onto the initial three-dimensional model using a projection texture technology based on the shooting range of the virtual viewing volume;

[0071] S1206: Construct a real-scene three-dimensional model by performing texture fusion on the video stream image and the initial three-dimensional model.

[0072] Specifically, when constructing a real-scene three-dimensional model, it is required that the spatial position of the model in the initial three-dimensional model and the relative position, orientation, and size between the models are consistent with the video stream image of the real scene. Therefore, the embodiment of the present application adopts the method of mounting the laser radar and the visible light camera on the same drone for data collection. Further, based on the second posture information, the longitude and latitude coordinates of the earth's surface where the visible light camera is located are converted into world coordinates represented by Cartesian coordinates in the initial three-dimensional model, and a virtual projector model and a virtual visual body corresponding to the virtual projector model are added to the initial three-dimensional model accordingly. The virtual projector model is set in the initial three-dimensional model in correspondence with the position of the visible camera in the real scene, and is used to project the video texture in the initial three-dimensional model. At the same time, the initial posture value of the virtual projector model of the initial three-dimensional model is set according to the posture information of the visible light camera. Further, the video frame preprocessing of the real video stream image is performed to obtain a dynamic video texture, and the preprocessed video data is projected into the initial three-dimensional model using projection texture technology. Furthermore, the static texture in the initial 3D model and / or the original remote sensing image texture of the surface are fused with the dynamic video texture in the video stream image, and texture fusion is used for the intersecting coverage areas of different projectors in the virtual projector model. In this way, the construction of the real scene 3D model can be completed.

[0073] It should be noted that the above is only one method of constructing the temperature field three-dimensional model and the real-scene three-dimensional model. In actual applications, a variety of model construction methods can be used to construct the temperature field three-dimensional model and the real-scene three-dimensional model according to actual model construction requirements. The embodiments of this application do not impose fixed restrictions on this.

[0074] S130: Output and display the temperature field three-dimensional model and the real scene three-dimensional model on the same screen.

[0075] Finally, based on the constructed temperature field three-dimensional model and real scene three-dimensional model, the above two models are output to the display screen of the dual-mode three-dimensional modeling device based on the temperature field and the real scene video stream for display, so that firefighters can understand the fire scene situation and the distribution of fire sources according to the above models, and then optimize the formulation of fire response plans. Exemplarily, in actual applications, firefighters receive point cloud data, infrared images and video stream images of the fire scene through a tablet computer, and record the first pose information of the corresponding infrared camera and the second pose information of the visible light camera. The temperature field three-dimensional model and the real scene three-dimensional model are constructed by the dual-mode three-dimensional modeling method based on the temperature field and the real scene video stream of the embodiment of the present application, and then the temperature field three-dimensional model and the real scene three-dimensional model are output and displayed on the display interface of the tablet computer. Based on the temperature field three-dimensional model and the real scene three-dimensional model of the fire scene displayed on the display interface, firefighters can intuitively and concretely understand the specific situation of the fire scene, so as to assist firefighters in formulating fire response plans and optimize the fire scene information display effect and fire rescue efficiency. It should be noted that due to the changeable situation at the fire scene, when the updated data of the infrared image and the real-scene video stream image of the fire scene are received again subsequently, the temperature field three-dimensional model and the real-scene three-dimensional model can also be updated and displayed based on the dual-mode three-dimensional modeling method based on the temperature field and the real-scene video stream of the embodiment of the present application. This can ensure that the display of the temperature field three-dimensional model and the real-scene three-dimensional model is real-time, and further optimize the fire scene information display effect.

[0076] In one embodiment, the dual-mode 3D modeling device based on the temperature field and the real-scene video stream also displays the temperature field 3D model and the real-scene 3D model in the same orientation on the display screen, and in response to the adjustment of the display orientation of the temperature field 3D model, the display orientation of the real-scene 3D model is correspondingly adjusted, or in response to the adjustment of the display orientation of the real-scene 3D model, the display orientation of the temperature field 3D model is correspondingly adjusted. It can be understood that by displaying the temperature field 3D model and the real-scene 3D model in the same orientation, it is convenient for firefighters to compare and view the real scene and temperature distribution of the fire scene, and obtain a better information viewing effect. Similarly, when the user operates the display orientation of any one of the temperature field 3D model and the real-scene 3D model, the dual-mode 3D modeling device based on the temperature field and the real-scene video stream responds to the user's operation and adjusts the display orientation of the other 3D model accordingly, so as to achieve the real-time same-orientation display effect of the temperature field 3D model and the real-scene 3D model. Of course, according to actual needs, the user can also adjust the display orientation of only one of the temperature field three-dimensional model and the real scene three-dimensional model through corresponding control operations, while keeping the other unchanged.

[0077] Furthermore, in one embodiment, after the temperature field three-dimensional model and the real-scene three-dimensional model are displayed on the display screen, the embodiment of the present application further compares the temperature value of each spatial point on the temperature field three-dimensional model with a preset temperature threshold, determines the high-temperature position where the temperature exceeds the standard, and marks the high-temperature position on the temperature field three-dimensional model. In addition, in order to facilitate comparison and viewing, the embodiment of the present application also determines and marks the corresponding coordinate points on the real-scene three-dimensional model according to the coordinate points of the high-temperature positions. It can be understood that by marking the high-temperature positions on the temperature field three-dimensional model and the real-scene three-dimensional model, it is convenient for users to understand the high-temperature positions at the fire scene, which can facilitate the determination of the fire source, the rescue path, and the fire response plan, and further optimize the fire scene information display effect and fire rescue efficiency.

[0078] As mentioned above, by collecting point cloud data of the fire scene, collecting infrared images of the fire scene through an infrared camera, collecting video stream images of the fire scene through a visible light camera, recording the first pose information of the infrared camera and the second pose information of the visible light camera, further constructing the initial three-dimensional model of the fire scene based on the point cloud data, matching the infrared image with the initial three-dimensional model based on the first pose information, constructing a temperature field three-dimensional model, merging the video stream image with the initial three-dimensional model based on the second pose information, constructing a real-scene three-dimensional model, and finally outputting the temperature field three-dimensional model and the real-scene three-dimensional model on the same screen for display. By adopting the above technical means, the construction and display of the temperature field three-dimensional model and the real-scene three-dimensional model of the fire scene can be realized, the fire scene situation can be accurately restored, and the distribution of the fire source can be displayed in detail. This can facilitate firefighters to understand the real-time fire situation, formulate fire response plans, and optimize the fire scene information display effect and fire rescue efficiency.

[0079] Embodiment 2:

[0080] Based on the above embodiments, Figure 5 This is a schematic diagram of the structure of a dual-mode 3D modeling device based on temperature field and real-scene video stream provided in the second embodiment of the present application. Figure 5 The dual-mode three-dimensional modeling device based on temperature field and real-scene video stream provided in this embodiment specifically includes: an acquisition module 21, a construction module 22 and a display module 23.

[0081] The acquisition module 21 is used to acquire point cloud data of the fire scene, and to acquire infrared images of the fire scene through an infrared camera, and to acquire video stream images of the fire scene through a visible light camera, and to record the first pose information of the infrared camera and the second pose information of the visible light camera;

[0082] The construction module 22 is used to construct an initial three-dimensional model of the fire scene based on the point cloud data, match the infrared image with the initial three-dimensional model based on the first posture information to construct a temperature field three-dimensional model, and fuse the video stream image with the initial three-dimensional model based on the second posture information to construct a real-scene three-dimensional model;

[0083] The display module 23 is used to output and display the temperature field three-dimensional model and the real scene three-dimensional model on the same screen.

[0084] As mentioned above, by collecting point cloud data of the fire scene, collecting infrared images of the fire scene through an infrared camera, collecting video stream images of the fire scene through a visible light camera, recording the first pose information of the infrared camera and the second pose information of the visible light camera, further constructing the initial three-dimensional model of the fire scene based on the point cloud data, matching the infrared image with the initial three-dimensional model based on the first pose information, constructing a temperature field three-dimensional model, merging the video stream image with the initial three-dimensional model based on the second pose information, constructing a real-scene three-dimensional model, and finally outputting the temperature field three-dimensional model and the real-scene three-dimensional model on the same screen for display. By adopting the above technical means, the construction and display of the temperature field three-dimensional model and the real-scene three-dimensional model of the fire scene can be realized, the fire scene situation can be accurately restored, and the distribution of the fire source can be displayed in detail. This can facilitate firefighters to understand the real-time fire situation, formulate fire response plans, and optimize the fire scene information display effect and fire rescue efficiency.

[0085] The dual-mode three-dimensional modeling device based on temperature field and real-scene video stream provided in the second embodiment of the present application can be used to execute the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream provided in the above-mentioned first embodiment, and has corresponding functions and beneficial effects.

[0086] Embodiment three:

[0087] Embodiment 3 of the present application provides an electronic device, referring to Figure 6 The electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The number of processors in the electronic device can be one or more, and the number of memories in the electronic device can be one or more. The processor, memory, communication module, input device and output device of the electronic device can be connected via a bus or other means.

[0088] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream described in any embodiment of the present application (for example, the acquisition module, construction module and display module in the dual-mode three-dimensional modeling device based on temperature field and real-scene video stream). The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0089] The communication module 33 is used for data transmission.

[0090] The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, that is, realizes the above-mentioned dual-mode three-dimensional modeling method based on temperature field and real-scene video stream.

[0091] The input device 34 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen.

[0092] The electronic device provided above can be used to execute the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream provided in the first embodiment above, and has corresponding functions and beneficial effects.

[0093] Embodiment 4:

[0094] An embodiment of the present application also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to execute a dual-mode three-dimensional modeling method based on a temperature field and a real-scene video stream. The dual-mode three-dimensional modeling method based on a temperature field and a real-scene video stream includes: collecting point cloud data of the fire scene, and collecting infrared images of the fire scene through an infrared camera, collecting video stream images of the fire scene through a visible light camera, and recording the first pose information of the infrared camera and the second pose information of the visible light camera; constructing an initial three-dimensional model of the fire scene based on the point cloud data, matching the infrared image with the initial three-dimensional model based on the first pose information, constructing a temperature field three-dimensional model, and fusing the video stream image with the initial three-dimensional model based on the second pose information to construct a real-scene three-dimensional model; and outputting and displaying the temperature field three-dimensional model and the real-scene three-dimensional model on the same screen.

[0095] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.

[0096] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present application is not limited to the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream as described above, and can also execute related operations in the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream provided in any embodiment of the present application.

[0097] The dual-mode three-dimensional modeling device based on temperature field and real-scene video stream, storage medium and electronic device provided in the above embodiments can execute the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream provided in any embodiment of the present application.

[0098] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. A dual-mode 3D modeling method based on temperature field and real-scene video stream, characterized in that: include: Collecting point cloud data of the fire scene, and collecting infrared images of the fire scene through an infrared camera, collecting video stream images of the fire scene through a visible light camera, and recording the first pose information of the infrared camera and the second pose information of the visible light camera; An initial three-dimensional model of the fire scene is constructed based on the point cloud data, and the infrared image is matched with the initial three-dimensional model based on the first posture information to construct a temperature field three-dimensional model, including establishing a matching relationship between each point on the infrared image and a spatial point of the initial three-dimensional model based on the first posture information, determining the temperature value of each point on the infrared image, mapping the temperature value of each point on the infrared image to the initial three-dimensional model based on the matching relationship, performing interpolation processing on the initial three-dimensional model to construct a temperature field three-dimensional model, and fusing the video stream image with the initial three-dimensional model based on the second posture information to construct a real-scene three-dimensional model, including constructing a virtual viewing volume of the visible light camera on the initial three-dimensional model based on the second posture information, projecting the video stream image into the initial three-dimensional model using a projection texture technology based on the shooting range of the virtual viewing volume, and constructing a real-scene three-dimensional model by texture fusion of the video stream image and the initial three-dimensional model; The temperature field three-dimensional model and the real-scene three-dimensional model are output and displayed on the same screen, which includes displaying the temperature field three-dimensional model and the real-scene three-dimensional model in the same orientation on the display screen, and adjusting the display orientation of the real-scene three-dimensional model in response to adjusting the display orientation of the temperature field three-dimensional model, or adjusting the display orientation of the temperature field three-dimensional model in response to adjusting the display orientation of the real-scene three-dimensional model.

2. The dual-mode 3D modeling method based on temperature field and real-scene video stream according to claim 1, characterized in that: Determining the temperature value of each point on the infrared image includes: The temperature value of each point on the infrared image is determined based on the image features of each point.

3. The dual-mode 3D modeling method based on temperature field and real-scene video stream according to claim 1, characterized in that: After the temperature field three-dimensional model and the real scene three-dimensional model are output and displayed on the same screen, the method further includes: The temperature value of each spatial point on the three-dimensional model of the temperature field is compared with a preset temperature threshold, a high-temperature position where the temperature exceeds the standard is determined, and the high-temperature position is marked on the three-dimensional model of the temperature field.

4. The dual-mode 3D modeling method based on temperature field and real-scene video stream according to claim 3 is characterized in that: After determining the high temperature position where the temperature exceeds the standard and marking the high temperature position on the temperature field three-dimensional model, the method further includes: According to the coordinate point of the high temperature position, the corresponding coordinate point is determined in the real scene three-dimensional model and marked.

5. A dual-mode 3D modeling device based on temperature field and real-scene video stream, characterized in that: include: An acquisition module is used to acquire point cloud data of the fire scene, acquire infrared images of the fire scene through an infrared camera, acquire video stream images of the fire scene through a visible light camera, and record the first pose information of the infrared camera and the second pose information of the visible light camera; A construction module is used to construct an initial three-dimensional model of the fire scene based on the point cloud data, match the infrared image with the initial three-dimensional model based on the first posture information, and construct a temperature field three-dimensional model, which includes establishing a matching relationship between each point on the infrared image and a spatial point of the initial three-dimensional model based on the first posture information, determining the temperature value of each point on the infrared image, mapping the temperature value of each point on the infrared image to the initial three-dimensional model based on the matching relationship, interpolating the initial three-dimensional model to construct a temperature field three-dimensional model, and fusing the video stream image with the initial three-dimensional model based on the second posture information to construct a real-scene three-dimensional model. The construction module is specifically used to: construct a virtual viewing volume of the visible light camera on the initial three-dimensional model based on the second posture information, project the video stream image into the initial three-dimensional model using the projection texture technology based on the shooting range of the virtual viewing volume, and construct the real-scene three-dimensional model by texture fusion of the video stream image and the initial three-dimensional model; A display module is used to output and display the temperature field three-dimensional model and the real-scene three-dimensional model on the same screen. The display module is specifically used to: display the temperature field three-dimensional model and the real-scene three-dimensional model in the same orientation on the display screen, and in response to adjusting the display orientation of the temperature field three-dimensional model, adjust the display orientation of the real-scene three-dimensional model accordingly, or in response to adjusting the display orientation of the real-scene three-dimensional model, adjust the display orientation of the temperature field three-dimensional model accordingly.

6. An electronic device, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream as described in any one of claims 1-4.

7. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the dual-mode three-dimensional modeling method based on temperature field and real-scene video stream as described in any one of claims 1-4 when executed by a computer processor.