Three-dimensional ultrasound reconstruction method, device and ultrasound system

By dividing the pixels in the two-dimensional ultrasound image into multiple threads for parallel processing, and using the thread accumulation data table to calculate the voxel point scalar value, the problems of high cost of volume probes and low accuracy of the two-dimensional probe in three-dimensional ultrasound imaging are solved. Efficient and accurate three-dimensional ultrasound image reconstruction.

CN117414154BActive Publication Date: 2024-09-20YUANHUA ORTHOPAEDIC ROBOTICS (SHENZHEN) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311138934.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-05
Publication Date
2024-09-20
Estimated Expiration
2043-09-05

AI Technical Summary

Technical Problem

In existing three-dimensional ultrasound imaging technology, the volume probe is high-cost and low-precision, and the position of the two-dimensional probe during movement is inaccurate, resulting in low accuracy of the reconstructed three-dimensional image. In addition, the existing solution is time-consuming and easy to reconstruct in a large area. resulting in data loss.

Method used

By dividing multiple pixels in the two-dimensional ultrasound image into multiple threads for parallel processing, each thread has a pre-built thread accumulation data table to determine and calculate the voxel point and its label of each pixel in the three-dimensional space. value, and then reconstruct the three-dimensional ultrasound image.

Benefits of technology

It improves the speed and accuracy of three-dimensional ultrasound reconstruction, reduces data dependence, reduces storage space requirements, and improves reconstruction efficiency and image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117414154B
    Figure CN117414154B
Patent Text Reader

Abstract

The embodiment of the present application is applicable to the field of ultrasound imaging technology, and provides a three-dimensional ultrasound reconstruction method, device and ultrasound system, the method comprising: when a two-dimensional ultrasound image is acquired, a plurality of pixel points in the two-dimensional ultrasound image are divided into a plurality of threads, any of the threads having a pre-constructed thread accumulation data table; determining the voxel point mapped by each pixel point in three-dimensional space; storing the voxel scalar value of each voxel point in the thread accumulation data table of the corresponding pixel point thread; calculating the target voxel scalar value of each voxel point based on the thread accumulation data table of each thread; and reconstructing a three-dimensional ultrasound image according to the target voxel scalar value of each voxel point. The above method can improve the speed of three-dimensional ultrasound reconstruction and improve the accuracy of the reconstructed three-dimensional ultrasound image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application belong to the field of ultrasonic imaging technology, and in particular, relate to a three-dimensional ultrasonic reconstruction method, device and ultrasonic system. Background Art

[0002] Ultrasound imaging is a technology that uses ultrasonic sound beams to scan the human body, receive reflected signals and process them to obtain images of internal organs. Ultrasound imaging can be used to determine the location, size, and shape of organs, determine the scope and physical properties of lesions, etc., and has a wide range of applications in the field of medical technology.

[0003] Traditional ultrasound imaging is mainly two-dimensional ultrasound imaging. Since two-dimensional ultrasound imaging cannot provide three-dimensional structural information within the scanning area, the industry has currently developed three-dimensional ultrasound imaging technology, which reconstructs three-dimensional volume data through two-dimensional ultrasound images in multiple postures, thereby providing doctors with richer diagnostic and treatment information.

[0004] Generally, three-dimensional ultrasound imaging requires the use of a specific probe to scan the area of ​​interest. For example, a volume probe is used to scan the data in the three-dimensional space, and the data is reconstructed and displayed. However, the volume probe has a maximum scanning range, and the range of each scan is limited by the manufacturing specifications of the volume probe, and the corresponding imaging area will also be affected. In addition, compared with ordinary two-dimensional probes, volume probes are expensive, and the cost of using volume probes for three-dimensional ultrasound imaging is high. If an ordinary two-dimensional probe is used for scanning, it is necessary for medical staff to hold the probe and move it stably in the scanning area to collect two-dimensional images. For example, linear sliding, fixed-point swinging or fixed-point spinning, etc. Then, the ultrasound system can reconstruct the two-dimensional images received in each posture to obtain a three-dimensional image. However, the specific position of the two-dimensional probe during the movement cannot be accurately obtained, and the ultrasound system can only obtain a relatively rough spatial posture, resulting in a low accuracy of the three-dimensional image obtained after reconstruction. Summary of the invention

[0005] In view of this, embodiments of the present application provide a three-dimensional ultrasound reconstruction method, device, and ultrasound system to improve the speed of three-dimensional ultrasound reconstruction and the accuracy of the reconstructed three-dimensional ultrasound image.

[0006] A first aspect of an embodiment of the present application provides a three-dimensional ultrasound reconstruction method, comprising:

