Biological body three-dimensional temperature field digital twinning method and device and storage medium
Through the digital twin method of the three-dimensional temperature field of the organism, the neural network model is used to process the surface and natural cavity temperature data of the organism to generate the three-dimensional temperature field of the organism, which solves the problem of low computing efficiency in the existing technology and achieves real-time and accurate temperature field analysis.
Patent Information
- Application Number
- CN202410715165.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technology is difficult to quickly and accurately obtain the three-dimensional temperature field inside an organism. Traditional physical models and finite element analysis methods require a large amount of computing resources and are time-consuming. They also require detailed anatomical structure information of the organism, resulting in low computational efficiency.
The three-dimensional temperature field digital twin method of the living body is used to obtain the surface and natural cavity temperature data of the living body, combined with spatial image processing to generate a three-dimensional model, and use the pre-trained temperature field prediction neural network model to calculate the three-dimensional temperature field of the living body, improving calculation Efficiency and accuracy.
It achieves real-time generation of accurate three-dimensional temperature fields of organisms, improves computing efficiency, reduces computing resource consumption, avoids damage to organisms, and adapts to temperature field changes in different environments and states.
Smart Images

Figure CN118569085A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data measurement and information processing, and in particular to a method and device for digital twinning of a three-dimensional temperature field of a biological body and a storage medium. Background Art
[0002] In modern medical technology, non-contact temperature measurement devices such as infrared thermal imagers and contact temperature measurement devices such as thermometers, thermocouples or fiber optic sensors are often used for real-time monitoring and analysis of the internal temperature of organisms. These devices can measure the surface temperature of organisms, or measure the temperature of a certain point in the body through natural cavities, but cannot directly obtain data and information on the three-dimensional temperature field of the entire organism. However, understanding the changes in the temperature field inside an organism under certain circumstances is crucial for the development of many medical studies.
[0003] At present, the methods for generating the three-dimensional temperature field of an organism mainly include the use of traditional physical models and finite element analysis. Although the above methods can simulate the temperature distribution inside an organism to a certain extent, they still have limitations. For example, the finite element analysis method usually requires a large amount of computing resources, and the calculation process is time-consuming, and it is impossible to generate a temperature field quickly and accurately. In addition, since the calculation object is an organism, the physical or mathematical model needs to be combined with detailed information on the anatomical structure of the organism when used. On the one hand, this information is difficult to obtain and there are individual differences. On the other hand, it will further increase the occupation of computing resources and further reduce the calculation efficiency of the temperature field of the organism. Therefore, there is no better technical solution for the problem of how to quickly and accurately obtain the overall three-dimensional temperature field inside the organism. Summary of the invention
[0004] In order to solve at least one aspect of the above-mentioned problems and defects in the prior art, the embodiments of the present invention provide a method and device for digital twinning of a three-dimensional temperature field of an organism and a storage medium, which are used to realize real-time generation of a three-dimensional temperature field of an organism with high accuracy, and obtain the temperature field changes of the organism under different environments and different states. The technical solution is as follows:
[0005] One aspect of the present invention provides a digital twin method for the three-dimensional temperature field of a biological body.
[0006] The biological three-dimensional temperature field digital twin method includes:
[0007] Obtain the surface temperature of the organism and obtain the temperature distribution on the surface of the organism;
[0008] Obtain the natural cavity temperature of the organism and obtain the characteristic temperature data inside the organism;
[0009] Acquire a spatial image of the organism, obtain a three-dimensional point cloud of the organism based on the spatial image, and optimize the three-dimensional point cloud to obtain a three-dimensional model of the organism;
[0010] The temperature distribution on the surface of the organism and the characteristic temperature data inside the organism are mapped onto the three-dimensional model of the organism according to the spatial position of the organism to obtain the three-dimensional temperature distribution point cloud of the organism;
[0011] The three-dimensional temperature distribution point cloud of the organism is input into a pre-trained temperature field prediction neural network model to calculate the three-dimensional temperature field of the organism including the surface temperature of the organism and the characteristic temperature inside the organism.
[0012] Furthermore, obtaining the spatial image of the organism includes using a camera to obtain the spatial images of the organism at different angles, and the step of calibrating the camera includes:
[0013] Preset the camera extrinsic matrix and camera intrinsic matrix for the conversion between pixel coordinates and world coordinates;
[0014] Multiply the world coordinates by the camera extrinsic matrix to get the camera coordinates;
[0015] The camera coordinates are multiplied by the camera intrinsic parameter matrix to obtain the pixel coordinates;
[0016] Calibration methods include checkerboard calibration, Bouguet calibration plate calibration, Tsai's method, sphere-based calibration, grating calibration, face-to-point calibration, structured light calibration, depth camera calibration or nonlinear optimization calibration.
[0017] Furthermore, the step of obtaining a three-dimensional point cloud of the organism based on the spatial image further includes:
[0018] Use computer vision algorithms to identify and extract key feature points of spatial images of organisms;
[0019] Use image processing software to denoise the spatial image of the organism and obtain the corresponding three-dimensional point cloud;
[0020] A surface fitting algorithm is used to stitch together different three-dimensional point clouds of the organism at different angles to obtain a complete three-dimensional point cloud of the organism.
[0021] Furthermore, the step of mapping the temperature distribution on the surface of the organism and the characteristic temperature data inside the organism onto the three-dimensional model of the organism according to the spatial position of the organism to obtain the three-dimensional temperature distribution point cloud of the organism further includes:
[0022] Calibrate the positional relationship between a camera for collecting spatial images of a living organism and a thermal imaging device for collecting surface temperature of the living organism using preset internal and external parameters;
[0023] When the resolution of the image acquired by the thermal imaging device is lower than that of the spatial image, super-resolution reconstruction is performed on the image acquired by the thermal imaging device;
[0024] Three-dimensional reconstruction of the three-dimensional temperature field of the organism.
[0025] Furthermore, when the resolution of the image acquired by the thermal imaging device is lower than that of the spatial image, the step of super-resolution reconstruction of the image acquired by the thermal imaging device further includes:
[0026] obtaining a thermal image of a living organism in a thermal imaging device;
[0027] Thermal images were upscaled using bicubic interpolation;
[0028] Mark key features in the magnified thermal image;
[0029] Perform variance analysis on the magnified thermal images;
[0030] Gamma correction is performed on the amplified thermal image using tone mapping to obtain a high-contrast thermal image;
[0031] Perform alignment calibration between high-contrast thermal images and biological space images;
[0032] Calibrate the resolution consistency of high-contrast thermal images and biological space images;
[0033] Identify chessboard corners in high-contrast images to ensure accuracy during the calibration process.
[0034] Furthermore, the steps of pre-training the temperature field prediction neural network model include:
[0035] In the heat transfer simulation environment, simulate and calculate the surface temperature of several groups of different organisms, different body parameters of organisms, the three-dimensional temperature field of the surface of organisms in different scenarios, and the three-dimensional temperature field inside the organisms in different scenarios;
[0036] The obtained sets of surface temperatures of different organisms, body shape parameters of different organisms, three-dimensional temperature fields of the surfaces of organisms in different scenes, and three-dimensional temperature fields inside organisms in different scenes are formed into training data sets;
[0037] The three-dimensional temperature field of the surface of the organism in different scenes in the training data set is used as the input data of the temperature field prediction neural network model, and the three-dimensional temperature field inside the organism in different scenes in the training data set is used as the output data of the temperature field prediction neural network model;
[0038] The temperature field prediction neural network model is trained using the training data set to obtain a prediction model for the three-dimensional temperature field inside the organism.
[0039] Another aspect of the present invention also provides a three-dimensional temperature field digital twin device for an organism, which is used to obtain the three-dimensional temperature field data of an organism in the three-dimensional temperature field digital twin method of an organism described in the above aspect of the present invention.
[0040] The biological three-dimensional temperature field digital twin device includes:
[0041] A first temperature measuring device for detecting the surface temperature of the organism;
[0042] A second temperature measuring device is used to detect the natural cavity temperature of the organism;
[0043] A camera for acquiring spatial images of the organism;
[0044] A test table for carrying the organism;
[0045] A positioning frame connected to the detection platform, the positioning frame is used to fix the first temperature measuring device and the second temperature measuring device;
[0046] The regulating device is arranged on the positioning frame, one end of the regulating device is slidably connected to the positioning frame, and the other end is fixedly connected to the first temperature measuring device.
[0047] Specifically, the camera is fixed or integrated with the first temperature measuring device;
[0048] The posture of the organism on the test table is supine, prone, standing or sitting;
[0049] The first temperature measuring device includes at least one infrared thermal imager;
[0050] The second temperature measuring device includes at least one optical fiber thermometer, which includes an optical fiber temperature sensor, a transmission line, a light source emitting unit or a data processing unit;
[0051] The camera includes a binocular structured light camera, which surrounds the organism and captures different spatial images corresponding to different angles.
[0052] Furthermore, the biological body temperature field detection device also includes a three-dimensional temperature field reconstruction system on the biological body surface, which is configured to map the three-dimensional temperature field on the biological body surface to a three-dimensional point cloud in space, and the three-dimensional temperature field reconstruction system includes:
[0053] an internal parameter calibration module, configured to determine internal parameters of the first temperature measurement device;
[0054] an external parameter calibration module, configured to calibrate the spatial position relationship between the camera and the first temperature measurement device;
[0055] A three-dimensional reconstruction module is configured to combine the three-dimensional point cloud of the organism from the camera and the thermal image from the first temperature measurement device, and map the three-dimensional point cloud of the organism to the coordinate system of the first temperature measurement device through the external parameter calibration module;
[0056] The coordinate conversion module is configured to convert the three-dimensional temperature field of the organism reconstructed by the three-dimensional reconstruction module into a world coordinate system based on a preset coordinate conversion matrix.
[0057] Another aspect of the present invention provides a storage medium storing a computer program, which, when executed by a processor, implements the above-mentioned method for digital twinning of the three-dimensional temperature field of a biological body.
[0058] The method, device and storage medium for three-dimensional temperature field digital twin of an organism provided by the present invention have at least one or part of the following advantages:
[0059] (1) The biological three-dimensional temperature field digital twin method provided by the present invention can generate a high-precision biological three-dimensional temperature field in real time, and obtain the temperature field changes of different organisms in different environments and different states;
[0060] (2) The digital twin method of the three-dimensional temperature field of an organism provided by the present invention improves the computational generation efficiency of the three-dimensional temperature field of an organism through adaptive learning of a neural network model;
[0061] (3) The biological three-dimensional temperature field digital twin method provided by the present invention calculates the real-time biological temperature field through a neural network model. Compared with the traditional finite element analysis method, it has high calculation efficiency and consumes less computing resources;
[0062] (4) The three-dimensional temperature field digital twin device of the organism provided by the present invention uses common non-contact infrared imaging equipment and common natural cavity temperature measuring instruments to ensure the safety of the temperature measurement process and avoid damage to the organism. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] These and / or other aspects and advantages of the present invention will become apparent and readily understood from the following description of the preferred embodiments in conjunction with the accompanying drawings, in which:
[0064] Figure 1 This is a flow chart of a method for digital twinning of a biological three-dimensional temperature field according to an embodiment of the present invention;
[0065] Figure 2 for Figure 1The flowchart of camera calibration in the digital twin method of biological body three-dimensional temperature field is shown;
[0066] Figure 3 for Figure 1 The flowchart of obtaining the three-dimensional point cloud of an organism in the digital twin method of the three-dimensional temperature field of the organism shown;
[0067] Figure 4 To pass Figure 3 An embodiment of a three-dimensional point cloud of a human facial contour obtained by the process shown;
[0068] Figure 5 for Figure 1 The flowchart of obtaining the three-dimensional temperature distribution point cloud of an organism in the digital twin method of the three-dimensional temperature field of the organism shown;
[0069] Figure 6 for Figure 1 The flowchart of super-resolution reconstruction of images acquired by thermal imaging equipment in the digital twin method of three-dimensional temperature field of an organism shown;
[0070] Figure 7 for Figure 1 The flowchart of the pre-training of the temperature field prediction neural network model in the digital twin method of the three-dimensional temperature field of the organism shown;
[0071] Figure 8 This is a schematic structural diagram of a digital twin device for a three-dimensional temperature field of a biological body according to an embodiment of the present invention;
[0072] Fig. 9 for Figure 8 A schematic diagram of the structure of a first temperature detection device and a camera in a digital twin device for a three-dimensional temperature field of a biological body is shown;
[0073] Fig.10 for Figure 8 A schematic structural diagram of a second temperature detection device in a three-dimensional temperature field digital twin device of a biological body is shown;
[0074] Fig.11 for Figure 8 A schematic diagram of the module composition of the three-dimensional temperature field reconstruction system in the three-dimensional temperature field digital twin device of the organism shown;
[0075] Fig.12 A schematic diagram of the structure of an electronic device used as a storage medium for a three-dimensional temperature field of a biological body according to an embodiment of the present invention. DETAILED DESCRIPTION
[0076] The technical solution of the present invention is further specifically described below by examples and in conjunction with the accompanying drawings. In the specification, the same or similar reference numerals indicate the same or similar components. The following description of the embodiments of the present invention with reference to the accompanying drawings is intended to explain the overall inventive concept of the present invention and should not be construed as a limitation of the present invention.
[0077] In order to fully or partially solve the problem that traditional physical models and finite element analysis methods need to couple the anatomical structure information of the organism and occupy a large amount of computing resources, making the calculation process time-consuming and unable to quickly and accurately obtain the internal three-dimensional temperature field of the organism when the environment or its state changes, an embodiment of the present invention proposes a digital twin method, device and storage medium for the three-dimensional temperature field of an organism.
[0078] The digital twin method is a data processing method that makes full use of physical models, sensor data, computer integrated operation data, etc., integrates multi-disciplinary, multi-physical quantity, multi-scale and multi-probability simulation processes, completes mapping in virtual space, and thus reflects the entire life cycle of the corresponding simulation object.
[0079] In one embodiment of the present invention, a digital twin method for three-dimensional temperature field of an organism is proposed.
[0080] refer to Figure 1 , a biological three-dimensional temperature field digital twin method of this embodiment includes the following steps:
[0081] Step S101, acquiring the surface temperature of the organism and obtaining the temperature distribution on the surface of the organism.
[0082] Specifically, a non-contact temperature measuring instrument can be used to collect the temperature of the surface of the organism. Optionally, this embodiment uses a mature and highly integrated infrared thermal imaging device. According to the actual collection requirements and subsequent data processing requirements, one, two or more devices can be used. Of course, other different types of temperature collection devices can also be used at different collection locations.
[0083] Step S102, acquiring the natural cavity temperature of the organism to obtain characteristic temperature data inside the organism.
[0084] Specifically, the collection of the natural cavity temperature of the organism usually has a corresponding thermometer. Considering the data processing of the temperature field, optionally, this embodiment uses a fiber optic thermometer to collect the natural cavity temperature of the organism. The number and layout of the fiber optic thermometers can be adjusted according to the actual temperature data collection and data processing requirements.
[0085] Step S103, acquiring a spatial image of the organism, obtaining a three-dimensional point cloud of the organism based on the spatial image, optimizing the three-dimensional point cloud, and obtaining a three-dimensional model of the organism.
[0086] Specifically, a camera is used to obtain spatial images of the organism at different angles. For example, a high-precision camera and a video camera can be used, and a functional camera such as a binocular structure camera can also be used. Regardless of the type of camera used, the coordinate system of the camera must first be calibrated for coupling and matching with the temperature field data.
[0087] Further, refer to Figure 2 , the steps of calibrating the camera include:
[0088] S301, presetting a camera extrinsic parameter matrix and a camera intrinsic parameter matrix for conversion between pixel coordinates and world coordinates;
[0089] S302, multiplying the world coordinates by the camera extrinsic matrix to obtain the camera coordinates;
[0090] S303, multiply the camera coordinates by the camera intrinsic parameter matrix to obtain pixel coordinates.
[0091] Specifically, the camera calibration method includes a checkerboard calibration method, a Bouguet calibration plate calibration method, a Tsai's method, a sphere-based calibration method, a grating calibration method, a plane-based calibration method, a structured-light calibration method, a depth camera calibration method, or a nonlinear optimization calibration method. The embodiment of the present invention does not limit the calibration method used, and a suitable calibration method can be selected according to the actual camera type and data processing requirements.
[0092] In an example, the camera calibration is explained in more detail using the chessboard calibration method. First, multiple chessboard images are collected as input data, and optionally, the chessboard corners are found using OpenCV functions; then, the camera is used to shoot different perspectives of the chessboard, and the position of each corner of the chessboard in the image and the corresponding three-dimensional world coordinates are recorded; then, the camera is calibrated by solving the camera's intrinsic and extrinsic parameters; finally, the accuracy of the calibration results is further improved by combining the optimization algorithm, and the distortion of the images collected by the camera is corrected to improve the imaging quality.
[0093] After the camera is calibrated and spatial images are collected at different angles, a three-dimensional point cloud of the organism can be further obtained based on the spatial images obtained at different angles. The three-dimensional point cloud can be optimized to obtain a three-dimensional model of the organism.
[0094] Specifically, refer to Figure 3 , the steps of obtaining a three-dimensional point cloud of an organism based on a spatial image include:
[0095] S304, using computer vision algorithms to identify and extract key feature points of the spatial image of the organism. For example, a computer vision algorithm such as YOLO can be used to identify and extract key feature points in camera images. If a camera is used, feature points of key frames in the video are identified and extracted, and then images from different perspectives are combined to generate corresponding original three-dimensional point clouds from different perspectives.
[0096] S305, use image processing software to perform denoising on the spatial image of the organism to obtain a corresponding three-dimensional point cloud. The original three-dimensional point clouds of different viewing angles usually contain noise, unnecessary background, etc., and need to be further denoised and background point clouds removed by image processing software (such as opencv).
[0097] S306, using a surface fitting algorithm to stitch together different three-dimensional point clouds of the organism at different angles to obtain a complete three-dimensional point cloud of the organism.
[0098] In one example, reference Figure 4 , taking the human face contour as the object, a schematic diagram of the generation process of a set of complete three-dimensional point clouds is given. Among them, a calibrated camera is used to take pictures at the human face positions shown in Figures a, b and c to obtain spatial images of the corresponding positions, and the point clouds of the corresponding positions are generated through the processing of the above steps S304 and S305. After the point clouds of the three positions are spliced through step S306, a complete point cloud of the human face contour as shown in d is obtained.
[0099] Step S104, mapping the temperature distribution on the surface of the organism and the characteristic temperature data inside the organism to the three-dimensional model of the organism according to the spatial position of the organism, to obtain a three-dimensional temperature distribution point cloud of the organism.
[0100] Specifically, refer to Figure 5 , step S104 is implemented by the following steps, specifically including:
[0101] S401, using preset internal parameters and external parameters to calibrate the positional relationship between a camera for collecting a spatial image of a living body and a thermal imaging device for collecting a surface temperature of the living body;
[0102] S402, when the resolution of the image acquired by the thermal imaging device is lower than that of the spatial image, super-resolution reconstruction is performed on the image acquired by the thermal imaging device;
[0103] S403, performing three-dimensional reconstruction of the three-dimensional temperature field of the biological body.
[0104] Further, refer to Figure 6 In step S402, when the resolution of the image acquired by the thermal imaging device is lower than that of the spatial image, the step of super-resolution reconstruction of the image acquired by the thermal imaging device further includes:
[0105] S4021, obtaining a thermal image of the biological body from a thermal imaging device. At this time, the resolution of the thermal image collected by the thermal imaging device is usually relatively low;
[0106] S4022, uses bicubic interpolation to upscale thermal images to approach the camera’s resolution;
[0107] S4023, marking key features in the magnified thermal image;
[0108] S4024, performs variance analysis on the magnified thermal image, paying special attention to key features such as corners in the image;
[0109] S4025, gamma correction is performed on the amplified thermal image using tone mapping to obtain a high-contrast thermal image;
[0110] S4026, aligning and calibrating the high-contrast thermal image and the biological body space image;
[0111] S4027, calibrate the resolution consistency of high-contrast thermal images and biological space images;
[0112] S4028, identifies chessboard corners in high-contrast images to ensure accuracy during calibration.
[0113] The above steps can improve the image quality of low-resolution thermal images, output high-resolution thermal images, and further ensure that the temperature distribution on the surface of the organism and the characteristic temperature data inside the organism accurately correspond to the spatial three-dimensional model. Of course, those skilled in the art will understand that if the thermal imaging device used can obtain a high-resolution thermal image that is consistent with the high-resolution of the spatial image obtained by the camera device, there is no need to perform the resolution reconstruction step (i.e. Figure 6 This example is only an illustrative example and those skilled in the art should not understand it as a limitation of the present invention.
[0114] Step S105, inputting the three-dimensional temperature distribution point cloud of the organism into a pre-trained temperature field prediction neural network model, and calculating the three-dimensional temperature field of the organism including the surface temperature of the organism and the characteristic temperature inside the organism.
[0115] Neural network models are considered to be a better solution for complex simulation calculations due to their high accuracy, fast response speed and high computational iteration efficiency. Neural network models have obvious advantages in the fields of system identification, pattern recognition, intelligent computing control, etc. Among them, the self-learning function and pre-training of neural network models are important links in reflecting their advantages.
[0116] Specifically, refer to Figure 7 In the embodiments of the present invention, since the detection object is a biological body, and there are abundant individual differences in biological bodies, these individual differences will lead to differences in heat conduction in different parts of the biological body. Therefore, it is necessary to construct a temperature field prediction neural network model based on the characteristics of the biological body. The pre-training steps of the temperature field prediction neural network model include:
[0117] S501, in a heat transfer simulation environment, simulating and calculating a plurality of groups of different body surface temperatures, different body shape parameters of an organism, three-dimensional temperature fields of the surface of an organism in different scenes, and three-dimensional temperature fields inside an organism in different scenes;
[0118] In one example, a finite element simulation can be performed using a simulated biological body geometric model developed based on a medical image data set, and heat transfer parameters through tissues and organs inside the biological body can be set to obtain the temperature distribution of the biological body under a specific heat load;
[0119] S502, forming a training data set with the obtained groups of different body surface temperatures of organisms, different body shape parameters of organisms, three-dimensional temperature fields of the surfaces of organisms in different scenes, and three-dimensional temperature fields inside the organisms in different scenes;
[0120] S503, the three-dimensional temperature field of the surface of the organism in different scenes in the training data set is used as input data of the temperature field prediction neural network model, and the three-dimensional temperature field inside the organism in different scenes in the training data set is used as output data of the temperature field prediction neural network model;
[0121] In one example, partial surface temperature field data and partial internal temperature field data of the organism can also be used as inputs of the temperature field prediction neural network model, and the complete surface temperature field and internal temperature field can be used as outputs of the temperature field prediction neural network model;
[0122] S504, using the training data set to train the temperature field prediction neural network model to obtain a prediction model of the three-dimensional temperature field inside the organism.
[0123] In one example, when training a temperature field prediction neural network model, the training data set can be divided into a training set, a validation set, and a test set according to a preset ratio. The training set is used to train the neural network model, the validation set is used to adjust the parameters of the neural network model, and the test set is used to evaluate the performance of the neural network model.
[0124] In one example, when training a temperature field prediction neural network model, the surface temperature field and the temperature data of individual locations of the internal natural cavity can also be used as the input of the neural network model, and the complete surface and internal temperature field of the organism can be used as the output of the neural network model to train the neural network model so that the neural network model can be applied to situations where the temperature of the natural cavity inside the organism is collected, thereby further improving the accuracy of the neural network model in predicting the internal temperature field of the organism.
[0125] In another embodiment of the present invention, a three-dimensional temperature field digital twin device 100 of a biological body is proposed.
[0126] refer to Figure 8 A three-dimensional temperature field digital twin device 100 of a biological body in this embodiment includes a first temperature measuring device 10, a second temperature measuring device 20, a camera 30, a detection platform 40, a positioning frame 50, an adjustment device 60 and other components.
[0127] The first temperature measuring device 10 is used to detect the surface temperature of the organism;
[0128] The second temperature measuring device 20 is used to detect the natural cavity temperature of the organism;
[0129] Camera 30 (see Fig. 9The camera 30 is arranged together with the first temperature measuring device 10 or on or near the first temperature measuring device 10 to obtain a spatial image of the organism; the camera 30 is arranged together with the first temperature measuring device 10, that is, the relative spatial coordinates between the camera 30 and the first temperature measuring device 10 are fixed, which is convenient for the subsequent mapping and calibration of the three-dimensional temperature field coordinates and the three-dimensional spatial coordinates.
[0130] In one example, the camera 30 can also be set up separately, but since the separate setting generates a new set of coordinates for the camera 30, its position or shooting trajectory needs to be accurately calibrated and calibrated before subsequent image processing, temperature field three-dimensional reconstruction and mapping.
[0131] The testing table 40 is used to carry the organism, and the posture of the organism on the testing table 40 is supine, prone, standing or sitting;
[0132] The positioning frame 50 is connected to the detection platform 40, and the first temperature measuring device 10 and the second temperature measuring device 20 are fixed on the positioning frame 50;
[0133] Adjustment device 60 (see Fig. 9 As shown in the figure, the adjusting device 60 is arranged on the positioning frame 50, one end of the adjusting device 60 is slidably connected to the positioning frame 50, and the other end is fixedly connected to the first temperature measuring device 10.
[0134] In one example, taking a human body as an example, the human body adopts a supine position, that is, lying flat on a test bench 40, and the positioning frame 50 is a semi-circular structure, surrounding the outside of the human body, and the two ends of the semi-circular structure are fixed to the test bench 40; three first temperature measuring devices 10 are arranged on the positioning frame 50, which are used to obtain thermal images of the human body surface temperature field at different angles, and each first temperature measuring device 10 is fixedly provided with a camera 30, which is used to obtain human body space images at different angles; a second temperature measuring device 20 is also arranged on the positioning frame 50, which is used to obtain the natural cavity temperature of a specified human body; the adjustment device 60 is used to adjust the spatial positions of the first temperature measuring device 10 and the camera 30 to respectively take corresponding images at angles of 45°, 90° and 135° with the human body. This example is only an illustrative example, and those skilled in the art should not be understood as a limitation of the present invention.
[0135] In one example, the connection between the positioning frame 50 and the detection table 40 can be a detachable connection, which is convenient for the disassembly, transportation and assembly of the three-dimensional temperature field digital twin device 100 of the biological body; at the same time, according to the acquisition requirements of thermal images and spatial images, multiple groups of interfaces for connecting and installing the positioning frame 50 can be set on the detection table 40, so that the position of the positioning frame 50 relative to the detection table 40 can be adjusted, or the fixed height can be adjusted; further, a sliding connection component can also be set on the detection table 40 to connect the positioning frame 50, so that the positioning frame 50 can be fixed on the detection table 40 and the position can be adjusted by sliding; further, the positioning frame 50 can also be rotatably connected with the detection table 40 through a rotating component, so as to facilitate adjustment to an appropriate angle or orientation when shooting thermal images and spatial images. This example is only an illustrative example, and those skilled in the art should not be understood as a limitation of the present invention.
[0136] In one example, the number and arrangement positions of the first temperature measuring devices 10 are not limited to the arrangement of the three first temperature measuring devices 10 shown in this embodiment, and the number and arrangement positions can be arranged according to actual requirements for temperature field results. This example is only an illustrative example and those skilled in the art should not understand it as a limitation of the present invention.
[0137] In one example, reference Fig. 9 Considering that infrared thermal imager technology is mature and the equipment is highly integrated, it is a common technical means to collect the surface temperature field of an object in real time and clearly present thermal images. In this embodiment, an infrared thermal imager is used as the first temperature measurement device 10 to collect the surface temperature of the organism and the thermal image of the surface temperature distribution.
[0138] Furthermore, in the present embodiment, a binocular structured light camera (such as camera 30) is used, and the binocular structured light camera is fixed one by one on each infrared thermal imager. Using a binocular structured light camera, a spatial three-dimensional point cloud can be directly obtained. Of course, if the effect of the spatial three-dimensional point cloud obtained is not satisfactory, it can be optimized again through image processing technology. Those skilled in the art will understand that in the present embodiment, other forms of cameras or video cameras can also be selected to realize the function of shooting spatial images. Correspondingly, the calibration methods of different cameras or video cameras need to be adjusted, and the processing methods of spatial images obtained by different cameras also need to be adjusted. Appropriate calibration methods and image processing methods can be selected according to the actual selection. This example is only an illustrative example, and those skilled in the art should not be understood as a limitation of the present invention.
[0139] In one example, reference Fig.10Considering that the collected temperature data needs to be calculated and iterated in the neural network model, in order to facilitate the unified collection, transmission and storage of temperature data, this embodiment chooses to use an optical fiber thermometer as the second temperature measurement device 20, and the optical fiber thermometer includes an optical fiber temperature sensor 21, a transmission line 22, a data processing unit 23 and a light source emitting unit (which can be integrated in the data processing unit 23, not shown here).
[0140] In one example, the optical fiber thermometer can be fixed on the positioning frame 50 of the biological three-dimensional temperature field digital twin device 100 by means of slots, magnets, adhesives, etc., and one, two or more optical fiber thermometers can be used. In this embodiment, an optical fiber thermometer is used and arranged in a position as shown in FIG. Figure 8 The positioning frame 50 is shown on one side and close to the end of the supine human body. This arrangement is only an illustrative example. There may be a variety of arrangement positions according to the actual situation of biological detection, and those skilled in the art should not understand it as a limitation of the present invention.
[0141] Further, refer to Fig.11 The biological body three-dimensional temperature field digital twin device 100 also includes a biological body surface three-dimensional temperature field reconstruction system 70, which is configured to map the biological body surface three-dimensional temperature field to a spatial three-dimensional point cloud. The three-dimensional temperature field reconstruction system 70 includes an internal parameter calibration module 71, an external parameter calibration module 72, a three-dimensional reconstruction module 73, and a coordinate conversion module 74.
[0142] The internal parameter calibration module 71 is configured to determine the internal parameters of the first temperature measurement device 10; the internal parameters may include focal length, principal point coordinates, etc., to ensure accurate mapping of temperature data.
[0143] The external parameter calibration module 72 is configured to calibrate the spatial position relationship between the camera 30 (a binocular structured light camera in this embodiment) and the first temperature measurement device 10 (an infrared thermal imager in this embodiment) to ensure that the spatial image from the camera 30 and the thermal image from the first temperature measurement device 10 can accurately correspond in the coordinate system.
[0144] The three-dimensional reconstruction module 73 is configured to combine the three-dimensional point cloud of the organism from the camera 30 (a binocular structured light camera in this embodiment) and the thermal image from the first temperature measurement device 10 (an infrared thermal imager in this embodiment), and map the three-dimensional point cloud of the organism to the coordinate system of the first temperature measurement device 10 through the external parameter calibration module 72 to achieve three-dimensional reconstruction of temperature information.
[0145] The coordinate conversion module 74 is configured to convert the three-dimensional temperature field of the organism reconstructed by the three-dimensional reconstruction module 73 into the world coordinate system based on a preset coordinate conversion matrix to obtain the three-dimensional temperature field of the organism.
[0146] The three-dimensional temperature field digital twin method of the organism in the method embodiment, especially after obtaining the three-dimensional temperature field of the organism through the temperature field prediction neural network model, the three-dimensional temperature field is mapped to the three-dimensional point cloud of space through the three-dimensional temperature field reconstruction system 70, realizes the digital twin simulation process and improves the generation efficiency of the three-dimensional temperature field of the organism.
[0147] In another embodiment of the present invention, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the digital twin method of the three-dimensional temperature field of the organism in the above method embodiment is implemented.
[0148] Further, refer to Fig.12 In order to implement the computer program in the storage medium, this embodiment also includes an electronic device 200, which is used to implement the three-dimensional temperature field digital twin method of the organism in the above method embodiment.
[0149] The electronic device 200 may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable electronic devices, etc., as well as fixed terminals such as digital TVs, desktop computers, laptop computers, etc.
[0150] Fig.12 The electronic device 200 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0151] The electronic device 200 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 201, which can perform various appropriate actions and processes to implement the method of the embodiment of the present invention according to the program stored in the read-only memory (ROM) 202 or the program loaded from the storage device 208 to the random access memory (RAM) 203. In the RAM 203, various programs and data required for the operation of the electronic device 200 are also stored. The processing device 201, the ROM 202, and the RAM 203 are connected to each other through a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.
[0152] Typically, the following devices may be connected to the I / O interface 205: an input device 206 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 207 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 208 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 209. The communication device 209 may allow the electronic device 200 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.12 The electronic device 200 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0153] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention also provides a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby realizing the data processing method of the biological body temperature field as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 209, or installed from the storage device 208, or installed from the ROM 202. When the computer program is executed by the processing device 201, the above-mentioned functions defined in the method of the embodiment of the present invention are executed.
[0154] The computer-readable storage medium provided in the embodiment of the present invention may be included in the electronic device 200, or may exist independently without being assembled into the electronic device 200. When the computer program is executed by a processor, the above-mentioned biological body three-dimensional temperature field digital twin method can be implemented.
[0155] The method, device and storage medium for three-dimensional temperature field digital twin of an organism provided by the present invention have at least one or part of the following advantages:
[0156] (1) The biological three-dimensional temperature field digital twin method provided by the present invention can generate a high-precision biological three-dimensional temperature field in real time, and obtain the temperature field changes of different organisms in different environments and different states;
[0157] (2) The digital twin method of the three-dimensional temperature field of an organism provided by the present invention improves the computational generation efficiency of the three-dimensional temperature field of an organism through adaptive learning of a neural network model;
[0158] (3) The biological three-dimensional temperature field digital twin method provided by the present invention calculates the real-time biological temperature field through a neural network model. Compared with the traditional finite element analysis method, it has high calculation efficiency and consumes less computing resources;
[0159] (4) The three-dimensional temperature field digital twin device of the organism provided by the present invention uses common non-contact infrared imaging equipment and common natural cavity temperature measuring instruments to ensure the safety of the temperature measurement process and avoid damage to the organism.
[0160] Although some embodiments of the present general inventive concept have been shown and described, it will be appreciated by those skilled in the art that changes may be made to these embodiments without departing from the principles and spirit of the present general inventive concept, the scope of which is defined by the claims and their equivalents.
Claims
1. A digital twin method for a three-dimensional temperature field of an organism, comprising: Obtaining the surface temperature of the organism and obtaining the temperature distribution on the surface of the organism; Obtain the natural cavity temperature of the organism and obtain the characteristic temperature data inside the organism; Acquiring a spatial image of the organism, obtaining a three-dimensional point cloud of the organism based on the spatial image, and optimizing the three-dimensional point cloud to obtain a three-dimensional model of the organism; Mapping the temperature distribution on the surface of the organism and the characteristic temperature data inside the organism onto a three-dimensional model of the organism according to the spatial position of the organism to obtain a three-dimensional temperature distribution point cloud of the organism; The three-dimensional temperature distribution point cloud of the organism is input into a pre-trained temperature field prediction neural network model to calculate the three-dimensional temperature field of the organism including the surface temperature of the organism and the characteristic temperature inside the organism.
2. The biological three-dimensional temperature field digital twin method according to claim 1, characterized in that: The obtaining of the spatial image of the organism includes using a camera to obtain spatial images of the organism at different angles. The step of calibrating the camera includes: Pre-set the camera extrinsic matrix and camera intrinsic matrix for conversion between pixel coordinates and world coordinates; Multiplying the world coordinates by the camera extrinsic matrix to obtain camera coordinates; Multiplying the camera coordinates by the camera intrinsic parameter matrix to obtain pixel coordinates; Calibration methods include checkerboard calibration, Bouguet calibration plate calibration, Tsai's method, sphere-based calibration, grating calibration, face-to-point calibration, structured light calibration, depth camera calibration, or nonlinear optimization calibration.
3. The biological three-dimensional temperature field digital twin method according to claim 1, characterized in that: The step of obtaining a three-dimensional point cloud of the organism based on the spatial image comprises: using a computer vision algorithm to identify and extract key feature points of the spatial image of the organism; Using image processing software to perform denoising on the spatial image of the organism to obtain a corresponding three-dimensional point cloud; A surface fitting algorithm is used to splice the different three-dimensional point clouds of the organism at different angles to obtain a complete three-dimensional point cloud of the organism.
4. The biological three-dimensional temperature field digital twin method according to claim 1, characterized in that: The step of mapping the temperature distribution on the surface of the organism and the characteristic temperature data inside the organism onto the three-dimensional model of the organism according to the spatial position of the organism to obtain a three-dimensional temperature distribution point cloud of the organism includes: Calibrate the positional relationship between a camera for collecting spatial images of a living organism and a thermal imaging device for collecting surface temperature of the living organism using preset internal and external parameters; When the resolution of the image acquired by the thermal imaging device is lower than that of the spatial image, super-resolution reconstruction is performed on the image acquired by the thermal imaging device; Three-dimensional reconstruction of the three-dimensional temperature field of the organism.
5. The biological three-dimensional temperature field digital twin method according to claim 4, characterized in that: When the resolution of the image acquired by the thermal imaging device is lower than that of the spatial image, the step of performing super-resolution reconstruction on the image acquired by the thermal imaging device comprises: obtaining a thermal image of a living organism in a thermal imaging device; upscaling the thermal image using a bicubic interpolation method; Mark key features in the magnified thermal image; Perform variance analysis on the magnified thermal images; Use tone mapping to perform gamma correction on the amplified thermal image to obtain a high-contrast thermal image; Performing alignment calibration on the high-contrast thermal image and the biological body spatial image; performing resolution consistency calibration on the high-contrast thermal image and the biological body spatial image; Identify chessboard corners in high-contrast images to ensure accuracy during calibration.
6. The biological three-dimensional temperature field digital twin method according to any one of claims 1 to 5, characterized in that: The steps of pre-training the temperature field prediction neural network model include: In the heat transfer simulation environment, simulate and calculate the surface temperature of several different groups of organisms, different body parameters of organisms, the three-dimensional temperature field of the surface of organisms in different scenarios, and the three-dimensional temperature field inside organisms in different scenarios; The obtained sets of surface temperatures of different organisms, body shape parameters of different organisms, three-dimensional temperature fields of the surfaces of organisms in different scenes, and three-dimensional temperature fields inside organisms in different scenes are formed into training data sets; The three-dimensional temperature fields of the surface of the organism under the different scenes in the training data set are used as input data of the temperature field prediction neural network model, and the three-dimensional temperature fields inside the organism under the different scenes in the training data set are used as output data of the temperature field prediction neural network model; The temperature field prediction neural network model is trained using the training data set to obtain a prediction model of the three-dimensional temperature field inside the organism.
7. A three-dimensional temperature field digital twin device for a living organism, the device being used to obtain three-dimensional temperature field data of a living organism in a three-dimensional temperature field digital twin method according to any one of claims 1 to 6, the device comprising: a first temperature measuring device for detecting the surface temperature of the organism; a second temperature measuring device for detecting the natural cavity temperature of the organism; A camera for acquiring spatial images of the organism; A testing table for holding the organism; a positioning frame connected to the detection platform, the positioning frame being used to fix the first temperature measuring device and the second temperature measuring device; The regulating device is arranged on the positioning frame, one end of the regulating device is slidably connected to the positioning frame, and the other end is fixedly connected to the first temperature measuring device.
8. The biological three-dimensional temperature field digital twin device according to claim 7, characterized in that: The camera is fixed or integrated with the first temperature measuring device; The posture of the organism on the testing table is supine, prone, standing or sitting; The first temperature measuring device includes at least one infrared thermal imager; The second temperature measuring device includes at least one optical fiber thermometer, and the at least one optical fiber thermometer includes an optical fiber sensor, a transmission line, a light source emitting unit or a data processing unit; The camera includes a binocular structured light camera, which surrounds the organism and captures different spatial images corresponding to different angles.
9. The biological three-dimensional temperature field digital twin device according to claim 7, characterized in that: The biological body temperature field detection device further includes a three-dimensional temperature field reconstruction system for the biological body surface, which is configured to map the three-dimensional temperature field on the biological body surface to a three-dimensional point cloud in space. The three-dimensional temperature field reconstruction system includes: an internal parameter calibration module, configured to determine internal parameters of the first temperature measurement device; an external parameter calibration module, configured to calibrate the spatial position relationship between the camera and the first temperature measurement device; a three-dimensional reconstruction module configured to combine the three-dimensional point cloud of the organism from the camera and the thermal image from the first temperature measurement device, and map the three-dimensional point cloud of the organism to the coordinate system of the first temperature measurement device through the extrinsic parameter calibration module; The coordinate conversion module is configured to convert the three-dimensional temperature field of the organism reconstructed by the three-dimensional reconstruction module into a world coordinate system based on a preset coordinate conversion matrix.
10. A storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for digital twinning the three-dimensional temperature field of a biological body according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Tank internal and external temperature field measuring device and database construction method
CN119374757A
Method and system for controlling temperature return of constant-temperature incubator
CN119472864A
Three-dimensional point cloud processing method and system based on Kinect V2
CN120031959A
Additive manufacturing equipment capable of realizing in-situ deformation compensation based on temperature
CN121267208A
