A real-time medical 3D reconstruction method and system based on AI mixed reality
By collecting and processing initial measurement data during the operation, screening human tissue images, calculating tissue and position weights, determining the local sections to be reconstructed, and performing three-dimensional reconstruction, the problem of unstable local reconstruction of three-dimensional models in the existing technology is solved, and a high level of accuracy is achieved. Accurate and highly stable real-time medical 3D model.
Patent Information
- Application Number
- CN202410900358.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-07-05
AI Technical Summary
In the existing technology, the fixed truncation method causes regional deviations during local reconstruction of the 3D model during surgery, resulting in unstable 3D model results and difficulty in precise positioning. In addition, the effect of the interpolation method to expand the projection data is inconsistent, resulting in insufficient local clarity and affecting the real-time medical 3D model. stability.
Collect initial measurement data before surgery, screen human tissue images, use Radon transformation to obtain tissue labeling matrices, calculate tissue and position weights, determine the local section to be reconstructed, perform three-dimensional reconstruction, and fuse the reconstructed local model with the initial model to ensure key tissue changes and surgery center data are reconstructed first.
The stability and accuracy of the three-dimensional model are improved, ensuring that the real-time medical three-dimensional model has high real-time performance and high accuracy during surgery, and avoiding the problem of insufficient local clarity.
Smart Images