[0007] When a two-dimensional ultrasound image is acquired, a plurality of pixel points in the two-dimensional ultrasound image are divided into a plurality of threads, and any of the threads has a pre-built thread accumulation data table;

[0008] Determine a voxel point mapped to each pixel point in three-dimensional space;

[0009] The voxel scalar value of each voxel point is stored in the thread accumulation data table of the thread where the corresponding pixel point is located;

[0010] Calculating a target voxel scalar value of each voxel point based on the thread accumulation data table of each thread;

[0011] A three-dimensional ultrasound image is reconstructed according to the target voxel scalar value of each voxel point.

[0012] A second aspect of an embodiment of the present application provides a three-dimensional ultrasound reconstruction device, comprising:

[0013] A division module, used for dividing a plurality of pixel points in the two-dimensional ultrasound image into a plurality of threads when a two-dimensional ultrasound image is acquired, and any of the threads has a pre-built thread accumulation data table;

[0014] A determination module, used to determine a voxel point mapped to each pixel point in the three-dimensional space;

[0015] A storage module, used for storing the voxel scalar value of each voxel point in a thread accumulation data table of the thread where the corresponding pixel point is located;

[0016] A calculation module, configured to calculate a target voxel scalar value of each voxel point based on the thread accumulation data table of each thread;

[0017] The reconstruction module is used to reconstruct a three-dimensional ultrasound image according to the target voxel scalar value of each voxel point.

[0018] A third aspect of an embodiment of the present application provides an ultrasound system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the three-dimensional ultrasound reconstruction method as described in the first aspect above is implemented.

[0019] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the three-dimensional ultrasound reconstruction method as described in the first aspect above is implemented.

[0020] A fifth aspect of an embodiment of the present application provides a computer program product. When the computer program product is run on an ultrasound system, the ultrasound system executes the three-dimensional ultrasound reconstruction method described in the first aspect.

[0021] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0022] By using the method provided in the embodiment of the present application, when a two-dimensional ultrasound image is collected, multiple pixels in the two-dimensional ultrasound image can be divided into multiple threads for parallel processing. Among them, any thread has a pre-built thread accumulation data table. When each thread processes the pixels in the thread in parallel, by determining the voxel points mapped by each pixel point in the three-dimensional space, the voxel scalar value of each voxel point can be stored in the thread accumulation data table of the thread where the pixel point is located, so that the target voxel scalar value of each voxel point can be calculated based on the thread accumulation data table of each thread, and the three-dimensional ultrasound image can be reconstructed according to the target voxel scalar value. By using the above method provided in the embodiment of the present application, multiple pixels and multiple voxel points can be processed in parallel by multiple threads, which helps to improve the speed of three-dimensional ultrasound reconstruction and improve the accuracy of the reconstructed three-dimensional ultrasound image. This method can be widely used in ultrasonic orthopedic three-dimensional reconstruction to improve the accuracy and safety of surgery; the application of this method in three-dimensional imaging of tissues and organs such as the liver, pancreas, gallbladder, thyroid, breast, prostate, etc. can help doctors determine the location and size of lesions and guide surgical operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 is a schematic diagram of a three-dimensional ultrasound reconstruction method provided in an embodiment of the present application;

[0025] Figure 2 is a flow chart of a three-dimensional ultrasound reconstruction method provided in an embodiment of the present application;

[0026] Figure 3-Figure 5 is a schematic diagram of reconstruction effects presented at different stages of three-dimensional ultrasound reconstruction using the three-dimensional ultrasound reconstruction method provided in an embodiment of the present application;

[0027] Figure 6 is a schematic diagram of a three-dimensional ultrasound reconstruction device provided in an embodiment of the present application;

[0028] Figure 7 It is a schematic diagram of an ultrasound system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In the following description, specific details such as specific system structures, technologies, etc. are proposed for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from hindering the description of the present application.

[0030] In order to improve the accuracy of three-dimensional ultrasound imaging, some researchers have proposed installing a calibrator on the two-dimensional probe and detecting the real-time spatial position of the two-dimensional probe through high-speed navigators and other equipment. Then, the three-dimensional image of the scanned area is quickly reconstructed by combining the two-dimensional image information collected by the probe. However, in the existing imaging process, medical staff need to hold a two-dimensional probe to collect two-dimensional image data within the range of the area of ​​interest, and then perform three-dimensional reconstruction of the entire area. If a large area of ​​interest needs to be finely reconstructed, according to the above processing method, a huge storage space is required to store the two-dimensional image data of each position. In addition, during the three-dimensional reconstruction process, it is necessary to traverse the voxels in the entire range, which will take a very long time. Other researchers have improved the above scheme and proposed a scheme to obtain a single two-dimensional image in real time and then immediately perform three-dimensional reconstruction. In this way, the data acquisition delay can be effectively reduced and the required storage space can be greatly reduced. However, this reconstruction method has the possibility of volume data being overwritten, which is easy to cause data loss and thus cannot reconstruct high-quality volume data. In addition, since the calculation of a single voxel may depend on multiple two-dimensional pixels, each pixel can only be traversed serially during three-dimensional reconstruction, resulting in low reconstruction efficiency.

