Puncture path planning method, system and computer device
By obtaining the voxel structure of the target object and using the quantum annealing algorithm, the set of candidate needle insertion points and the path selection function are determined, which solves the problem of low efficiency in puncture path planning and realizes automatic quantitative planning of puncture path and improves accuracy.
Patent Information
- Application Number
- CN202210946070.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-08-08
AI Technical Summary
The lack of quantitative planning methods in existing technologies leads to low efficiency in puncture path planning, reliance on the surgeon's experience, and a tendency to result in excessively large or incomplete puncture areas, as well as inaccurate insertion, which can lead to residual cancer.
By obtaining the voxel structure of the target object, determining the set of candidate needle insertion points, and combining path association information and quantum annealing algorithm to construct a path selection function, the target puncture path is searched out, thus realizing automatic quantitative planning of the puncture path.
It improves the accuracy and efficiency of puncture path planning, enabling the identification of the optimal or near-optimal puncture path before surgery, thus reducing damage to normal tissues.
Smart Images

Figure CN117562632B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical image processing technology, and in particular to a puncture path planning method, system, computer device, and storage medium. Background Technology
[0002] Medical imaging (CT, ultrasound, etc.) guided local treatment of liver tumors involves percutaneous intervention of the lesion under image guidance. This requires avoiding the ribs and major blood vessels in the liver to minimize damage to normal tissues. Therefore, accurately planning the puncture path is the key to successful treatment.
[0003] In traditional surgery, doctors need to roughly determine the required number of punctures, insertion points, and puncture depths based on the patient's scan images and their experience before the operation. Currently, there is a lack of quantitative planning methods in clinical practice to strictly calculate and plan the puncture range, which can easily lead to an excessively large or incomplete puncture range. Furthermore, punctures are highly dependent on the surgeon's experience and are limited by human factors such as experience and spatial imagination. During treatment, residual cancer often occurs due to unreasonable puncture placement or inaccurate insertion.
[0004] Therefore, the related technologies suffer from low efficiency in puncture path planning. Summary of the Invention
[0005] Therefore, it is necessary to provide a puncture path planning method, system, computer equipment, and storage medium that can solve the above-mentioned technical problems.
[0006] Firstly, this application provides a puncture path planning method, the method comprising:
[0007] A target object constructed from several voxels is obtained, and a set of candidate needle insertion points is determined based on the target puncture point in the puncture structure inside the target object. The several voxels include surface voxels and internal voxels. The voxel corresponding to each candidate needle insertion point in the set of candidate needle insertion points belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture point.
[0008] Determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path;
[0009] A path selection function is constructed by combining the distance between the points of interest and the path length, as well as preset path search parameters;
[0010] According to the path selection function, the target puncture path is searched from each of the candidate puncture paths, and the candidate needle insertion point corresponding to the target puncture path is taken as the target needle insertion point.
[0011] In one embodiment, the step of acquiring a target object constructed from several voxels, and determining a set of candidate needle insertion points based on the target puncture point in the puncture structure within the target object, includes:
[0012] Acquire medical image data of a target patient and generate a target rendered image corresponding to the target patient; the target rendered image is used to represent a target object constructed based on the medical image data.
[0013] A perspective projection model is established with the target puncture point in the structure to be punctured as the perspective projection center and the puncture risk structure as the perspective projection object.
[0014] The candidate needle insertion point set is determined using the perspective projection model.
[0015] In one embodiment, determining the candidate needle insertion point set using the perspective projection model includes:
[0016] Using the perspective projection model, the light collision results corresponding to the light sources at each target point are obtained; the light sources at the target point are light rays obtained by omnidirectional scattering based on the target puncture point and the location of the structure to be punctured; the light collision results are used to characterize the collision results between the light sources at the target point and the puncture risk structure and / or the surface voxels.
[0017] According to the preset partitioning conditions, based on the light collision results corresponding to the light source rays of each target point, feasible needle insertion voxels are determined from the surface voxels of the target object as candidate needle insertion points; the preset partitioning conditions are constraints on whether the surface voxels of the target object meet the puncture requirements, and the candidate puncture path corresponding to each candidate needle insertion point is obtained based on the target point light source ray path corresponding to each feasible needle insertion voxel.
[0018] The candidate needle insertion point set is obtained based on each of the candidate needle insertion points.
[0019] In one embodiment, the path association information further includes the characteristic angle of the candidate puncture path relative to the structure to be punctured, and the path selection function is constructed by combining the distance between the two paths, the path length, and preset path search parameters, including:
[0020] According to preset selection conditions, a first function term is constructed based on the distance between the points of interest, the path length, the feature angle, and preset weight information; the preset selection conditions are constraints on the distance between the points of interest, the path length, and the feature angle.
[0021] Based on preset path search parameters, the first function term is used to construct the path selection function based on the quantum annealing algorithm; the path search parameters include iterative parameters used to indicate path search calculations.
[0022] In one embodiment, the step of constructing a first function term according to preset selection conditions, based on the distance between points, the path length, the feature angle, and preset weight information, includes:
[0023] Obtain the preset weight information; the preset weight information includes a first weight coefficient for the distance between the points, a second weight coefficient for the path length, and a third weight coefficient for the feature angle;
[0024] According to the preset selection conditions, the first function term is obtained based on the distance between the points and the first weight coefficient, the path length and the second weight coefficient, the feature angle and the third weight coefficient.
[0025] In one embodiment, the step of searching for the target puncture path from each of the candidate puncture paths according to the path selection function includes:
[0026] Taking any candidate needle insertion point as the target search point, and based on the candidate puncture path corresponding to any candidate needle insertion point, calculate the path analysis result corresponding to the target search point according to the path selection function;
[0027] The optimal path analysis result is searched from multiple path analysis results, and the candidate puncture path corresponding to the optimal path analysis result is taken as the target puncture path.
[0028] In one embodiment, the preset partitioning conditions include any one or more of the following:
[0029] The candidate puncture path does not contact or penetrate the puncture risk structure, the path length of the candidate puncture path is less than a preset needle length threshold, and the distance the candidate puncture path passes through the structure to be punctured is greater than a preset distance threshold.
[0030] Secondly, this application also provides a puncture path planning system, the system comprising:
[0031] The candidate needle insertion point set determination module is used to obtain a target object constructed from several voxels, and determine a candidate needle insertion point set based on the target puncture target point in the puncture structure inside the target object; the several voxels include surface voxels and internal voxels, the voxel corresponding to each candidate needle insertion point in the candidate needle insertion point set belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture target point;
[0032] The path association information determination module is used to determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path;
[0033] The path selection function construction module is used to construct a path selection function by combining the distance between the two points and the path length, as well as preset path search parameters;
[0034] The path search module is used to search for the target puncture path from each of the candidate puncture paths according to the path selection function, and to take the candidate needle insertion point corresponding to the target puncture path as the target needle insertion point.
[0035] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the puncture path planning method as described above.
[0036] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the puncture path planning method described above.
[0037] The aforementioned puncture path planning method, system, computer device, and storage medium acquire a target object constructed from several voxels. Based on the target puncture point in the puncture structure within the target object, a set of candidate needle entry points is determined. The voxels include surface voxels and internal voxels. The voxel corresponding to each candidate needle entry point in the candidate needle entry point set is a surface voxel. Each candidate needle entry point has a corresponding candidate puncture path with the target puncture point. Then, the path association information corresponding to each candidate puncture path is determined. The path association information includes the distance between the candidate puncture path and the puncture risk structure within the target object. The path length of candidate puncture paths is used, and then combined with the distance between them and the path length, as well as preset path search parameters, to construct a path selection function. Based on the path selection function, the target puncture path is searched from each candidate puncture path, and the candidate needle insertion point corresponding to the target puncture path is taken as the target needle insertion point. This realizes automatic quantitative planning of puncture paths. It can determine the feasible needle insertion point position that meets strong constraints based on the puncture target point. Then, based on the path association information of each candidate puncture path, the optimal puncture path that meets weak constraints can be selected. This can accurately and effectively plan puncture paths and improve the efficiency of puncture path planning. Attached Figure Description
[0038] Figure 1This is a flowchart illustrating a puncture path planning method in one embodiment;
[0039] Figure 2 This is a schematic diagram of a puncture path planning process in one embodiment;
[0040] Figure 3a This is a schematic diagram illustrating the division of a rendering light source region in one embodiment;
[0041] Figure 3b This is a schematic diagram of a feasible needle insertion area on the body surface in one embodiment;
[0042] Figure 4 This is a schematic diagram illustrating the iterative calculation of a quantum annealing algorithm in one embodiment;
[0043] Figure 5 This is a flowchart illustrating another puncture path planning method in one embodiment;
[0044] Figure 6 This is a structural block diagram of a puncture path planning system in one embodiment;
[0045] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0047] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties; correspondingly, this application also provides a corresponding user authorization entry point for users to choose to authorize or refuse.
[0048] In one embodiment, such as Figure 1 As shown, a puncture path planning method is provided. This embodiment illustrates the application of this method to a terminal. It is understood that this method can also be applied to a server, and further to a system including both a terminal and a server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0049] Step 101: Obtain a target object constructed from several voxels, and determine a set of candidate needle insertion points based on the target puncture point in the puncture structure inside the target object.
[0050] As an example, several voxels may include surface voxels and internal voxels. For instance, the surgical area to be punctured can be reconstructed in three dimensions and matched with spatial coordinates based on the medical image data of the target patient to obtain a three-dimensional model of the target patient constructed from voxels, i.e., the target object. This model can be used to characterize the local anatomical scene of the target patient (such as the abdominal cavity anatomical scene) to clarify the anatomical structure and spatial location of the lesion in the target patient. Surface voxels can be used to characterize the epidermal contour, and internal voxels can be used to characterize the internal anatomical structure.
[0051] Among them, the structure to be punctured inside the target object can be the organ to which the lesion of the target patient belongs, such as the target organ to be punctured, and the target puncture point can be the target point of the lesion to be punctured. Taking liver tumor as an example, the structure to be punctured can refer to the liver of the target patient, and the target puncture point can refer to the centroid of the liver tumor.
[0052] In this set of candidate needle insertion points, the voxels corresponding to each candidate needle insertion point are surface voxels. Each candidate needle insertion point can have a corresponding candidate puncture path with the target puncture point. For example, in a percutaneous puncture scenario, a feasible needle insertion area can be determined from the surface contour, and each feasible needle insertion point in the feasible needle insertion area can be used as a candidate needle insertion point to obtain a set of candidate needle insertion points. The candidate puncture path can be a screened puncture path obtained by removing obviously unreasonable paths through strong constraints, so as to further calculate and select the optimal puncture path based on the screened puncture path.
[0053] In practical applications, medical image data of the target patient can be acquired to obtain a target object constructed from several voxels. Then, a fluoroscopic projection model can be established by taking the target puncture point in the structure to be punctured as the fluoroscopic projection center and the puncture risk structure as the fluoroscopic projection object. The feasible needle insertion point can then be determined using this fluoroscopic projection model as a candidate needle insertion point, thus obtaining a set of candidate needle insertion points.
[0054] Specifically, by acquiring target patient data, corresponding medical images are generated. For example, clinical data images of the target patient can be acquired, and the risk tissues, blood vessels, and lesions of the target patient can be segmented from the clinical data images. Then, the target organ to be punctured (i.e., the structure to be punctured) and the location of the lesion target point (i.e., the target puncture target point) can be determined according to the organ to which the lesion belongs. Then, based on strong clinical constraints, feasible needle entry points can be screened from the epidermal contour according to the location of the lesion target point as candidate needle entry points.
[0055] Step 102: Determine the path association information corresponding to each of the candidate puncture paths;
[0056] As an example, path association information may include the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path. For example, taking liver tumor as an example, the distance can be the distance between the candidate puncture path and the abdominal risk structure, and the path length can be the total length of the candidate puncture path. Other path association information may also be included, such as the characteristic angle of the candidate puncture path relative to the structure to be punctured, which is not specifically limited in this embodiment.
[0057] In practice, for each candidate puncture path, the path association information corresponding to that candidate puncture path can be obtained, so as to further filter according to the path association information corresponding to each candidate puncture path and calculate the optimal puncture path.
[0058] Step 103: Combine the distance between the points of separation and the path length with the preset path search parameters to construct a path selection function;
[0059] The path search parameters may include iterative parameters used to indicate the path search calculation, such as the relevant setting parameters of the quantum annealing algorithm when using it for path search.
[0060] As an example, the path selection function can be an objective function constructed based on the quantum annealing algorithm, which can be used to calculate the optimal puncture path.
[0061] After obtaining the path association information, a path selection function can be constructed by combining the distance between paths, the path length, and the preset path search parameters. For example, an objective function based on the quantum annealing algorithm can be set according to the path association information, so as to further optimize the selection by using quantum simulated annealing, and select the optimal puncture path from the candidate puncture paths.
[0062] Specifically, an objective function (i.e., a path selection function) can be constructed based on clinical weak constraints and combined with an optimized quantum annealing algorithm. Then, the optimal puncture path can be iteratively calculated using this objective function based on candidate puncture paths.
[0063] Step 104: Based on the path selection function, search for the target puncture path from each of the candidate puncture paths, and take the candidate needle insertion point corresponding to the target puncture path as the target needle insertion point.
[0064] After obtaining the path selection function, any candidate needle insertion point can be used as the target search point. Based on the candidate puncture path corresponding to any candidate needle insertion point, the path analysis result corresponding to the target search point is calculated according to the path selection function. Then, the optimal puncture path can be searched from multiple path analysis results as the target puncture path, and the optimal needle insertion point can be determined according to the optimal puncture path as the target needle insertion point.
[0065] For example, for feasible needle insertion regions selected under strong constraints, the quantum annealing algorithm can be used to iteratively calculate the optimal puncture path based on the candidate puncture paths corresponding to each feasible needle insertion point (i.e., candidate needle insertion point) in the feasible needle insertion region. Simulated annealing can be used to accelerate the optimal solution and find the optimal result in a certain iteration process.
[0066] In one example, the technical solution of this embodiment can be used in puncture biopsy scenarios, puncture thermal ablation scenarios when the lesion volume is small, TPS radioactive particle implantation scenarios, or other puncture path application scenarios. No specific limitations are made in this embodiment.
[0067] For example, in the treatment of local ablation of liver tumors guided by medical imaging (CT, ultrasound, etc.), the ablation device can be percutaneously inserted into the lesion under image guidance. Energy or chemical substances are used to destroy the activity of the lesion tissue. For example, the ablation device can be percutaneously inserted into the lesion along a pre-planned puncture path as a heat source. For larger tumors, multiple punctures can be used to perform thermal ablation to cover the entire tumor area. At the same time, the ribs and major blood vessels of the liver must be avoided, and damage to normal tissues should be minimized as much as possible.
[0068] Compared to traditional methods, the technical solution in this embodiment can find the optimal or near-suboptimal path before surgery by combining quantum annealing algorithm under the guidance of medical images. That is, during the iterative calculation process, the current optimal solution is retained while approximating the global optimal solution, and then a solution considered to be the best (such as the target puncture path) can be output. For example, 3D images such as CT / MRI can be used to obtain the anatomical view of the target patient to clarify the anatomical structure and spatial location of the lesion. Then, feasible needle insertion areas can be screened based on strong constraints. Then, in the feasible needle insertion areas, the optimal puncture path can be obtained based on quantum annealing algorithm according to weak constraints. This can optimize the problems of low efficiency and low probability of finding the optimal solution in traditional simulated annealing algorithm, and improve the efficiency of puncture path planning.
[0069] In an optional embodiment, since ablation needle puncture path planning is a clinical multi-constraint optimization problem, which is a non-deterministic polynomial problem, i.e., there is a definite answer, but the time complexity of obtaining the solution increases exponentially. Classical computers, due to their own performance limitations, have difficulties in computation time or in reaching the optimal solution. The technical solution of this embodiment can be run on a quantum annealing machine, such as mapping the Hamiltonian to the actual qubit of the quantum annealing machine, and performing the puncture path planning on the quantum annealing machine, making the puncture path planning more efficient and achieving a fast and accurate preoperative puncture path planning effect.
[0070] In the aforementioned puncture path planning method, a target object constructed from several voxels is obtained. Based on the target puncture point in the structure to be punctured within the target object, a set of candidate needle insertion points is determined. Then, the path association information corresponding to each candidate puncture path is determined. Furthermore, a path selection function is constructed by combining the distance between paths, the path length, and preset path search parameters. Based on the path selection function, the target puncture path is searched from each candidate puncture path, and the candidate needle insertion point corresponding to the target puncture path is taken as the target needle insertion point. This achieves automatic quantitative planning of the puncture path. It can determine the feasible needle insertion point location that meets strong constraints based on the puncture target point. Then, based on the path association information of each candidate puncture path, the optimal puncture path that meets weak constraints can be selected. This method can accurately and effectively plan the puncture path and improve the efficiency of puncture path planning.
[0071] In one embodiment, obtaining a target object constructed from several voxels and determining a set of candidate needle insertion points based on the target puncture point in the puncture structure inside the target object may include the following steps:
[0072] Acquire medical image data of the target patient and generate a target rendering image corresponding to the target patient; establish a fluoroscopic projection model with the target puncture point in the structure to be punctured as the fluoroscopic projection center and the puncture risk structure as the fluoroscopic projection object; use the fluoroscopic projection model to determine the set of candidate needle insertion points.
[0073] Among them, the target rendering image can be used to characterize the target object constructed based on medical image data, such as the target object constructed in a virtual environment, which can be used to display the local anatomical scene of the target patient to clarify the anatomical structure and spatial location of the lesion of the target patient.
[0074] As an example, medical image data can be CT / MR image data, or medical images obtained from any medical imaging system such as molecular imaging or ultrasound, in order to set the target organ and lesion target point to be punctured.
[0075] In practical applications, such as Figure 2 As shown, by importing the CT / MR image data of the target patient, a three-dimensional medical image composed of voxels (i.e., the target rendered image) can be generated. Then, based on strong clinical constraints, a cube mapping method for coordinate correction can be performed on risk structures (i.e., puncture risk structures) that do not meet the strong clinical constraints, automatically dividing the outer bounding box surface of the target patient (i.e., the epidermal contour represented by the surface voxels) into feasible needle insertion areas and prohibited needle insertion areas.
[0076] Specifically, taking liver tumors as an example, a cube mapping model (i.e., perspective projection model) can be established with the target puncture point (such as the centroid of the liver tumor) as the perspective projection center and risk structures (such as organs, bones, etc.) that do not meet the strong clinical constraints as the projection objects. This cube mapping model can use the perspective projection rendering light as a virtual puncture path, which is obtained by performing six perspective projections along the positive / negative directions of the orthogonal coordinate axes of the Cartesian coordinate system.
[0077] In this embodiment, by acquiring the medical image data of the target patient, a target rendering image corresponding to the target patient is generated. Then, with the target puncture point in the structure to be punctured as the perspective projection center and the puncture risk structure as the perspective projection object, a perspective projection model is established. Then, the perspective projection model is used to determine the set of candidate needle entry points. This enables three-dimensional reconstruction of the surgical area to be punctured based on the medical image data, providing data support for subsequent puncture path planning.
[0078] In one embodiment, determining the candidate needle insertion point set using the perspective projection model may include the following steps:
[0079] Using the perspective projection model, the light collision results corresponding to the light sources of each target point are obtained; according to the preset partitioning conditions, based on the light collision results corresponding to the light sources of each target point, feasible needle insertion voxels are determined from the surface voxels of the target object as candidate needle insertion points; the candidate needle insertion point set is obtained based on each candidate needle insertion point.
[0080] Among them, the target source ray can be the ray obtained by omnidirectional scattering based on the target puncture point and the location of the structure to be punctured; the ray collision result can be used to characterize the collision result between the target source ray and the puncture risk structure and / or surface voxels;
[0081] As an example, the preset partitioning conditions can be constraints on whether the surface voxels of the target object meet the puncture requirements, such as strong clinical constraints. The candidate puncture path corresponding to each candidate needle insertion point can be obtained based on the target source light path corresponding to each feasible needle insertion voxel.
[0082] In one example, taking a liver tumor as an example, the perspective projection rendering light (i.e., the target source light) can be obtained by scattering the light from the target puncture point in all directions to the abdominal anatomical scene. Then, based on strong clinical constraints, after the perspective projection rendering light collides with the puncture risk structure and / or surface voxel, the corresponding key information (such as length, incident angle, normal vector, etc.) can be calculated as the light collision result. This can be used to characterize whether the puncture path interferes with the organ or tissue, and to provide feedback on the path length, angle, and liver length information of the puncture path. Furthermore, based on the calculated key information, the feasible needle insertion area or the prohibited needle insertion area can be marked for each voxel, that is, the feasible needle insertion voxel and the prohibited needle insertion voxel can be determined from the surface voxels of the target object.
[0083] In yet another example, the preset partitioning criteria may include any one or more of the following:
[0084] Candidate puncture paths do not contact or penetrate the puncture risk structure, the path length of the candidate puncture path is less than a preset needle length threshold, and the distance the candidate puncture path passes through the structure to be punctured is greater than a preset distance threshold.
[0085] Taking liver tumors as an example, such as Figure 3a As shown, the feasible or prohibited needle insertion areas for each surface voxel can be defined based on the following strong clinical constraints:
[0086] (1) The puncture path should avoid contact with or penetration of abdominal risk structures that cannot be touched (i.e., the candidate puncture path should not contact or penetrate the puncture risk structures).
[0087] Key areas in the abdominal cavity (such as organs, bones, etc.) can be highlighted using masking or labeling. Figure 3a Calibration can be performed as shown in Figure 2, and can be performed when the target puncture point is detected (e.g., ...). Figure 3a The target source light emitted (as shown in Figure 1) Figure 3a When a collision occurs with a critical area (as shown in Figure 7), that critical area is marked as a prohibited area. Figure 3a As shown, the key part is obscured from behind by another key part. Figure 3a As shown in Figure 5, the area behind this critical part of the body can be marked as a prohibited area for needle insertion. Figure 3a Figure 6 shows the cross-sectional surface of the body.
[0088] (2) The total length of the puncture path must be less than the length of the ablation needle (i.e., the path length of the candidate puncture path is less than the preset needle length threshold).
[0089] According to clinical standards, a needle length threshold of 10-15cm can be selected (i.e., the preset needle length threshold). For example, it can be 10cm or 12cm. Then, based on the length of the light source corresponding to each target point, all radiographic areas of the body surface that exceed the needle length threshold but have not yet touched the body surface can be marked as prohibited needle insertion areas.
[0090] (3) Puncture path and liver capsule (e.g.) Figure 3a The included angle (as shown in Figure 3) should not be less than the clinical threshold;
[0091] It should be noted that if the lesion is inside the target organ, a strong constraint angle condition must be considered, which requires the angle between the puncture path and the outer membrane of the target organ to not be less than the clinical threshold. If the lesion is not inside the target organ, such as on the surface of the target organ, the strong constraint angle condition does not need to be considered. If the target organ is the heart or lung, the strong constraint angle condition can also be disregarded, while if the target organ is the liver or spleen, the strong constraint angle condition can be considered.
[0092] When the target organ is the liver, the ablation needle is more likely to penetrate the liver parenchyma during puncture due to the larger angle between the puncture path and the liver capsule, resulting in less stress deformation. Therefore, according to clinical standards, an angle threshold of θ > 20° can be selected. The angle can be calculated by the collision of the emitted light with the liver capsule. Since the angle θ cannot be calculated directly, the angle between the light direction and the normal vector of the liver capsule surface can be calculated using the normal vector of the liver capsule surface. Then, for light rays with an angle greater than the threshold, all radiographic areas behind the light ray can be marked as prohibited needle insertion areas. The obtained angle value θ can be recorded in the voxels of each feasible area of the body surface (i.e., feasible needle insertion voxels) for subsequent calculation and processing.
[0093] (4) Transhepatic distance of the puncture path (e.g.) Figure 3a As shown in Figure 4, the distance should not be less than the clinical threshold (i.e., the distance of the candidate puncture path through the structure to be punctured is greater than the preset distance threshold);
[0094] According to clinical standards, 5mm can be selected as the threshold for the distance across the liver. For light rays whose distance from the light source to the liver capsule is less than the threshold, all radiographic areas behind the light source can be marked as prohibited areas for needle insertion.
[0095] Furthermore, based on the aforementioned multiple strong clinical constraints, the union of the prohibited needle insertion areas identified by these constraints can be calculated to obtain the feasible needle insertion point areas on the body surface (e.g., Figure 3b As shown in Figure 1), the feasible needle insertion point region includes the selected feasible needle insertion points.
[0096] In this embodiment, by using a perspective projection model, the light collision results corresponding to the light sources of each target point are obtained. Then, according to the preset partitioning conditions, based on the light collision results corresponding to the light sources of each target point, feasible needle insertion voxels are determined from the surface voxels of the target object as candidate needle insertion points. Subsequently, a set of candidate needle insertion points is obtained based on each candidate needle insertion point. Feasible needle insertion areas can be screened based on strong clinical constraints, providing data support for subsequent puncture path planning.
[0097] In one embodiment, the path association information may further include the characteristic angles of the candidate puncture path relative to the structure to be punctured. The step of constructing a path selection function by combining the distance between the paths, the path length, and preset path search parameters may include the following steps:
[0098] According to preset selection conditions, a first function term is constructed based on the distance between points, the path length, the feature angle, and preset weight information; according to preset path search parameters, the first function term is used to construct the path selection function based on the quantum annealing algorithm.
[0099] The preset selection conditions can be constraints on distance, path length, and feature angle, such as weak clinical constraints; the path search parameters can include iterative parameters used to indicate path search calculations.
[0100] In practical applications, after selecting a set of candidate needle insertion points based on strong constraints, further filtering can be performed on the candidate puncture paths corresponding to each candidate needle insertion point based on the path association information corresponding to the candidate puncture paths. A first function term and a second function term can be constructed based on weak constraints. Then, a path selection function can be obtained based on the first and second function terms, and the optimal puncture path can be calculated using the quantum annealing algorithm.
[0101] In one example, the quantum annealing algorithm can include two parts: one is the Hamiltonian potential, which maps the objective function to be optimized as a potential field applied to the quantum system, i.e., the objective function is regarded as the potential energy part of the Hamiltonian of the quantum system; the other is the Hamiltonian kinetic energy, which can be regarded as a perturbation to the system by introducing a kinetic energy term with controllable amplitude (e.g., a perturbation of a transverse magnetic field). When the perturbation exists, the system will gradually evolve along the direction with the smaller gradient in the solution space, and can even directly "pass through" the part with higher potential energy through the quantum tunneling effect. With gradual iteration, the energy of the quantum system will become lower and lower (i.e., the temperature will decrease), and finally converge to the ground state of the system. This process is equivalent to the objective function (i.e., the path selection function based on the quantum annealing algorithm) obtaining the global optimum. For the quantum degenerate algorithm, the Hamiltonian expression is as follows:
[0102] H = H p -JT H k
[0103] Among them, H p The potential energy term can be used to characterize the cost to be optimized; J T >0 represents the transverse magnetic field coupling coefficient, which can be a constant and can be used to characterize the energy ratio between the potential and kinetic energy terms; H k The kinetic energy term can be used to characterize the disturbance to the entire system. It can be composed of a function that changes linearly with the number of iterations or a function that describes the thermal equilibrium state.
[0104] In this embodiment, for ease of calculation, it is considered that although the feasible needle insertion region is a three-dimensional voxel, it has only one layer of surface elements (i.e., surface voxels), so it can be mapped to a two-dimensional matrix {P} according to its topological relationship. ij} L×W Where L and W are the maximum width and length of the prototype surface, and P is the voxel of each surface. ij For a single needle entry point, considering that the original surface elements are irregular polygons, the surface voxels corresponding to the prohibited needle entry areas can be filled into the matrix with zero values. Each candidate needle entry point and the target puncture point can be combined to form a candidate puncture path, that is, the surface voxel corresponding to each candidate needle entry point can have a candidate puncture path.
[0105] In yet another example, to obtain the potential energy term (i.e., the first function term) in the Hamiltonian expression of the quantum degenerate algorithm, it is necessary to consider the clinical weak constraints (i.e., the preset selection conditions):
[0106] (1) The puncture path needs to be appropriately far from inaccessible abdominal risk structures.
[0107] If the puncture path needs to be far enough away from the critical structure that cannot be reached, the probability of instrument injury or treatment injury during the puncture will be reduced accordingly, thereby improving the safety of the puncture. The three-dimensional distance transformation (DTF) algorithm can be used to calculate the actual distance (i.e., the distance between) between the current puncture path (such as any candidate puncture path) and the risk structure, and record it in each surface voxel (i.e., the surface voxel corresponding to the candidate needle entry point).
[0108] Then, for all surface voxels along the current puncture path, the average risk distance D can be obtained by summing the distance values calculated for each surface voxel and averaging them. dangerous The larger the average risk distance value, the better the path. In multi-objective solutions, a smaller objective function can be defined, resulting in a better outcome. To minimize the objective function, the risk distance can be used as an inverse function to obtain D. ij =1 / D dangerous .
[0109] (2) The puncture path length needs to be appropriately short (e.g., 5mm).
[0110] Because the puncture path is relatively short, there are fewer risk structures to consider during the puncture process. Furthermore, to reduce the probability of cancer cells spreading along the puncture path with the ablation needle, the actual path length (i.e., path length) can be calculated based on the number of voxels along the current puncture path (such as any candidate puncture path) and the actual proportions, denoted as d. ij .
[0111] (3) The angle between the puncture path and the liver capsule needs to be appropriately large (e.g., 20°).
[0112] It should be noted that, similar to the strong constraint angle condition, if the lesion is inside the target organ or the target organ is the liver or spleen, this weak constraint angle condition needs to be considered. If the lesion is not inside the target organ (e.g., on the surface of the target organ) or the target organ is the heart or lungs, this weak constraint angle condition can be disregarded. This item can retrieve the angle data already obtained and recorded on the corresponding body surface region when calculating the strong constraint condition. For example, for the surface voxels corresponding to each candidate needle insertion point, the included angle value (i.e., characteristic angle) of the corresponding candidate puncture path can be taken as θ. ij .
[0113] In one alternative embodiment, the computational data based on weak constraints can be pre-computed and stored before executing the quantum annealing algorithm and retrieved when needed, or it can be computed one by one during the execution of the quantum annealing algorithm.
[0114] Since the three constraints mentioned above have different dimensions, their respective constraint values can be normalized as follows:
[0115] R ij =[(D ij -D min ) / (D max -D min )]
[0116] L ij =[(d ij -d min ) / (d max -d min )]
[0117] A ij =[(cosθ ij -cosθ min ) / (cosθ max -cosθ min )]
[0118] After the above normalization process, based on the above weak clinical constraints (i.e., the preset selection conditions), the potential term (i.e., the first function term) can be expressed as:
[0119]
[0120] Among them, w k For each weak constraint (i.e., the preset weight information), this w k Let w1, w2, and w3 be a unified name, and k represent the number of weak constraints, which is 3 in this case, and satisfy the following conditions: This ensures that the weights of each group are normalized.
[0121] In an alternative embodiment, considering the kinetic energy term (i.e., the second function term) as a means of providing perturbation, it can be defined as:
[0122] H k =Γ0e -1 / T
[0123] Where Γ0 is a constant term, e is a natural number, and T is the temperature of the iterative process.
[0124] Temperature (such as the energy of a quantum system) can be expressed as a linear function:
[0125]
[0126] Where T0 is the initial temperature during the iteration process, s is the current iteration number of the outer loop, and M is the preset maximum iteration number of the outer loop. The outer loop means jumping out of the currently selected initial needle insertion point (i.e., the target search point), randomly updating another initial needle insertion point on the body surface contour (i.e., any other candidate needle insertion point), and restarting the optimal path search for the current position. One outer loop requires N iterations to find the optimal needle insertion point that meets the conditions.
[0127] During the search for the two-dimensional needle entry point, a new solution P' can be obtained based on random step size jumps. If the new solution is smaller than the current solution, it can be updated as the evaluation criterion; otherwise, if it is larger than the current solution, it can be determined whether to accept the new solution based on exp(-ΔH / T)>random(0,1), where ΔH is the difference between the current objective function H and the current optimal objective value H. min The difference, exp(-ΔH / T)>random(0,1), indicates the condition of accepting a new solution with poor performance. random(0,1) is a random number in (0,1). As the number of outer loop iterations increases or decreases, the temperature gradually decreases from T0 to zero, while H… k The probability of acceptance decreases as the temperature decreases, meaning the probability of "passing through" the potential barriers on both sides of the local optimum due to the quantum tunneling effect decreases.
[0128] In this embodiment, a first function term is constructed according to preset selection conditions, based on the distance between nodes, path length, feature angle, and preset weight information. Then, a path selection function based on the quantum annealing algorithm is constructed using the first function term according to preset path search parameters. Path calculation can be performed based on the optimized quantum annealing algorithm, which improves the algorithm efficiency and the probability of finding the optimal solution.
[0129] In one embodiment, constructing the first function term according to preset selection conditions, based on the distance between points, the path length, the feature angle, and preset weight information, may include the following steps:
[0130] Obtain the preset weight information; according to the preset selection conditions, obtain the first function term based on the distance between them and the first weight coefficient, the path length and the second weight coefficient, the feature angle and the third weight coefficient.
[0131] The preset weight information may include a first weight coefficient for the distance between the points of contact, a second weight coefficient for the path length, and a third weight coefficient for the feature angle.
[0132] In one example, after normalization, based on the above weak clinical constraints (i.e., the preset selection conditions), the potential term (i.e., the first function term) can be expressed as:
[0133]
[0134] Among them, w k For each weak constraint (i.e., the preset weight information), this w k This is a unified designation for w1 (the first weight coefficient), w2 (the third weight coefficient), and w3 (the second weight coefficient), where k represents the number of weak constraints, which is 3 in this case.
[0135] In this embodiment, by obtaining preset weight information, and then according to preset selection conditions, based on the distance and first weight coefficient, path length and second weight coefficient, feature angle and third weight coefficient, the first function term is obtained, which can construct the potential energy term in the path selection function, providing data support for further path search calculation.
[0136] In one embodiment, searching for the target puncture path from the candidate puncture paths according to the path selection function may include the following steps:
[0137] Taking any candidate needle insertion point as the target search point, and based on the candidate puncture path corresponding to any candidate needle insertion point, calculate the path analysis result corresponding to the target search point according to the path selection function; traverse each candidate needle insertion point, search for the optimal path analysis result from multiple path analysis results, and take the candidate puncture path corresponding to the optimal path analysis result as the target puncture path.
[0138] In one example, during the search for the two-dimensional needle entry point, a new solution P' (i.e., the path analysis result) can be obtained based on random step size jumps. If the new solution is smaller than the current solution, it can be updated as the evaluation criterion; otherwise, if it is larger than the current solution, it can be determined whether to accept the new solution based on exp(-ΔH / T)>random(0,1). As the number of outer loop iterations increases or decreases, the temperature gradually decreases from T0 to zero, while H… k The probability of acceptance decreases as the temperature decreases, meaning the probability of passing through the potential barriers on both sides of the local optimal solution (i.e., the optimal path analysis result) due to the quantum tunneling effect decreases.
[0139] To enable those skilled in the art to better understand the steps of this embodiment, the following is combined with... Figure 4 The embodiments of this application are illustrated by way of example, but it should be understood that the embodiments of this application are not limited thereto.
[0140] For the iterative calculation of the quantum annealing algorithm, the quantum annealing algorithm flow is as follows: Figure 4 As shown:
[0141] 1. Initialization Operation: Users can set the weights w of each potential energy term. k And the path point sampling step size α, where α is any positive integer (such as 1, 2, or other small values); initialize the kinetic energy term parameter J. T T0; Set the outer loop iteration count s = 1 and the maximum outer loop iteration count M; Set the maximum inner loop iteration count N. The above initialization parameters can also be preset fixed configurations without user input.
[0142] 2. Set the number of inner loops t=1, and randomly initialize the starting path needle entry point (i.e., any candidate needle entry point is the target search point);
[0143] 3. Randomly change the position of the needle entry point by a certain step size, i.e., take P. i±α,j or P i,j±α This yields a new path P'.
[0144] 4. Calculate the potential energy terms for the corresponding candidate puncture paths, and determine whether H(P') - H(P) ≤ 0 or H p (P')-H pIf (P)≤0 is true, then it can be confirmed that the system energy has decreased. Record P=P' and proceed to step 6. Otherwise, proceed to step 5.
[0145] 5. Determine again whether the Metropolitan acceptance criterion is met: exp(-ΔH / T)>random(0,1). If so, record P=P' and proceed to step 6; otherwise, proceed to step 7.
[0146] 6. Determine whether P' satisfies H p (P')-H p (P best If ) < 0, then P best =P' and proceed to step 7; otherwise, proceed directly to step 6.
[0147] 7. Determine whether the current inner loop iteration number t satisfies t≤N. If not, proceed to step 7; otherwise, calculate t=t+1 and proceed to step 3.
[0148] 8. Determine whether the number of iterations s in the outer loop satisfies s≤M. If not, proceed to step 8. If yes, calculate s=s+1 and proceed to step 2.
[0149] 9. Obtain the optimal path P best (i.e., the target puncture path) and the optimal needle insertion point (i.e., the target needle insertion point).
[0150] In this embodiment, by taking any candidate needle insertion point as the target search point, and based on the candidate puncture path corresponding to any candidate needle insertion point, the path analysis result corresponding to the target search point is calculated according to the path selection function. Then, each candidate needle insertion point is traversed, and the optimal path analysis result is searched from multiple path analysis results. The candidate puncture path corresponding to the optimal path analysis result is taken as the target puncture path. This can accurately and effectively plan the puncture path and improve the efficiency of puncture path planning.
[0151] In one embodiment, such as Figure 5 The diagram illustrates another puncture path planning method. In this embodiment, the method includes the following steps:
[0152] In step 501, medical image data of the target patient is acquired, and a target rendering image corresponding to the target patient is generated; the target rendering image is used to represent the target object constructed based on the medical image data. In step 502, a perspective projection model is established with the target puncture point in the structure to be punctured as the perspective projection center and the puncture risk structure as the perspective projection object. In step 503, the perspective projection model is used to determine the candidate needle entry point set; the voxels corresponding to each candidate needle entry point in the candidate needle entry point set are surface voxels, and each candidate needle entry point has a corresponding candidate puncture path with the target puncture point. In step 504, the path association information corresponding to each candidate puncture path is determined; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path. In step 505, the path association information also includes the characteristic angle of the candidate puncture path relative to the structure to be punctured, and according to preset selection conditions, based on the distance, path length, characteristic angle, and preset weight information, a first function term is constructed. In step 506, a path selection function based on the quantum annealing algorithm is constructed using a first function term according to preset path search parameters; the path search parameters include iterative parameters used to indicate the path search calculation. In step 507, taking any candidate needle insertion point as the target search point, and based on the candidate puncture path corresponding to any candidate needle insertion point, the path analysis result corresponding to the target search point is calculated according to the path selection function. In step 508, the optimal path analysis result is searched from multiple path analysis results, and the candidate puncture path corresponding to the optimal path analysis result is taken as the target puncture path. It should be noted that the specific limitations of the above steps can be found in the specific limitations of a puncture path planning method described above, and will not be repeated here.
[0153] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0154] Based on the same inventive concept, this application also provides a puncture path planning system for implementing the puncture path planning method described above. The solution provided by this system is similar to the implementation described in the above method; therefore, the specific limitations in one or more puncture path planning system embodiments provided below can be found in the limitations of the puncture path planning method described above, and will not be repeated here.
[0155] In one embodiment, such as Figure 6 As shown, a puncture path planning system is provided, including:
[0156] The candidate needle insertion point set determination module 601 is used to obtain a target object constructed from several voxels, and determine a candidate needle insertion point set based on the target puncture target point in the puncture structure inside the target object; the several voxels include surface voxels and internal voxels, the voxel corresponding to each candidate needle insertion point in the candidate needle insertion point set belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture target point;
[0157] The path association information determination module 602 is used to determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path;
[0158] The path selection function construction module 603 is used to construct a path selection function by combining the distance between the two sides, the path length, and preset path search parameters.
[0159] The path search module 604 is used to search for the target puncture path from each of the candidate puncture paths according to the path selection function, and to take the candidate needle insertion point corresponding to the target puncture path as the target needle insertion point.
[0160] In one embodiment, the candidate needle insertion point set determination module 601 includes:
[0161] The rendering image generation submodule is used to acquire medical image data of the target patient and generate a target rendering image corresponding to the target patient; the target rendering image is used to represent the target object constructed based on the medical image data.
[0162] The perspective projection model establishment submodule is used to establish a perspective projection model with the target puncture point in the structure to be punctured as the perspective projection center and the puncture risk structure as the perspective projection object.
[0163] A submodule is obtained from the candidate needle entry point set, which is used to determine the candidate needle entry point set using the perspective projection model.
[0164] In one embodiment, the submodule for obtaining the candidate needle insertion point set includes:
[0165] The light collision result obtaining unit is used to obtain the light collision result corresponding to the light source light of each target point using the perspective projection model; the target point light source light is the light obtained by omnidirectional scattering based on the target puncture target point and the location of the structure to be punctured; the light collision result is used to characterize the collision result between the target point light source light and the puncture risk structure and / or the surface voxel.
[0166] The partitioning unit is used to determine feasible needle insertion voxels from the surface voxels of the target object according to preset partitioning conditions and the light collision results corresponding to the light sources of each target point, as candidate needle insertion points; the preset partitioning conditions are constraints on whether the surface voxels of the target object meet the puncture requirements, and the candidate puncture path corresponding to each candidate needle insertion point is obtained based on the target source light path corresponding to each feasible needle insertion voxel.
[0167] The candidate needle insertion point set obtaining unit is used to obtain the candidate needle insertion point set based on each of the candidate needle insertion points.
[0168] In one embodiment, the path association information further includes the characteristic angle of the candidate puncture path relative to the structure to be punctured, and the path selection function construction module 603 includes:
[0169] The first function term construction submodule is used to construct a first function term according to preset selection conditions, based on the distance between the points, the path length, the feature angle, and preset weight information; the preset selection conditions are constraints on the distance between the points, the path length, and the feature angle.
[0170] The path selection function obtains a submodule, which is used to construct the path selection function based on the quantum annealing algorithm using the first function term according to the preset path search parameters; the path search parameters include iterative parameters used to indicate the path search calculation.
[0171] In one embodiment, the first function item construction submodule includes:
[0172] A weight coefficient acquisition unit is used to acquire the preset weight information; the preset weight information includes a first weight coefficient for the distance between the two sides, a second weight coefficient for the path length, and a third weight coefficient for the feature angle.
[0173] The first function term obtaining unit is used to obtain the first function term according to the preset selection conditions, based on the distance between them and the first weight coefficient, the path length and the second weight coefficient, the feature angle and the third weight coefficient.
[0174] In one embodiment, the path search module 604 includes:
[0175] The path search submodule is used to take any candidate needle insertion point as the target search point, and calculate the path analysis result corresponding to the target search point based on the candidate puncture path corresponding to the candidate needle insertion point according to the path selection function.
[0176] The path selection submodule is used to traverse each of the candidate needle insertion points, search for the optimal path analysis result from multiple path analysis results, and take the candidate puncture path corresponding to the optimal path analysis result as the target puncture path.
[0177] In one embodiment, the preset partitioning conditions include any one or more of the following:
[0178] The candidate puncture path does not contact or penetrate the puncture risk structure, the path length of the candidate puncture path is less than a preset needle length threshold, and the distance the candidate puncture path passes through the structure to be punctured is greater than a preset distance threshold.
[0179] Each module in the aforementioned puncture path planning system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.
[0180] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a puncture path planning method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0181] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0182] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0183] A target object constructed from several voxels is obtained, and a set of candidate needle insertion points is determined based on the target puncture point in the puncture structure inside the target object. The several voxels include surface voxels and internal voxels. The voxel corresponding to each candidate needle insertion point in the set of candidate needle insertion points belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture point.
[0184] Determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path;
[0185] A path selection function is constructed by combining the distance between the points of interest and the path length, as well as preset path search parameters;
[0186] According to the path selection function, the target puncture path is searched from each of the candidate puncture paths, and the candidate needle insertion point corresponding to the target puncture path is taken as the target needle insertion point.
[0187] In one embodiment, the processor, when executing the computer program, also implements the steps of the puncture path planning method in the other embodiments described above.
[0188] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0189] A target object constructed from several voxels is obtained, and a set of candidate needle insertion points is determined based on the target puncture point in the puncture structure inside the target object. The several voxels include surface voxels and internal voxels. The voxel corresponding to each candidate needle insertion point in the set of candidate needle insertion points belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture point.
[0190] Determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path;
[0191] A path selection function is constructed by combining the distance between the points of interest and the path length, as well as preset path search parameters;
[0192] According to the path selection function, the target puncture path is searched from each of the candidate puncture paths, and the candidate needle insertion point corresponding to the target puncture path is taken as the target needle insertion point.
[0193] In one embodiment, when the computer program is executed by a processor, it also implements the steps of the puncture path planning method in the other embodiments described above.
[0194] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0195] A target object constructed from several voxels is obtained, and a set of candidate needle insertion points is determined based on the target puncture point in the puncture structure inside the target object. The several voxels include surface voxels and internal voxels. The voxel corresponding to each candidate needle insertion point in the set of candidate needle insertion points belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture point.
[0196] Determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path;
[0197] A path selection function is constructed by combining the distance between the points of interest and the path length, as well as preset path search parameters;
[0198] According to the path selection function, the target puncture path is searched from each of the candidate puncture paths, and the candidate needle insertion point corresponding to the target puncture path is taken as the target needle insertion point.
[0199] In one embodiment, when the computer program is executed by a processor, it also implements the steps of the puncture path planning method in the other embodiments described above.
[0200] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0201] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0202] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A puncture path planning method, characterized in that, The method includes: A target object constructed from several voxels is obtained, and a set of candidate needle insertion points is determined based on the target puncture point in the puncture structure inside the target object. The several voxels include surface voxels and internal voxels. The voxel corresponding to each candidate needle insertion point in the set of candidate needle insertion points belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture point. Determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path; According to preset selection conditions, a first function term is constructed based on the distance between points, the path length, the feature angle, and preset weight information. Based on preset path search parameters, a path selection function based on the quantum annealing algorithm is constructed using the first function term. The path search parameters include iterative parameters used to indicate path search calculations. According to the path selection function, the target puncture path is searched from each of the candidate puncture paths, and the candidate needle insertion point corresponding to the target puncture path is taken as the target needle insertion point.
2. The method according to claim 1, characterized in that, The process of acquiring a target object constructed from several voxels, and determining a set of candidate needle insertion points based on the target puncture point in the puncture structure within the target object, includes: Acquire medical image data of a target patient and generate a target rendered image corresponding to the target patient; the target rendered image is used to represent a target object constructed based on the medical image data. A perspective projection model is established with the target puncture point in the structure to be punctured as the perspective projection center and the puncture risk structure as the perspective projection object. The candidate needle insertion point set is determined using the perspective projection model.
3. The method according to claim 2, characterized in that, The step of determining the candidate needle insertion point set using the perspective projection model includes: Using the perspective projection model, the light collision results corresponding to the light sources at each target point are obtained; the light sources at the target point are light rays obtained by omnidirectional scattering based on the target puncture point and the location of the structure to be punctured; the light collision results are used to characterize the collision results between the light sources at the target point and the puncture risk structure and / or the surface voxels. According to the preset partitioning conditions, based on the light collision results corresponding to the light source rays of each target point, feasible needle insertion voxels are determined from the surface voxels of the target object as candidate needle insertion points; the preset partitioning conditions are constraints on whether the surface voxels of the target object meet the puncture requirements, and the candidate puncture path corresponding to each candidate needle insertion point is obtained based on the target point light source ray path corresponding to each feasible needle insertion voxel. The candidate needle insertion point set is obtained based on each of the candidate needle insertion points.
4. The method according to claim 1, characterized in that, The preset selection conditions are constraints on the distance between the points of contact, the path length, and the feature angle.
5. The method according to claim 1, characterized in that, The step of constructing a first function term according to preset selection conditions, based on the distance between points, the path length, the feature angle, and preset weight information, includes: Obtain the preset weight information; the preset weight information includes a first weight coefficient for the distance between the points, a second weight coefficient for the path length, and a third weight coefficient for the feature angle; According to the preset selection conditions, the first function term is obtained based on the distance between the points and the first weight coefficient, the path length and the second weight coefficient, the feature angle and the third weight coefficient.
6. The method according to claim 1, characterized in that, The step of searching for the target puncture path from each of the candidate puncture paths according to the path selection function includes: Taking any candidate needle insertion point as the target search point, and based on the candidate puncture path corresponding to any candidate needle insertion point, calculate the path analysis result corresponding to the target search point according to the path selection function; The optimal path analysis result is searched from multiple path analysis results, and the candidate puncture path corresponding to the optimal path analysis result is taken as the target puncture path.
7. The method according to claim 3, characterized in that, The preset partitioning conditions include any one or more of the following: The candidate puncture path does not contact or penetrate the puncture risk structure, the path length of the candidate puncture path is less than a preset needle length threshold, and the distance the candidate puncture path passes through the structure to be punctured is greater than a preset distance threshold.
8. A puncture path planning system, characterized in that, The system includes: The candidate needle insertion point set determination module is used to obtain a target object constructed from several voxels, and determine a candidate needle insertion point set based on the target puncture target point in the puncture structure inside the target object; the several voxels include surface voxels and internal voxels, the voxel corresponding to each candidate needle insertion point in the candidate needle insertion point set belongs to the surface voxel, and each candidate needle insertion point has a corresponding candidate puncture path with the target puncture target point; The path association information determination module is used to determine the path association information corresponding to each of the candidate puncture paths; the path association information includes the distance between the candidate puncture path and the puncture risk structure inside the target object, and the path length of the candidate puncture path; The path selection function construction module is used to construct a first function term according to preset selection conditions, based on the distance between the points of interest, the path length, the feature angle, and preset weight information; and to construct a path selection function based on the quantum annealing algorithm using the first function term according to preset path search parameters; the path search parameters include iterative parameters used to indicate path search calculations. The path search module is used to search for the target puncture path from each of the candidate puncture paths according to the path selection function, and to take the candidate needle insertion point corresponding to the target puncture path as the target needle insertion point.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Optimal lung puncture operation path planning method and lung puncture operation navigation system
CN107296645A
Reverse route optimization searching method for lung CT guided puncture assistance system
CN109330667A