Figure CN118429549B
Abstract
Description
Technical Field
[0001] The present application relates to the field of three-dimensional reconstruction, and specifically to a real-time medical three-dimensional reconstruction method and system of AI mixed reality. Background Art
[0002] Intraoperative CT technology is a technology that can perform CT detection during surgery to achieve intraoperative navigation and positioning. For example, the paper "A Comparative Study on the Effects of Intraoperative CT and Navigation System in the Surgical Treatment of Unilateral Zygomatic Complex Fractures" by Zhang Qi points out that using intraoperative CT technology, a real-time three-dimensional model of the human tissue section during surgery can be obtained, and the real-time three-dimensional model obtained during surgery can achieve accurate human tissue positioning.
[0003] Although the above-mentioned prior art can realize the real-time three-dimensional model reconstruction of human tissue sections during surgery, if the overall real-time three-dimensional model reconstruction of the human body is performed, it will lead to an increase in the intraoperative surgical time, which will in turn cause an increase in the patient's bleeding and cause surgical risks. For this reason, "local reconstruction" has also been proposed in the prior art. For example, in "Research on Local Reconstruction Algorithms for Low-dose X-ray CT", Liang Yaxing, by setting the number of detector image channels, fixedly truncated the projection data to reduce the amount of calculation. At the same time, the article also pointed out that the boundary information of the truncated sinusoidal graph extracted by Hough transform can be used to expand the missing projection data part, and the zero-value area in the projection data that has not been expanded completely is interpolated to obtain the expanded complete projection data, and then the local image is reconstructed by filtering back projection to complete the local reconstruction of the three-dimensional model.
[0004] However, in the above-mentioned prior art involving "local reconstruction", the fixed truncation method used is to truncate the preset fixed area in the sinusoidal graph, that is, "fixed area interception". Since the intraoperative position in each operation is different, the fixed truncation method of truncation in the fixed area may deviate from the area where the projection data is originally expected to be obtained, and this regional deviation will cause the subsequent local reconstruction results of the three-dimensional model based on the projection data to be unstable, and even if the projection data expansion effect is achieved through the interpolation technology, different interpolation methods will produce inconsistent results for the expansion of projection data, so it is impossible to overcome the defect of unstable medical three-dimensional model results, and it is difficult to accurately locate in intraoperative navigation.
[0005] In summary, when the above-mentioned existing technologies perform local reconstruction of the three-dimensional model during surgery, they cannot effectively adjust the local reconstruction area of the three-dimensional model according to the intraoperative scene (differences in the patient's body shape and symptoms), and have poor robustness, making it difficult to ensure the stability of the reconstruction effect. In addition, because the existing technologies use interpolation methods to expand the projection data, the final entire real-time medical three-dimensional model may have insufficient or missing local clarity, making it difficult to ensure the stability of the real-time medical three-dimensional model, thereby causing failure of intraoperative navigation. Summary of the invention
[0006] In order to solve the technical problem of poor stability of real-time medical three-dimensional models in the prior art, the present application provides an AI mixed reality real-time medical three-dimensional reconstruction method and system to improve the stability of real-time medical three-dimensional reconstruction.
[0007] According to the first aspect of the present application, a real-time medical 3D reconstruction method of AI mixed reality is provided, including: collecting initial measurement data of each human body section before surgery, obtaining human body section images and initial 3D models, screening out human tissue images that need to be paid attention to during surgery from the human body section images, obtaining the distribution matrix of each human body tissue image in each human body section image by Radon transform, binarizing the distribution matrix to obtain a binary distribution matrix, performing point multiplication of the binary distribution matrix and the reconstruction weight to obtain a tissue labeling matrix, accumulating the tissue labeling matrix to obtain a tissue weight matrix of each human body section image, the reconstruction weight is determined according to the degree of attention of the human tissue image during the surgery, collecting real-time measurement data of each human body section during surgery, comparing the initial measurement data with the real-time measurement data to calculate the measurement change of each human body section, and selecting the measurement change The real-time measurement data of human body sections exceeding the set threshold are the effective matrix, the effective matrix is binarized to obtain a binary effective matrix, the center line of the binary effective matrix is extracted, and the position weight is obtained based on the inverse correlation of the distance from each point of the binary effective matrix to the center line, and the position weight matrix is obtained by weighting each point of the binary effective matrix according to the position weight, and the value matrix of each human body section is obtained by matrix point multiplication operation on the tissue weight matrix and the position weight matrix, and the section value is obtained based on the proportion of non-repeated element values in the value matrix, and the human body section whose deviation from the highest section value is within the set range is selected as the local section to be reconstructed, and three-dimensional reconstruction is performed according to the effective matrix of the local section to be reconstructed to obtain a reconstructed local model, and the reconstructed local model is used to replace the corresponding part of the initial three-dimensional model to obtain the three-dimensional model after local reconstruction.
[0008] The beneficial effects are as follows:
[0009] The present invention can find out high tissue weight data by calculating the tissue weight matrix of any human body section, and then use the high tissue weight data to give priority to local reconstruction of the three-dimensional model, so as to ensure that the three-dimensional model after local reconstruction can reflect the key changes of human tissue during the operation. By calculating the position weight matrix of any human body section, the data located at the operation center can be reconstructed first when the real-time three-dimensional model is reconstructed. By determining the local section to be reconstructed, it is ensured that when the real-time medical three-dimensional model is reconstructed, the reconstructed data are all valuable parts for the operation, and the data that does not belong to the local section to be reconstructed are parts with lower value for the operation. Then, local reconstruction can be performed based on the effective matrix of the local section to be reconstructed, so as to ensure that the human tissue parts that are important and have large changes during the operation can be reconstructed first, and the reconstructed local model is fused and replaced with the initial three-dimensional model to obtain the real-time medical three-dimensional model, so as to ensure the accuracy of the entire real-time medical three-dimensional model. Then, when the real-time medical three-dimensional model is locally reconstructed, it not only has high real-time performance but also has high stability and high precision.
[0010] In one embodiment, the collecting of multiple initial measurement data includes: before the operation, scanning around the human body through the X-ray scanner and receiver on the CT device to obtain initial measurement data under a human body section, the initial measurement data including the intensity of the X-ray emitted after passing through the human body section before the operation, and obtaining multiple initial measurement data by adjusting the height of the X-ray scanner relative to the human body.
[0011] In one embodiment, the real-time measurement data includes the intensity of X-rays emitted after passing through a section of a human body during surgery.
[0012] In one embodiment, the position weight includes: calculating the position weight of the u-th element point in the binary effective matrix of the t-th human body section :
[0013] ;in, is the distance value from the u-th element point to the center line of the binary effective matrix of the t-th human body section, is the maximum value of the distance values corresponding to all element points in the binary effective matrix of the t-th human body section, is the element value of the point in the effective matrix of the t-th human body section that is at the same position as the u-th element point.
[0014] Beneficial effects:
[0015] Since the valued data in the binary effective matrix is obtained based on the measured variation, and the surgical center in the surgery is located at the center of the surgical position, and thus the center line of the valued data in the binary effective matrix can represent the center of the surgical position, the distance from each point of the binary effective matrix to the center line is used as the weight of each element corresponding to each point in the binary effective matrix in the local reconstruction, so that the elements closer to the surgical center in the effective matrix can be reconstructed preferentially, and the effectiveness of the reconstruction of the local model is ensured. Among them, since the distance from each point of the binary effective matrix to the center line is the Euclidean distance value in the binary effective matrix, it cannot be directly used as the weight in the local reconstruction, and then the maximum value of the corresponding distance value of all element points in the binary effective matrix is obtained, which is used to scale the distance from each point of the binary effective matrix to the center line, so as to be used as the weight in the local reconstruction, and since the elements of each point in the effective matrix are negatively correlated with the corresponding distance values of all element points in the binary effective matrix when used for local reconstruction, the position weight is obtained by using the anti-correlation relationship between the distance from each point of the binary effective matrix to the center line, so that the reconstruction of the local model can be stable and effective.
[0016] In one embodiment, the aspect value includes: obtaining the aspect value of the value matrix corresponding to the t-th human aspect :
[0017] ;in, is the number of non-repeated element values of all element points in the value matrix corresponding to the t-th human body section, j represents The index of is the value of the jth non-repeated element in the value matrix of the tth human section, is the proportion of the j-th non-repeated element value in the value matrix of the t-th human section.
[0018] Beneficial effects:
[0019] Since the value matrix is obtained by matrix dot product of the tissue weight matrix and the position weight matrix, the larger the element value of all element points in the value matrix, the more the element value can be used to represent human tissue with high tissue concern and located at the center of surgery when reconstructing the local model. Then, when obtaining the section value, the weighted sum of the non-repeated element values in the value matrix is used as the section value, and then the section value corresponding to each human section is used to select the human section to ensure stability and effectiveness when reconstructing the local model.
[0020] In one embodiment, obtaining the partially reconstructed three-dimensional model includes: using Boolean operations to replace the corresponding parts of the initial three-dimensional model with the reconstructed local model to obtain the partially reconstructed three-dimensional model, wherein the initial three-dimensional model is a model obtained by three-dimensional reconstruction using all initial measurement data.
[0021] Beneficial effects:
[0022] By using the Boolean operation method, the reconstructed local model can be quickly replaced into the initial three-dimensional model to obtain a complete real-time medical three-dimensional model, thus preventing the real-time medical three-dimensional model from being missing.
[0023] In one embodiment, the proportion of each non-repeating element value in the value matrix includes: obtaining all element values in the value matrix, removing duplicates from all element values to obtain non-repeating element values, counting the number of occurrences of each non-repeating element value in the value matrix, and obtaining the proportion of each non-repeating element value in the value matrix.
[0024] The present application also provides an AI mixed reality real-time medical three-dimensional reconstruction system, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an AI mixed reality real-time medical three-dimensional reconstruction method according to the first aspect of the present application is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0026] Figure 1 It is a flow chart of a real-time medical 3D reconstruction method of AI mixed reality according to an embodiment of the present application.
[0027] Figure 2 It is a structural block diagram of an AI mixed reality real-time medical 3D reconstruction system according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0029] It should be understood that when the terms "first", "second", etc. are used in the claims, specification and drawings of the present application, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present application indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present application belongs.
[0030] like Figure 1 As shown, an embodiment of an AI mixed reality real-time medical three-dimensional reconstruction method of the present application includes steps S1 to S5.
[0031] Step S1, collecting initial measurement data of each human body section before surgery, obtaining a human body section image and an initial three-dimensional model.
[0032] Before surgery, the X-ray scanner and receiver on the CT device scan the human body L times at a set angle and height to obtain the intensity of the X-rays emitted after passing through the human body section, and obtain the initial measurement data of L human body sections before surgery. This initial measurement data is used to analyze the changes in tissues in a certain human body section before and after surgery.
[0033] The X-ray scanner emits P equally spaced parallel X-ray beams during each scan. The X-ray scanner has a total of M scanning angles, and the difference between the scanning angles of each scan is N, so each initial measurement data is a The data matrix of the tth initial measurement data is recorded as . Wherein, the empirical value of M is 180, the empirical value of N is 1, the empirical value of L is 100, and t is an integer greater than 0 and less than or equal to L.
[0034] Using the Radon inverse transform 3D reconstruction algorithm, all initial measurement data Perform three-dimensional reconstruction to obtain the corresponding human body section image The human body section image is used for tissue annotation in subsequent steps. In other embodiments, other three-dimensional reconstruction algorithms may also be used, such as compressed sensing and deep learning.
[0035] All human body cross-sectional images The human body sections are superimposed in sequence to obtain an initial three-dimensional model.
[0036] Step S2: In the human body section image The human tissue images that need to be paid attention to during the operation are screened out, and Radon transform is performed on each human tissue image to obtain the corresponding tissue annotation matrix, and all tissue annotation matrices are accumulated to obtain the tissue weight matrix of the human section.
[0037] The specific implementation is to use the pre-trained U-Net network model to The tissue images of the human tissues that need to be paid attention to during the operation are segmented to obtain The images corresponding to each tissue area in the image are annotated by doctors with relevant experience. Since each human tissue has a unique annotation value, the same annotation value can be used to screen out The human tissue image corresponding to the rth human tissue In other embodiments, other pre-trained neural network models, such as Mask-RCNN and FCN, may also be used.
[0038] Using the Radon transform algorithm, Transformed to Radon space, we get Distribution matrix in Radon space , Radon transform belongs to integral transform, which is widely used in tomography. Its basic application is to reconstruct the function before projection based on the transmitted light intensity of CT equipment. It should be noted that When transforming to Radon space, the angle parameters of the Radon transform algorithm are consistent with the angle parameters of the X-ray scanner in the CT device. Is Indirect reconstruction is obtained. is a The data matrix of Radon space is also a Data matrix, also known as distribution matrix is a A data matrix, in which the horizontal coordinate in the Radon space is the angle coordinate consistent with the angle parameter of the X-ray scanner, and the vertical coordinate in the Radon space is the distance value coordinate corresponding to P equally spaced parallel X-ray beams emitted by the X-ray scanner.
[0039] Then set the distribution matrix threshold Rd, the distribution matrix threshold Rd takes the empirical value of 1, The data values less than Rd are set to 0. The data values greater than or equal to Rd are set to 1, and the binary distribution matrix is obtained. . Will be less than Rd is set to 0 to distribute the matrix Filtering to eliminate acquisition to avoid interference with subsequent analysis.
[0040] Then calculate the tissue annotation matrix of the rth human tissue in the tth human section :
[0041]
[0042] in, is the reconstruction weight of the rth human tissue, is a binary distribution matrix, is the tissue annotation matrix of the rth human tissue under the tth human section. The reconstruction weight is the weight level set by doctors with relevant experience for each human tissue image, as the human tissue image The reconstruction weight , The larger the value, the more important the human tissue is. When performing real-time medical 3D reconstruction, Larger values will be rebuilt first.
[0043] because In order to contain comprehensive data of multiple human tissues, all individual human tissue annotation matrices are accumulated to obtain the accumulated tissue annotation matrix :
[0044]
[0045] Where R is the number of human tissues, is the tissue annotation matrix of the rth human tissue under the tth human section, Tissue labeling matrix for accumulation.
[0046] right After normalization, the tissue weight matrix of the tth human section is obtained: The normalization algorithm is a maximum-minimum normalization method. By following the above process for each human section image, the tissue weight matrix of all human sections can be obtained.
[0047] In the above step S2, since the distribution matrix It is consistent with the data collected by CT equipment, so we can find high tissue weight data in the distribution matrix and use the high tissue weight data to prioritize local reconstruction of the three-dimensional model to ensure that the three-dimensional model after local reconstruction can reflect the key changes in human tissue during the operation. By setting the distribution matrix threshold Rd, the distribution matrix can be filtered to eliminate the interference of numerical calculation errors generated when obtaining the distribution matrix on subsequent analysis.
[0048] Step S3, collecting real-time measurement data of each human body section during the operation; obtaining the position weight matrix of the human body section.
[0049] The specific implementation is as follows: referring to step S1, during the operation, a CT device is used to scan the human body to collect multiple real-time measurement data, the intensity of the X-ray emitted after passing through the human body section is obtained, and multiple real-time measurement data are obtained to obtain the real-time measurement data of the tth human body section. ,in, For one The data matrix. It is used for subsequent analysis of tissue changes on the same human body section, so that during real-time medical three-dimensional reconstruction, human tissues that are most affected by the surgery can be selected for priority reconstruction.
[0050] For the tth human section, compare the initial measurement data With real-time measurement data , to calculate the measurement change, according to the degree of change reflected by the measurement change, obtain the effective matrix with a degree of change higher than the set threshold in the real-time measurement data, obtain the binary effective matrix, extract the center line of the binary effective matrix, and obtain the position weight based on the anti-correlation relationship of the distance between each point of the binary effective matrix and the center line, and weight each point of the binary effective matrix according to the position weight to obtain the position weight matrix.
[0051] The specific implementation is to calculate the t-th human body section and The change between the two can be used to obtain the measured change of the t-th section of the human body. :
[0052]
[0053] in, is the tth initial measurement data, is the tth real-time measurement data, is the measured change of the tth section of the human body.
[0054] The larger the value of , the greater the change in the intensity of the X-ray emitted from the tth human body section before and during the operation. This actually reflects that a certain human tissue has undergone a significant change due to the surgical operation. Therefore, when reconstructing a real-time medical 3D model, a high The data of the value is reconstructed in three dimensions, so as to adjust it to the position of the human tissue that is most relevant to the surgical location.
[0055] get After that, by setting the change threshold Rk, the change threshold Rk takes the empirical value of 50. If the data value in is less than or equal to Rk, then The data value in is set to 0 if The data value in is greater than the Rk value, so keep The effective matrix is obtained by using the data values in The data matrix.
[0056] Set the data values in the valid matrix that are greater than 0 to 1, and the rest of the data to 0, to obtain the binary valid matrix after binarization .
[0057] During surgery, the surgical site should be in the central area of human tissue change, so In, close The data of the center is the location of the surgery center. Using the connected domain extraction algorithm, extract The connected domain in the image is used to extract the center line of the connected domain by using the image thinning algorithm to obtain the center line data sequence , where the centerline sequence is a 1×M data sequence, whose sorting order is consistent with the angle coordinate order in the Radon space, the data values of the centerline sequence are the distance value coordinates at the corresponding angle in the Radon space, and the thinning algorithm is the Pavlidis thinning algorithm.
[0058] Calculate the position weight of the u-th element point in the binary effective matrix corresponding to the t-th human body section :
[0059]
[0060] Among them, t is the number of the human body section, u is the number of the element point in the binary effective matrix of the t-th human body section, is the distance value from the u-th element point to the center line of the binary effective matrix of the t-th human body section, is the maximum value of the distance values corresponding to all element points in the binary effective matrix of the t-th human body section, is the element value of the point in the effective matrix of the t-th human body section that is at the same position as the u-th element point.
[0061] The larger the value is, the closer the current u-th element point is to the surgical center. When performing local reconstruction of the three-dimensional model, the u-th element point should be used as the priority reconstruction data to ensure that the three-dimensional model corresponding to the surgical center is real-time.
[0062] Distance value for:
[0063]
[0064] in, is the distance value coordinate corresponding to the u-th element point in Radon space, It is the distance value coordinate corresponding to the data in the center line sequence at the same angle coordinate as the u-th element point in the Radon space.
[0065] Get the position weights of all data in the filtered variation to get a position weight matrix of the human body section .
[0066] In the above step S3, based on the measured changes of a single slice, an effective matrix of the single slice is obtained for subsequent local reconstruction of the three-dimensional model, and by combining the measured changes with the surgical position during the operation, the weight of the real-time measurement data at the surgical center is increased, so that when the real-time three-dimensional model is reconstructed, the data of the surgical center can be reconstructed first.
[0067] Step S4, classifying and selecting human body sections according to the tissue weight matrix and the position weight matrix to obtain the local sections to be reconstructed.
[0068] The specific implementation is to perform matrix dot multiplication operation on the tissue weight matrix and the position weight matrix of each human section to obtain the value matrix of each human section as the section value.
[0069] Get the slice value of the tth human slice :
[0070]
[0071] in, is the number of non-repeated element values of all element points in the value matrix corresponding to the t-th human body section, j represents The index of is the value of the jth non-repeated element in the value matrix of the tth human section, is the proportion of the j-th non-repeated element value in the value matrix of the t-th human section.
[0072] In one embodiment, all element values in the value matrix of the t-th human section are obtained, all element values are deduplicated to obtain non-repeating element values, the number of occurrences of the j-th non-repeating element value in the value matrix is counted, and the proportion of the j-th non-repeating element value in the value matrix of the t-th human section is obtained. .
[0073] According to the above operation, the section value of all human sections can be obtained. , and then take the facet with the highest facet value as the center facet.
[0074] In one embodiment, the section value of each human body section is obtained, and the section value of each human body section is sorted in descending order, and the first Wq human body sections after the sorting are selected as the local sections to be reconstructed, wherein Wq takes an empirical value of 20.
[0075] In one embodiment, the section value of each human body section is obtained, the difference between the section value of each human body section and the highest section value is calculated, and the absolute value of the difference is taken to obtain the degree of deviation of each human body section from the highest section value. According to the degree of deviation, each human body section is sorted in ascending order, and the first Wq human body sections after the arrangement are selected as the local sections to be reconstructed, where Wq takes an empirical value of 20.
[0076] In one embodiment, a Gaussian model calculation formula is used to obtain a Gaussian model of the section value of each human body section, and the KL divergence value between the Gaussian model of each human body section and the Gaussian model of the central section is calculated to obtain a KL divergence sequence. The KL divergence value is multi-classified using a classification algorithm, and the KL divergence value is approximately divided into one category, wherein the classification algorithm is a binary classification with the number of categories set to 2 in k-means.
[0077] The above-mentioned approximately classifying the KL divergence values into one category is specifically as follows: the two KL divergence values corresponding to any two KL divergence values when the difference between them is less than the divergence difference threshold are classified into one category; wherein the divergence difference threshold is 0.1.
[0078] The mean of the KL divergence values in all classification results is obtained, the category with the minimum mean is obtained, and the human body section included in the category with the minimum mean is obtained as the local section to be reconstructed.
[0079] In the above step S4, the value matrix of a single human section is obtained to calculate the section value of a single human section, and the human section with the highest section value is taken as the central section. The section data is divided according to the difference between the value data in each section and the value data of the central section. The three-dimensional reconstruction is performed with the effective matrix of the local section to be reconstructed after the division to ensure that the local reconstruction data is the most effective matrix, thereby further reducing the amount of calculation while ensuring the accuracy of local reconstruction.
[0080] Step S5, performing three-dimensional reconstruction according to the effective matrix of the local section to be reconstructed to obtain a reconstructed local model, and replacing the corresponding part of the initial three-dimensional model with the reconstructed local model to obtain a locally reconstructed three-dimensional model.
[0081] The specific implementation is to obtain the effective matrices of all the local sections to be reconstructed, and use the Radon inverse transform 3D reconstruction algorithm to obtain the reconstructed local model. In other embodiments, the 3D reconstruction algorithm can also use compressed sensing and deep learning.
[0082] Since the reconstructed local model and the initial three-dimensional model are in the same spatial coordinate system, the local model replacement is completed between the reconstructed local model and the initial three-dimensional model through three-dimensional data Boolean operation to obtain the local reconstructed three-dimensional model, thereby completing the real-time medical three-dimensional model reconstruction.
[0083] The Boolean operation process is as follows: firstly, a difference operation is performed between the reconstructed local model and the initial three-dimensional model to obtain a difference model, and then a union operation is performed between the difference model and the reconstructed local model to obtain a three-dimensional model after local reconstruction.
[0084] In this way, by selecting a valid matrix with the local section to be reconstructed for three-dimensional reconstruction, the effectiveness of the reconstructed local model can be guaranteed and the calculation amount of the reconstructed local model can be reduced. By using Boolean operations on three-dimensional data, the reconstructed local model can be partially replaced by the initial three-dimensional model, thereby ensuring the integrity of the practical medical three-dimensional model.
[0085] At this point, a real-time medical 3D reconstruction method of AI mixed reality is completed. The 3D reconstruction completed through all the steps of this application does not need to reconstruct all data when used for real-time medical 3D reconstruction. Only partial reconstruction of the 3D model is required, which ensures high efficiency and high precision.
[0086] like Figure 2 As shown, an embodiment of an AI mixed reality real-time medical 3D reconstruction system of the present application includes a processor and a memory, and the memory stores computer program instructions. When the computer program instructions are executed by the processor, the above-mentioned AI mixed reality real-time medical 3D reconstruction method is implemented.
[0087] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.
[0088] In the present application, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module or both. Any such computer storage medium may be part of a device or accessible or connectable to a device.
[0089] Although this specification has shown and described a plurality of embodiments of the present application, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein may be adopted.
[0090] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A real-time medical 3D reconstruction method based on AI mixed reality. It is characterized in that include: S1, collect the initial measurement data of each human body section before surgery, obtain the human body section image and initial three-dimensional model; S2, screening out human tissue images that need to be paid attention to during the operation from the human section images, obtaining the distribution matrix of each human tissue image in each human section image by Radon transform, binarizing the distribution matrix to obtain a binary distribution matrix, performing point multiplication of the binary distribution matrix and the reconstruction weight to obtain a tissue labeling matrix, accumulating the tissue labeling matrices to obtain a tissue weight matrix of each human section image, wherein the reconstruction weight is determined according to the degree of attention of the human tissue image during the operation; S3, collecting real-time measurement data of each human body section during the operation, comparing the initial measurement data with the real-time measurement data to calculate the measurement change of each human body section, selecting the real-time measurement data of the human body section whose measurement change exceeds a set threshold as the effective matrix, binarizing the effective matrix to obtain a binary effective matrix, extracting the center line of the binary effective matrix, and obtaining a position weight based on the inverse correlation relationship of the distance between each point of the binary effective matrix and the center line, and weighting each point of the binary effective matrix according to the position weight to obtain a position weight matrix; S4, performing matrix dot multiplication operation on the tissue weight matrix and the position weight matrix to obtain the value matrix of each human section, and obtaining the section value based on the proportion of non-repeated element values in the value matrix, and selecting the human section whose deviation from the highest section value is within a set range as the local section to be reconstructed; S5, performing three-dimensional reconstruction according to the effective matrix of the local section to be reconstructed to obtain a reconstructed local model, and replacing the corresponding part of the initial three-dimensional model with the reconstructed local model to obtain a three-dimensional model after local reconstruction.
2. According to the AI mixed reality real-time medical 3D reconstruction method of claim 1, It is characterized in that The collecting of a plurality of initial measurement data comprises: Before the operation, the X-ray scanner and receiver on the CT device are used to scan the human body to obtain initial measurement data under a human body section, and the initial measurement data includes the intensity of the X-ray emitted after passing through the human body section before the operation; By adjusting the height of the X-ray scanner relative to the human body, multiple initial measurements are obtained.
3. According to the AI mixed reality real-time medical 3D reconstruction method of claim 1, It is characterized in that The real-time measurement data includes the intensity of X-rays emitted after passing through a section of a human body during surgery.
4. According to the AI mixed reality real-time medical 3D reconstruction method of claim 1, It is characterized in that The position weights include: Calculate the position weight of the u-th element point in the binary effective matrix of the t-th human body section : ; in, is the distance value from the u-th element point to the center line of the binary effective matrix of the t-th human body section, is the maximum value of the distance values corresponding to all element points in the binary effective matrix of the t-th human body section, is the element value of the point in the effective matrix of the t-th human body section that is at the same position as the u-th element point.
5. According to the AI mixed reality real-time medical 3D reconstruction method of claim 1, It is characterized in that The cross-sectional values include: Get the facet value of the tth human facet corresponding to the value matrix : ; in, is the number of non-repeated element values of all element points in the value matrix corresponding to the t-th human body section, j represents The index of is the value of the jth non-repeated element in the value matrix of the tth human section, is the proportion of the j-th non-repeated element value in the value matrix of the t-th human section.
6. According to the AI mixed reality real-time medical 3D reconstruction method of claim 1, It is characterized in that The method of obtaining a partially reconstructed three-dimensional model includes: using Boolean operations to replace the corresponding parts of the initial three-dimensional model with the reconstructed local model to obtain the partially reconstructed three-dimensional model, wherein the initial three-dimensional model is a model obtained by three-dimensional reconstruction using all initial measurement data.
7. According to the AI mixed reality real-time medical 3D reconstruction method of claim 5, It is characterized in that The proportion of each non-repeating element value in the value matrix includes: obtaining all element values in the value matrix, removing duplicates from all element values to obtain non-repeating element values, counting the number of occurrences of each non-repeating element value in the value matrix, and obtaining the proportion of each non-repeating element value in the value matrix.
8. An AI mixed reality real-time medical 3D reconstruction system, It is characterized in that include: Processor; and A memory storing computer instructions for a real-time medical three-dimensional reconstruction method of an AI mixed reality, wherein when the computer instructions are executed by the processor, the device executes the real-time medical three-dimensional reconstruction method of an AI mixed reality according to any one of claims 1-7.
Citation Information
Patent Citations
3D face dynamic reconstruction method based on estimation compensation
CN105654061A
Matching method of organ three-dimensional model and intraoperative organ image and electronic equipment
CN114842179A