[0031] In view of the above problems, the embodiment of the present application provides a three-dimensional ultrasound reconstruction method, which improves the efficiency of three-dimensional reconstruction by dividing multiple pixel points in a two-dimensional ultrasound image into multiple threads respectively, and each thread processes the pixel points in parallel. In addition, each thread in the embodiment of the present application has a pre-built thread data accumulation table for storing various data of the pixel points processed by the thread, which reduces the dependence between the data and can further improve the reconstruction efficiency while ensuring the reconstruction accuracy.

[0032] The technical solution of the present application is described below through specific embodiments.

[0033] Reference Figure 1 , shows a schematic diagram of a three-dimensional ultrasound reconstruction method provided in an embodiment of the present application, which may specifically include the following steps:

[0034] S101. When a two-dimensional ultrasound image is acquired, a plurality of pixel points in the two-dimensional ultrasound image are divided into a plurality of threads, and any of the threads has a pre-built thread accumulation data table.

[0035] The method can be applied to an ultrasound system. By adopting the steps of the method, the ultrasound system can quickly and efficiently reconstruct a high-precision three-dimensional ultrasound image based on the acquired two-dimensional ultrasound image.

[0036] In one possible implementation, the ultrasound system may be composed of a plurality of independent devices, which together constitute an ultrasound system capable of performing two-dimensional and three-dimensional ultrasound examinations. For example, the executor of the present method may be a computer device capable of image processing or data processing, which together with other necessary devices constitutes the above-mentioned ultrasound system. In another possible implementation, the ultrasound system may also be an all-in-one device that integrates a plurality of devices required for the ultrasound examination process, and the functions required for the ultrasound examination may be implemented by different modules in the above-mentioned all-in-one device. The present application embodiment does not limit the composition of the ultrasound system.

[0037] In the embodiment of the present application, the two-dimensional ultrasound image may be a two-dimensional image obtained by scanning a corresponding area with a two-dimensional ultrasound probe. For example, during the diagnosis and treatment process, medical staff may hold a two-dimensional ultrasound probe and scan a certain part of the patient's body to obtain a two-dimensional ultrasound image of the corresponding organ in the body at that part.

[0038] In a possible implementation manner, the two-dimensional ultrasound image may be a complete two-dimensional image or a slice of a two-dimensional ultrasound image.

[0039] In order to improve the efficiency of three-dimensional reconstruction, the embodiment of the present application can use multiple threads to process multiple pixels in a two-dimensional ultrasound image in parallel, and each thread processes a portion of the pixels in the two-dimensional ultrasound image respectively. Therefore, after acquiring the two-dimensional ultrasound image, the multiple pixels in the two-dimensional ultrasound image can be divided into multiple threads. In a possible implementation, the above-mentioned division of pixels can be performed in the form of average division. In this way, the number of pixels required to be processed by each thread can be roughly equal. For example, the number of pixels in the two-dimensional ultrasound image is M, and the number of threads that can be used to process the pixels is N, then the number of pixels allocated to each thread can be approximately M / N.

[0040] In an embodiment of the present application, each thread may have a thread accumulation data table, which may be pre-built and used to store data generated by the thread in the process of processing each pixel point. For example, the thread accumulation data table may be used to store the voxel scalar value of the voxel point mapped to each pixel point, or each component of the voxel scalar value.

[0041] S102: Determine a voxel point mapped to each pixel point in the three-dimensional space.

[0042] In an embodiment of the present application, each thread can determine in parallel the voxel points mapped to each pixel point assigned to the thread in the three-dimensional space. The three-dimensional space can be a cuboid for storing reconstruction results, and the size of the cuboid can be slightly larger than the scanned area.

[0043] Voxel is the abbreviation of volume pixel. A volume containing voxels can be expressed by stereo rendering or extracting polygonal isosurfaces with given threshold contours. Voxel is the smallest unit of digital data in three-dimensional space segmentation. Voxel is usually used in three-dimensional imaging, scientific data and medical imaging. Conceptually similar to the smallest unit of two-dimensional space - pixel, pixel is used in the image data of two-dimensional computer images. Voxel point can be regarded as the location point of voxel in three-dimensional space.

[0044] In the embodiment of the present application, the voxel point mapped by each pixel point in the three-dimensional space can be determined based on the position information of each pixel point in the three-dimensional space. Therefore, the position information of each pixel point in the three-dimensional space can be obtained, and then the voxel point mapped by each pixel point in the three-dimensional space can be determined based on the position information.

[0045] In a possible implementation of the embodiment of the present application, each voxel point in the three-dimensional space may have a voxel index value, which may be used to uniquely identify each voxel point. The voxel index value of each voxel point may be determined based on the position information of the corresponding pixel point.

[0046] Specifically, the coordinates of the origin of the three-dimensional space can be expressed as ( x ,O y ,O z ), the size of a single voxel is (C x ,C y ,C z ), the position information of the pixel point in three-dimensional space can be expressed as (P x ,P y ,P z ), then the voxel index value of the voxel point mapped by the pixel point in the three-dimensional space can be determined by the following formula:

[0047]

[0048] Among them, I x ,I y ,I z The voxel index values ​​that together constitute the voxel point. The expression Floor() means that the calculated value is rounded down.

[0049] The above voxel index values ​​can be stored in a voxel index set. Similar to the thread accumulation data table, each thread can pre-build a voxel index set to store the voxel index values ​​processed by the thread.

[0050] S103 , storing the voxel scalar value of each voxel point in the thread accumulation data table of the thread where the corresponding pixel point is located.

[0051] In an embodiment of the present application, each thread may respectively calculate the voxel scalar values ​​of the voxel points mapped to the pixel points assigned to the thread, and store the voxel scalar value of each voxel point in the thread accumulation data table of the thread.

[0052] In a possible implementation, the voxel scalar value may be composed of multiple components, and when the voxel scalar value is stored in the thread accumulation data table, the components constituting the voxel scalar value may also be stored. Specifically, the components of the voxel scalar value of each voxel point may be calculated respectively, and then the components of each voxel scalar value may be stored in the thread accumulation data table of the thread where the corresponding pixel point is located.

[0053] In the embodiment of the present application, the various components of the voxel scalar value can be calculated by first determining the influence weight of each pixel on each voxel, and the influence weight can be inversely proportional to the distance from each pixel to each voxel. Exemplarily, the influence weight of the pixel on the composition of the voxel is W, and the distance between the pixel and the voxel is d, then there is the following expression W=1 / d.

[0054] The value of the distance d can be calculated based on the position information of the pixel point in the three-dimensional space, the voxel index value of the mapped voxel point, and the size of a single voxel.

[0055] Specifically, the distance d between a pixel point and a mapped voxel point can be calculated using the following formula:

[0056] dx=P x -I x *C x -C x / 2

[0057] dy=P y -I y *C y -C y / 2

[0058] dz=P z -I z *C z -C z / 2

[0059] d=sqrt(dx*dx+dy*dy+dz*dz)

[0060] After the influence weight of each pixel point on each voxel point is calculated, each component of the voxel scalar value of each voxel point may be calculated based on the influence weight.

[0061] In a possible implementation of the embodiment of the present application, the voxel scalar value includes a first component and a second component, wherein the first component may be a T component and the second component may be an S component.

[0062] In specific calculations, for any voxel point, the sum of the influence weights of each pixel point on the voxel point can be calculated to obtain the first component of the voxel scalar value of the voxel point. The product of the influence weight of each pixel point on the voxel point and the pixel value of the corresponding pixel point is calculated and the products of all the pixels are summed up to obtain the second component of the voxel scalar value of the voxel point.

[0063] Exemplarily, the first component and the second component can be calculated using the following formula:

[0064]

[0065] Among them, P k represents the pixel value of the kth pixel, W k is the influence weight of the pixel on the voxel, d k is the distance between the pixel and the current voxel, S c represents the S component, T c Represents the T component.

[0066] The data stored in each thread accumulation data table may be the first component and the second component. Subsequently, the voxel scalar value of the voxel point may be calculated based on the first component and the second component. The voxel scalar value is the ratio of the second component to the first component, that is, the ratio of the S component to the T component:

[0067]

[0068] Among them, V c The voxel scalar value representing the current voxel point.

[0069] S104 . Calculate a target voxel scalar value of each voxel point based on the thread accumulation data table of each thread.

[0070] In the embodiment of the present application, after the voxel scalar value of each voxel point is calculated in parallel by multiple threads and stored in the thread accumulation data table of the thread, the target voxel scalar value of each voxel point can be calculated by using the multiple thread accumulation data table. The above target voxel scalar value can be the final voxel scalar value of the voxel point calculated based on the pixel points processed by each thread.

[0071] In a possible implementation of an embodiment of the present application, after determining the voxel index value of each voxel point and storing the voxel index value in the voxel index set of the thread where the corresponding pixel point is located, duplicate data may exist in different voxel index sets. For example, the same voxel point may be included in two different voxel index sets. Therefore, an embodiment of the present application can merge the voxel index set of each thread to obtain a total index set. For repeated voxel index values, only one of the data can be retained. In this way, the voxel points contained in the final total index set do not repeat each other.

[0072] Subsequent reconstruction can then be performed based on the voxel points contained in the total set of indices.

[0073] In a possible implementation of the embodiment of the present application, similar to the processing of multiple pixel points in a two-dimensional ultrasound image, multiple threads can also be used to process the voxel points in the total index set. Therefore, first, each voxel point in the total index set can be divided into multiple threads. Then, according to the voxel scalar value of each voxel point stored in the thread accumulation data table of each thread, the target voxel scalar value of each voxel point is calculated.

[0074] When calculating the target voxel scalar value of each voxel point, the voxel scalar values ​​stored in the thread accumulation data table of each thread may be accumulated.

[0075] In a possible implementation of the embodiment of the present application, the data stored in the thread accumulation data table may be the components used to calculate the voxel scalar value. Therefore, when calculating the target voxel scalar value, the components may be accumulated first, and then the target voxel scalar value may be calculated based on the accumulated result. For example, the first component recorded in each thread accumulation data table may be accumulated to obtain the first component accumulated value, and then the second component recorded in each thread accumulation data table may be accumulated to obtain the second component accumulated value, and then the target voxel scalar value may be calculated based on the first component accumulated value and the second component accumulated value.

[0076] In a specific implementation, for any voxel point, each component of the voxel scalar value of the voxel point in the thread accumulation data table of each thread can be determined separately, and then the each component of the voxel scalar value of the voxel point in each thread accumulation data table is accumulated to obtain the target values ​​of each component of the target voxel scalar value of the voxel point, thereby determining the target voxel scalar value of the voxel point based on the target value.

[0077] S105 . Reconstruct a three-dimensional ultrasound image according to the target voxel scalar value of each voxel point.

[0078] After the calculation of the target voxel scalar values ​​of all voxel points is completed once, the reconstruction of a two-dimensional ultrasound image or slice is completed, and the reconstruction of the next image or slice can be continued, thereby realizing the reconstruction of a three-dimensional ultrasound image.

[0079] For ease of understanding, the three-dimensional ultrasound reconstruction method provided in the embodiment of the present application is introduced below with reference to a specific example.

[0080] like Figure 2 FIG. 1 is a flow chart of a three-dimensional ultrasound reconstruction method according to an embodiment of the present application. Figure 2 As shown in the flow, the entire reconstruction process may include steps such as data table construction, thread parallel calculation, voxel point merging, and voxel point update. The following will introduce them one by one.

[0081] S201, constructing a data table.

[0082] Construct a global accumulation table gTable in the global scope. This accumulation table gTable can be used to store the various components for calculating the aforementioned target voxel scalar value, that is, the final voxel scalar value of each voxel point. Construct a voxel index set vertexSet in the thread scope. This index set vertexSet can be used to store the indexes of all voxel points found in the two-dimensional ultrasound image or slice on the currently executing thread. It is necessary to ensure that the data stored in the index set vertexSet is not repeated, that is, each voxel index value is unique. Construct a thread data accumulation table thTable in the thread scope. The thread data accumulation table thTable can be used to store the various components used to calculate the voxel scalar value of the two-dimensional ultrasound image or slice on the currently executing thread.

[0083] In a possible implementation, a regular cuboid slightly larger than the scanned area may be constructed, and the cuboid may be used to store the reconstruction result. The size of the cuboid may be m×n×k, and the origin coordinates are (O x ,O y ,O z ), the size of a single voxel is (C x ,C y ,Cz ). The size of the global accumulation table gTable and the thread data accumulation table thTable may also be m×n×k. The initial values ​​of the global accumulation table gTable and the thread data accumulation table thTable may both be 0, and the global accumulation table gTable and the thread data accumulation table thTable may include two components, namely the first component T component and the second component S component.

[0084]

[0085]

[0086]

[0087]

[0088] Among them, V c Represents the voxel scalar value of the current voxel point, P k Indicates the pixel value of the kth pixel that affects the current voxel point, W k is the influence weight of the pixel on the current voxel, d k is the distance between the pixel and the current voxel, S c Indicates the value used to calculate V c The S component, T c Indicates the value used to calculate V c The T component.

[0089] S202: Thread parallel computing.

[0090] Multiple threads may be enabled, and each thread processes multiple pixel points in the two-dimensional ultrasound image in parallel.

[0091] In the embodiment of the present application, multiple pixels in the two-dimensional ultrasound image can be evenly divided into multiple threads, and each pixel is processed as follows:

[0092] a) Get the position of the pixel in three-dimensional space (P x ,P y ,P z );

[0093] b) Use the following formula to find the voxel point mapped by the pixel point in the regular cuboid, and store the voxel index value of the voxel point in the voxel index set vertexSet:

[0094]

[0095] c) Calculate the distance d between the three-dimensional space coordinate point of the pixel point and its corresponding voxel point, and use the distance weighted algorithm to calculate each component of the voxel scalar value, and accumulate each component into the thread data accumulation table thTable, wherein the distance d can be calculated using the following formula:

[0096] dx=P x -I x *C x -C x / 2

[0097] dy=P y -I y *C y -C y / 2

[0098] dz=P z -I z *C z -C z / 2

[0099] d=sprt(dx*dx+dy*dy+dz*dz)

[0100] Accumulating each component into the thread data accumulation table thTable can be expressed as:

[0101] thTable I .S+=S I

[0102] thTalbe I .T+=T I

[0103] S203: Voxel points are merged.

[0104] After all pixels are traversed, the index sets vertexSet of each thread can be merged into a total set totalSet without duplicate elements.

[0105] S204: voxel point update.

[0106] Multiple threads can be enabled, and each thread can process multiple voxel points in parallel. Therefore, the voxel points in the totalSet can be evenly divided into each thread, and each voxel point can be processed as follows:

[0107] a) Get the thread data accumulation table thTable of each thread, take out all the components used to calculate the voxel point, and accumulate them into the global accumulation table gTable:

[0108] gTable I .S+=thTableI .S

[0109] gTable I .T+=thTable I .T

[0110] b) Using the components in the global accumulation table gTable, calculate the final voxel scalar value of the voxel point:

[0111]

[0112] Among them, tTable I .S represents the target value of the S component obtained by summing the S components in the global accumulation table gTable. I .T represents the target value of the S component obtained by accumulating the S components in the global accumulation table gTable, V I is the final voxel scalar value of voxel point I, that is, the target voxel scalar value in the aforementioned embodiment.

[0113] After the calculation of all voxel points in the total set totalSet is completed, the reconstruction of a two-dimensional ultrasound image or slice is completed, the latest reconstruction result is updated and displayed, and the reconstruction of the next slice is continued.

[0114] The applicant applied the three-dimensional ultrasound reconstruction method provided in the embodiment of the present application to perform real-time reconstruction of the spine phantom to verify the image quality and reconstruction performance of the method. The results are as follows: Figure 3-Figure 5 shown. Figure 3-Figure 5 The schematic diagrams respectively show the reconstruction effects of three-dimensional ultrasound reconstruction at different stages using the method. Figure 5 The final three-dimensional ultrasound image is reconstructed. The specific steps include:

[0115] Step 1: Construct a 256mm×256mm×256mm rectangular data to store the reconstruction results. The size of a single voxel is 1mm×1mm×1mm. Construct a 256×256×256 global accumulation table gTable to store voxel calculation components. Set the number of processing threads to 6 and construct a thread data accumulation table thTable within the range of 6 threads. The table size is 256×256×256. Construct 6 empty voxel index sets vertexSet;

[0116] Step 2: Start all processing threads and traverse all pixels in parallel. Find the voxel index mapped by the pixel and add it to the index set vertexSet of the corresponding thread; calculate the components required for the voxel calculation of the pixel and accumulate them in the thread data accumulation table thTable of the corresponding thread;

[0117] Step 3: Wait until all pixel points are traversed, merge the voxel index sets vertexSet of each thread into a total set totalSet, and remove duplicate data;

[0118] Step 4: Start all processing threads, traverse the voxels in the set totalSet in parallel, obtain the thread data accumulation table thTable of each thread, take out all components used to calculate the voxel, and accumulate them into the global accumulation table gTable, and use each component in the global accumulation table gTable to calculate the final voxel scalar value of the voxel.

[0119] Step 5: After the calculation of all voxels is completed, the reconstruction of one slice is completed, the latest reconstruction result is updated and displayed, and the reconstruction of the next slice can be continued.

[0120] It has been verified that the average computing time required to process a single two-dimensional image using a single-threaded serial running algorithm is 190ms, and the average computing time required to process a single two-dimensional image using the multi-threaded parallel algorithm provided by the embodiment of the method is 40ms, which greatly improves the efficiency of three-dimensional ultrasound reconstruction.

[0121] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0122] Reference Figure 6 , shows a schematic diagram of a three-dimensional ultrasound reconstruction device provided in an embodiment of the present application, which may specifically include a division module 601, a determination module 602, a storage module 603, a calculation module 604 and a reconstruction module 605, wherein:

[0123] A division module 601 is used for dividing a plurality of pixel points in a two-dimensional ultrasound image into a plurality of threads when a two-dimensional ultrasound image is acquired, and any of the threads has a pre-built thread accumulation data table;

[0124] A determination module 602 is used to determine a voxel point mapped to each pixel point in the three-dimensional space;

[0125] The storage module 603 is used to store the voxel scalar value of each voxel point in the thread accumulation data table of the thread where the corresponding pixel point is located;

[0126] A calculation module 604, configured to calculate a target voxel scalar value of each voxel point based on the thread accumulation data table of each thread;

[0127] The reconstruction module 605 is used to reconstruct a three-dimensional ultrasound image according to the target voxel scalar value of each voxel point.

[0128] In a possible implementation of the embodiment of the present application, the determination module 602 can be specifically used to: obtain the position information of each pixel point in the three-dimensional space; and determine the voxel point mapped by each pixel point in the three-dimensional space based on the position information.

[0129] In a possible implementation of an embodiment of the present application, the storage module 603 can be specifically used to: respectively calculate each component of the voxel scalar value of each voxel point; and respectively store each component of the voxel scalar value in the thread accumulation data table of the thread where the corresponding pixel point is located.

[0130] In another possible implementation of the embodiment of the present application, the storage module 603 can also be used to: respectively determine the influence weight of each pixel point on each voxel point, and the influence weight is inversely proportional to the distance from each pixel point to each voxel point; based on the influence weight of each pixel point on each voxel point, calculate the various components of the voxel scalar value of each voxel point.

[0131] In another possible implementation of the embodiment of the present application, the storage module 603 can also be used to: for any voxel point, respectively calculate the sum of the influence weights of each pixel point on the voxel point to obtain the first component of the voxel scalar value of the voxel point; respectively calculate the product of the influence weight of each pixel point on the voxel point and the pixel value of the corresponding pixel point, sum up the products of all the pixel points, and obtain the second component of the voxel scalar value of the voxel point.

[0132] In a possible implementation of the embodiment of the present application, the device may further include an index value merging module. The index value merging module may be specifically used to: determine the voxel index value of each voxel point, and store the voxel index value in the voxel index set of the thread where the corresponding pixel point is located; merge the voxel index set of each thread to obtain a total index set, and the voxel points contained in the total index set are not repeated.

[0133] In a possible implementation of an embodiment of the present application, the calculation module 604 can be specifically used to: divide each voxel point in the total index set into multiple threads; calculate the target voxel scalar value of each voxel point according to the voxel scalar value of each voxel point stored in the thread accumulation data table of each thread.

[0134] In another possible implementation of the embodiment of the present application, the calculation module 604 can also be used to: for any voxel point, respectively determine the various components of the voxel scalar value of the voxel point in the thread cumulative data table of each thread; accumulate the various components of the voxel scalar value of the voxel point in each of the thread cumulative data tables to obtain target values ​​of the various components constituting the target voxel scalar value of the voxel point; based on the target value, determine the target voxel scalar value of the voxel point.

[0135] An embodiment of the present application provides a three-dimensional ultrasound reconstruction device, and by using the device, each step in the aforementioned method embodiments can be implemented.

[0136] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment part.

[0137] Reference Figure 7 , shows a schematic diagram of an ultrasound system provided by an embodiment of the present application. Figure 7 As shown, the ultrasound system 700 in the embodiment of the present application includes: a processor 710, a memory 720, and a computer program 721 stored in the memory 720 and executable on the processor 710. When the processor 710 executes the computer program 721, the steps in each embodiment of the above-mentioned three-dimensional ultrasound reconstruction method are implemented, for example Figure 1 Alternatively, when the processor 710 executes the computer program 721, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 6 Functions of modules 601 to 605 are shown.

[0138] Exemplarily, the computer program 721 may be divided into one or more modules / units, which are stored in the memory 720 and executed by the processor 710 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which may be used to describe the execution process of the computer program 721 in the ultrasound system 700. For example, the computer program 721 may be divided into a division module, a determination module, a storage module, a calculation module, and a reconstruction module, and the specific functions of each module are as follows:

[0139] A division module, used for dividing a plurality of pixel points in the two-dimensional ultrasound image into a plurality of threads when a two-dimensional ultrasound image is acquired, and any of the threads has a pre-built thread accumulation data table;

[0140] A determination module, used to determine a voxel point mapped to each pixel point in the three-dimensional space;

[0141] A storage module, used for storing the voxel scalar value of each voxel point in a thread accumulation data table of the thread where the corresponding pixel point is located;

[0142] A calculation module, configured to calculate a target voxel scalar value of each voxel point based on the thread accumulation data table of each thread;

[0143] The reconstruction module is used to reconstruct a three-dimensional ultrasound image according to the target voxel scalar value of each voxel point.

[0144] The ultrasound system 700 may be a medical device in the steps of the above-mentioned method embodiments. The ultrasound system 700 may include, but is not limited to, a processor 710 and a memory 720. Those skilled in the art may understand that Figure 7 It is only an example of the ultrasound system 700 and does not constitute a limitation of the ultrasound system 700. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the ultrasound system 700 may also include input and output devices, network access devices, buses, etc.

[0145] The processor 710 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0146] The memory 720 may be an internal storage unit of the ultrasound system 700, such as a hard disk or memory of the ultrasound system 700. The memory 720 may also be an external storage device of the ultrasound system 700, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the ultrasound system 700. Further, the memory 720 may also include both an internal storage unit and an external storage device of the ultrasound system 700. The memory 720 is used to store the computer program 721 and other programs and data required by the ultrasound system 700. The memory 720 may also be used to temporarily store data that has been output or is to be output.

[0147] An embodiment of the present application also discloses an ultrasound system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the three-dimensional ultrasound reconstruction method described in the aforementioned embodiments is implemented.

[0148] The embodiment of the present application further discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the three-dimensional ultrasound reconstruction method as described in the above-mentioned embodiments is implemented.

[0149] The embodiment of the present application further discloses a computer program product. When the computer program product is run on an ultrasound system, the ultrasound system executes the three-dimensional ultrasound reconstruction method described in the above embodiments.

[0150] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A three-dimensional ultrasound reconstruction method, characterized in that: include: When a two-dimensional ultrasound image is acquired, a plurality of pixel points in the two-dimensional ultrasound image are divided into a plurality of threads, and any of the threads has a pre-built thread accumulation data table; Determine a voxel point mapped to each pixel point in three-dimensional space; Calculate the components of the voxel scalar value of each voxel point respectively; Each component of the voxel scalar value is stored in a thread accumulation data table of the thread where the corresponding pixel point is located; Determine a voxel index value of each voxel point, and store the voxel index value in a voxel index set of a thread where a corresponding pixel point is located; Merging the voxel index set of each thread to obtain a total index set, wherein the voxel points contained in the total index set are not repeated; Dividing each voxel point in the total index set into a plurality of the threads; calculating a target voxel scalar value of each voxel point according to the voxel scalar value of each voxel point stored in the thread accumulation data table of each thread; Reconstructing a three-dimensional ultrasound image according to the target voxel scalar value of each voxel point; The step of respectively calculating the components of the voxel scalar value of each voxel point comprises: Respectively determine the influence weight of each pixel point on each voxel point, wherein the influence weight is inversely proportional to the distance from each pixel point to each voxel point; Based on the influence weight of each pixel point on each voxel point, each component of the voxel scalar value of each voxel point is calculated.

2. The method according to claim 1, characterized in that The step of determining a voxel point mapped by each pixel point in the three-dimensional space comprises: Obtaining position information of each pixel point in the three-dimensional space; According to the position information, a voxel point mapped to each pixel point in the three-dimensional space is determined.

3. The method according to claim 1, characterized in that The calculating each component of the voxel scalar value of each voxel point based on the influence weight of each pixel point on each voxel point comprises: For any voxel point, respectively calculate the sum of the influence weights of each pixel point on the voxel point to obtain a first component of the voxel scalar value of the voxel point; The product of the influence weight of each pixel point on the voxel point and the pixel value of the corresponding pixel point is calculated respectively, and the products of all the pixel points are summed up to obtain the second component of the voxel scalar value of the voxel point.

4. The method according to claim 1, characterized in that The step of calculating the target voxel scalar value of each voxel point according to the voxel scalar value of each voxel point stored in the thread accumulation data table of each thread comprises: For any voxel point, respectively determine each component of the voxel scalar value of the voxel point in the thread accumulation data table of each thread; Accumulating each component of the voxel scalar value of the voxel point in each thread accumulation data table to obtain a target value of each component constituting a target voxel scalar value of the voxel point; Based on the target value, a target voxel scalar value of the voxel point is determined.

5. An ultrasound system comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the three-dimensional ultrasound reconstruction method according to any one of claims 1 to 4 is implemented.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the three-dimensional ultrasound reconstruction method according to any one of claims 1 to 4 is implemented.