Metal needle guiding method, system and image processing device

By performing data segmentation and three-dimensional reconstruction of the projection image of the metal needle, artifacts are removed and the path is extended, which solves the problem of inaccurate positioning of the metal needle in the existing technology and achieves higher puncture accuracy and image quality.

CN118476868BActive Publication Date: 2024-09-27SHANGHAI YIYING INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410946610.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-27
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Existing imaging technology has artifacts in the construction of metal needle images, resulting in inaccurate positioning and increased surgical risks. Traditional puncture surgery relies on doctor experience, which affects the autonomous obstacle avoidance and target operation accuracy of surgical robots.

Method used

By obtaining the intraoperative projection image containing the lesion area and the metal needle, perform data segmentation and three-dimensional reconstruction, remove metal artifacts, extend the path of the metal needle, and superimpose it onto the three-dimensional tomographic image of the lesion to adjust the direction of the needle. It reaches the lesion area accurately.

Benefits of technology

It improves puncture accuracy, reduces puncture position deviation caused by human operating errors, enhances image quality, and ensures accurate reflection of the position of the metal needle in the human body.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118476868B
    Figure CN118476868B
Patent Text Reader

Abstract

The present application discloses a metal needle guidance method, system and image processing device, wherein the method comprises: obtaining a projection map containing a lesion area and a metal needle during surgery; performing data segmentation on the projection map to obtain first projection data containing only the metal needle and second projection data not containing the metal needle; performing three-dimensional reconstruction on the first projection data and the second projection data respectively by a method of removing metal artifacts to obtain a three-dimensional tomographic image of the metal needle and a three-dimensional tomographic image of the lesion; performing data extension on the three-dimensional tomographic image of the metal needle to obtain an extended path of the metal needle, and superimposing it on the three-dimensional tomographic image of the lesion, so as to adjust the direction of the metal needle so that the extended path reaches the target position in the lesion area. The present application assists in estimating the puncture trend of the needle by simulating a method of extending the metal needle, so as to make adjustments according to the actual situation so that the needle can reach the lesion position and improve the puncture accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of clinical medical equipment, and in particular, to a metal needle guidance method, system and image processing equipment. Background Art

[0002] Metal needles play an extremely critical role in modern medicine, especially in the treatment and diagnosis of oncology. This delicate medical device allows doctors to precisely deliver drugs directly into tumor tissue in a minimally invasive manner, which can not only improve the efficacy of the drugs, but also reduce damage to surrounding healthy tissues, thereby reducing side effects.

[0003] In the existing technology, metal needles are usually used in combination with advanced imaging technologies (such as ultrasound, CT, MRI, etc.) in the hope of achieving more precise positioning. Although there is metal needle tracking technology based on medical images, there are still some defects in actual operation. For example: the existing imaging technology has large artifacts when constructing metal needle images, which is not conducive to precise positioning. Traditional puncture surgery relies heavily on the doctor's experience and intuition, which may lead to inaccurate positioning and increase the risk of damage to surrounding tissues or organs. Metal needles have limitations in real-time, accuracy, and compatibility with medical devices, which affects the accuracy of the surgical robot's autonomous obstacle avoidance and target operation during surgery. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a metal needle guidance method, system and image processing equipment, which assist in estimating the puncture trend of the needle by simulating the method of extending the metal needle, so as to make adjustments according to actual conditions so that the needle can reach the lesion location and improve the puncture accuracy.

[0005] Specifically, the technical solution of this application is as follows:

[0006] In a first aspect, the present application discloses a metal needle guiding method, comprising:

[0007] Obtain intraoperative projections of the lesion area and the metal needle;

[0008] Performing data segmentation on the projection image to obtain first projection data including the metal needle and excluding the lesion area, and second projection data of the lesion area excluding the metal needle;

[0009] The first projection data is three-dimensionally reconstructed by a method for removing metal artifacts to obtain a three-dimensional tomographic image of the metal needle; the second projection data is three-dimensionally reconstructed to obtain a three-dimensional tomographic image of the lesion;

[0010] The three-dimensional tomographic image of the metal needle is extended to obtain an extended path of the metal needle, and the extended path is superimposed on the three-dimensional tomographic image of the lesion, so as to adjust the direction of the metal needle so that the extended path reaches the target position in the lesion area.

[0011] In some implementations, the step of performing data segmentation on the projection image includes:

[0012] Segmenting the metal needle and the lesion area in the projection image using a threshold segmentation method;

[0013] Alternatively, a deep learning algorithm is used to segment the metal needle and the lesion area in the projection image.

[0014] In some embodiments, after obtaining the second projection data of the lesion area not including the metal needle, the method further includes:

[0015] In the second projection data, an interpolation method is used to fill in the data of the area where the segmented metal needle is located; or a deep learning algorithm is used to fill in the data of the area where the segmented metal needle is located.

[0016] In some embodiments, the metal needle guiding method further comprises:

[0017] Based on the three-dimensional tomographic image of the lesion, the center position of the lesion area is estimated; the center position is used as the target position; or a mark position is set on the three-dimensional tomographic image of the lesion, and the mark position is used as the target position;

[0018] The target position is superimposed on the three-dimensional tomographic image of the lesion.

[0019] In some embodiments, the step of extending the data of the three-dimensional tomographic image of the metal needle to obtain an extended path of the metal needle and superimposing the extended path on the three-dimensional tomographic image of the lesion comprises:

[0020] Identifying a first endpoint and a second endpoint of the metal needle;

[0021] Based on the relative position coordinates of the first endpoint and the second endpoint, obtaining the direction vector of the metal needle;

[0022] On the basis of the direction vector, extending the preset length with the second end point as the starting point, and using the extended vector as the extended path;

[0023] The three-dimensional tomographic image of the metal needle and the extended path are superimposed on the three-dimensional tomographic image of the lesion.

[0024] In some implementations, when performing three-dimensional reconstruction on the first projection data by using the method for removing metal artifacts, the method further includes:

[0025] Repairing the first projection data using a projection domain repair network;

[0026] The generated network is used to generate the three-dimensional tomographic image of the metal needle from the repaired first projection data.

[0027] In a second aspect, the present application discloses a metal needle guiding system, comprising:

[0028] An image acquisition module, used for acquiring a projection image including the lesion area and the metal needle during the operation;

[0029] A data segmentation module, configured to perform data segmentation on the projection image to obtain first projection data including the metal needle and excluding the lesion area, and second projection data of the lesion area excluding the metal needle;

[0030] A three-dimensional reconstruction module, configured to perform three-dimensional reconstruction on the first projection data by removing metal artifacts to obtain a three-dimensional tomographic image of the metal needle; and perform three-dimensional reconstruction on the second projection data to obtain a three-dimensional tomographic image of the lesion;

[0031] The simulation extension module is used to extend the data of the three-dimensional tomographic image of the metal needle to obtain the extended path of the metal needle and superimpose it on the three-dimensional tomographic image of the lesion so as to adjust the direction of the metal needle so that the extended path reaches the target position in the lesion area.

[0032] In some embodiments, the data segmentation module is further used to fill in the data of the area where the segmented metal needle is located in the second projection data using an interpolation method; or, to fill in the data of the area where the segmented metal needle is located using a deep learning algorithm.

[0033] In some embodiments, the metal needle guidance system further comprises:

[0034] A target position estimation module is used to estimate the center position of the lesion area based on the three-dimensional tomographic image of the lesion; use the center position as the target position; or set a mark position on the three-dimensional tomographic image of the lesion and use the mark position as the target position; the target position estimation module is also used to superimpose the target position on the three-dimensional tomographic image of the lesion.

[0035] In some embodiments, the simulation extension module is also used to identify the first endpoint and the second endpoint of the metal needle; based on the relative position coordinates of the first endpoint and the second endpoint, obtain the direction vector of the metal needle; on the basis of the direction vector, extend the preset length with the second endpoint as the starting point, and use the extended vector as the extension path; superimpose the three-dimensional tomographic image of the metal needle and the extension path on the three-dimensional tomographic image of the lesion.

[0036] In a third aspect, the present application further discloses an image processing device, which includes at least a metal needle guidance system as described in any one of the above embodiments.

[0037] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0038] 1. The metal needle guidance method proposed in this application is based on the real-time data of the metal needle. The predicted puncture path is the extended path of the actual metal needle. By real-time monitoring of the status of the metal needle, the puncture path can be adjusted immediately to cope with various situations that may arise during the operation, reducing the puncture position deviation caused by human operation errors, thereby improving the accuracy of puncture.

[0039] 2. This application uses a metal artifact-removing reconstruction algorithm to reconstruct images, which reduces the artifacts and distortion caused by the metal characteristics of the metal needle during 3D reconstruction, making the position of the metal needle in the 3D reconstructed image clearer, improving the image quality, and more accurately reflecting the position of the metal needle in the human body. It improves the accuracy of metal needle tip recognition and is conducive to data extension of the metal needle 3D tomographic image. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The preferred implementation scheme will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present application.

[0041] Figure 1 A flowchart of the steps of an embodiment of a metal needle guiding method of the present application;

[0042] Figure 2 This is a schematic diagram of the effect of segmenting the metal needle and the lesion area and then reconstructing and superimposing them in the embodiment of the present application;

[0043] Figure 3 Schematic diagram of the extension path of the metal needle in the embodiment of the present application;

[0044] Figure 4 This is a schematic diagram of the extension path of the metal needle in another embodiment of the present application.

[0045] Figure numerals: P0, target position; Q0, puncture point; P1, first end point of the metal needle; P2, second end point of the metal needle; E1, metal needle; L1, extended path. DETAILED DESCRIPTION

[0046] In the following description, specific details such as specific system structures, technologies, etc. are provided 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 may 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 obstructing the description of the present application.

[0047] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections.

[0048] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0049] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0050] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0051] In a specific implementation, the terminal device described in the embodiments of the present application includes, but is not limited to, other portable devices such as mobile phones, laptop computers, tutoring machines, or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads). It should also be understood that in some embodiments, the terminal device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or touch pads).

[0052] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the specific implementation methods of the present application will be described below with reference to the accompanying drawings. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0054] In the medical field, metal needles include biopsy needles, puncture needles, ablation needles, etc., which can be used for living tissue sampling, drug injection, tumor ablation, etc. The accurate guidance of metal needles is not only related to the success rate of the operation, but also directly affects the patient's safety and postoperative recovery. Accurate puncture can reduce damage to surrounding tissues, reduce the risk of postoperative complications, and improve treatment efficiency. When performing puncture surgery, doctors need to rely on advanced imaging technologies, such as MRI (Magnetic Resonance Imaging) imaging, CT (Computed Tomography) scanning imaging, or ultrasound imaging, to ensure that the metal needle accurately reaches the target area.

[0055] However, with current imaging technology, ultrasonic imaging equipment can usually only penetrate superficial tissues and shallow organs in clinical applications. For deep tissues or deeply buried organs, its resolution may be reduced. Ultrasonic equipment is greatly affected by bones. When the metal needle is near the bone, insufficient penetration may cause image quality to deteriorate and affect the judgment of the needle position. In addition, the imaging of the ultrasonic device is affected by the angle of the metal needle. When the angle of the metal needle is large, the incident sound wave is mirror-reflected on the smooth surface of the metal needle, resulting in fewer sound waves returning to the probe and inability to obtain a clear image. In addition, ultrasonic imaging obtains a tomogram, which is a cross-section of the human body. When the metal needle deviates from the cross-section, the metal needle will appear incomplete or even not displayed.

[0056] However, during MRI and CT imaging, metals in the human body can produce serious artifacts, mainly because the absorption and scattering effects of metals on X-rays are much greater than those of surrounding soft tissues. This results in the metal needle being unable to be clearly positioned. Metals, especially those with high atomic numbers, have a very high absorption rate for X-rays. When X-rays pass through an area containing metal, most of the rays will be absorbed, causing the area to appear as a black or low-density area on the CT image. Metals not only absorb X-rays, but also scatter them. Scattered X-rays interfere with the original signal received by the detector, causing image distortion and artifacts.

[0057] Similarly, during MRI imaging, metal materials will induce a local magnetic field in the strong main magnetic field of MRI, resulting in magnetic field inhomogeneity. Due to the inhomogeneity of the magnetic field, the proton frequency around the metal will change, which will lead to signal loss (manifested as dark areas on the image) and spatial distortion of anatomical structures (manifested as bright areas and deformations on the image).

[0058] The current puncture positioning scheme includes the following steps: first determine the location of the target point, that is, the target position, then set the appropriate length of the metal needle, then select the appropriate puncture point according to the puncture area on the body surface, and calculate and generate a virtual puncture path from the puncture point to the target position based on this information. Use the virtual puncture path to guide the metal needle.

[0059] However, when the patient's body undergoes natural movements such as breathing, the actual puncture path may deviate from the pre-planned path, resulting in a phenomenon where the prediction does not match the actual situation. Although the system may indicate that the target location has been reached, the metal needle may not actually have touched the lesion. This situation may increase positioning errors, increase the risk of accidental injury to surrounding important tissue structures, and increase the probability of complications. Especially for deep or smaller target structures, when extremely high accuracy is required, the success rate of the operation may be seriously reduced.

[0060] In addition, in the prior art, the use of virtual puncture paths for guidance cannot reflect the actual situation of the metal needle in the body. When the direction of the metal needle is adjusted, it may cause slight deformation of the surrounding tissues and the target lesion, resulting in displacement of the relative position of the target point, causing the predicted puncture position to not coincide with the actual puncture position.

[0061] Based on this, an embodiment of a metal needle guiding method provided in this application is shown in the attached specification. Figure 1 , including the following steps:

[0062] S100, obtaining a projection image including the lesion area and the metal needle during the operation.

[0063] S200, performing data segmentation on the projection image to obtain first projection data including the metal needle and excluding the lesion area, and second projection data of the lesion area excluding the metal needle.

[0064] S300, performing three-dimensional reconstruction on the first projection data by a method for removing metal artifacts to obtain a three-dimensional tomographic image of the metal needle. Performing three-dimensional reconstruction on the second projection data to obtain a three-dimensional tomographic image of the lesion.

[0065] S400, extending the data of the three-dimensional tomographic image of the metal needle to obtain an extended path of the metal needle, and superimposing it on the three-dimensional tomographic image of the lesion, so as to adjust the direction of the metal needle so that the extended path reaches the target position in the lesion area.

[0066] Specifically, the present application takes CT imaging as an example. Of course, the use of other existing imaging technologies such as MRI imaging, X-ray imaging, and CBCT imaging should also be within the protection scope of the present application.

[0067] Obtain a local CT tomographic projection image of the patient, which includes the guaranteed area such as the tumor area, metal needles, and other human tissues.

[0068] The metal needle data is extracted from the projection image to obtain projection data without the metal needle and projection data containing only the metal needle. In one implementation of this embodiment, a deep learning algorithm can be used to segment the metal needle and the lesion area in the projection image. More preferably, in the projection image, the deep learning model can automatically extract features by learning a large number of data sets, thereby realizing the detection of metal needles in the image. An end-to-end metal needle detection model can be designed. This model can learn the representation of metal needles directly from the original image data. Through the training and testing of the model, it can achieve the effect of metal needle detection.

[0069] In some other implementations of this embodiment, the metal needles may be extracted by using a metal extraction algorithm or a threshold segmentation method.

[0070] Better, refer to the instruction manual Figure 2 As shown, after obtaining the second projection data of the lesion area without the metal needle, it also includes: in the second projection data, using an interpolation method to fill in the area data where the metal needle is segmented; or, using a deep learning algorithm to fill in the area data where the metal needle is segmented. Interpolate the projection data without the metal needle to supplement the segmented part of the metal needle.

[0071] The two sets of projection data are reconstructed in three dimensions to obtain three-dimensional tomographic data without the metal needle and three-dimensional tomographic data with the metal needle.

[0072] Use edge detection, corner detection, or connected domain analysis to obtain the location of the metal needle, that is, the second endpoint P2 of the metal needle. Use vector extension and other methods to extend the 3D tomographic data of the metal needle, then add it to the 3D tomographic data without the metal needle, and finally display them together. Figure 2 The effect is shown.

[0073] The following are explanations of edge detection, corner detection, connected domain analysis and other technologies:

[0074] Edge detection algorithms are used in computer vision to identify edges in images, which are places in an image where there is a significant change in brightness. Corner detection is an extension of edge detection and is used to identify places in an image where two or more edges meet, i.e. corners.

[0075] The principle of corner detection algorithm is usually based on the change of pixel intensity in the image. Corners are the intersection points of edges, so they appear as brightness changes in local areas in the image. For example, the gradient information of the image is used to detect corners. It first calculates the gradient magnitude and direction of each pixel, and then uses a window to evaluate the corner response of the local area. By calculating the gradient magnitude and direction of all pixels in the window, a response matrix (usually a gradient covariance matrix) is constructed. If the matrix has two large eigenvalues ​​at a specific scale, then the point may be a corner.

[0076] The principle of connected domain analysis is to identify and mark all connected regions in an image. A connected region is a region consisting of pixels with the same pixel value and adjacent to each other in an image. Connected domain analysis is usually used in fields such as image segmentation, object detection, and shape recognition. Common connected domain analysis algorithms, such as the two-pass algorithm, require two passes through the image. The first pass sets a mark for all pixels in the image and records which connected domain each mark belongs to. The second pass marks each pixel as the connected domain it belongs to. Once the connected domain is marked, the features of each connected domain can be extracted, such as area, bounding box, corner points, etc.

[0077] After obtaining the two end points of the metal needle by any of the above methods, it is confirmed that the extension path starts to extend from the position of the metal needle tip.

[0078] In some other implementations of this embodiment, cluster analysis can be directly performed on the reconstruction results of the metal needle, and then a vector is generated by least squares fitting. The vector is then extended by methods such as vector extension, and the extended vector is superimposed on the three-dimensional tomographic data without the metal needle, and finally displayed together.

[0079] In some implementation modes of this embodiment, step S400 specifically includes:

[0080] S410, identifying a first endpoint and a second endpoint of the metal needle.

[0081] S420: Acquire a direction vector of the metal needle based on the relative position coordinates of the first endpoint and the second endpoint.

[0082] S430: Based on the direction vector, extend the preset length with the second endpoint as the starting point, and use the extended vector as the extended path.

[0083] S440, superimposing the three-dimensional tomographic image of the metal needle and the extended path on the three-dimensional tomographic image of the lesion.

[0084] Specifically, the metal needle is mainly composed of three parts: the needle head, the needle body and the connecting part. Among them, the needle head is the most critical part, usually made of stainless steel and other materials. The shape of the needle head varies according to different usage scenarios, including straight needle heads, curved needle heads, sharp needle heads, blunt needle heads, etc. The needle body is the part used to connect the needle head and the connecting part, usually with a certain length and diameter. The connecting part is the part used to connect the puncture needle and other instruments, generally made of plastic and metal materials. The needle head is an extension of the needle body, which plays a role in cutting or puncturing tissue during puncture.

[0085] Specifically, the two endpoints of the metal needle are recorded as P1 (x1, y1, z1) and P2 (x2, y2, z2). The vector of the line segment P1P2 can be expressed as the vector V=P1-P2, that is, V=(P1-P2, P1-P2, P1-P2). The extended vector can be calculated according to the length you want to extend. Assuming that the length of the metal needle is L1 and the extended length is L, the extended vector of the metal needle is V'=k*V, where k=L / L1. Extending the path means adding the calculated extended vector to the end point of the original line segment, that is, the new end point P3=P2+V'.

[0086] In this embodiment, a metal needle tip is used as an example of a metal needle. Figure 3 Detect the connected domain of the metal needle E1 in the projection image, and detect the two farthest endpoints in the connected domain through connected domain analysis, which are the first endpoint P1 and the second endpoint P2. Connect P1 and P2 to generate the vector of the metal needle. Figure 3 In the figure, the surface puncture point is Q0 and the target position is P0. The direction vector of the metal needle is extended by a certain distance to obtain the extended path L1. Figure 3The dotted path in the figure. The extended distance can be set according to the actual length of the metal needle. The extended path L1 is obtained based on the real data of the metal needle E1, which can intuitively reflect the puncture trend of the metal needle in the human body. When the operator observes that the extended path deviates from the target position P0, the puncture direction is adjusted in advance. When the extended path reaches or covers the target position, the direction is no longer adjusted. After adjustment, Figure 4 shown.

[0087] Another embodiment of a metal needle guiding method of the present application, based on an embodiment of the above method, further includes the step: S500, based on the three-dimensional tomographic image of the lesion, estimating the center position of the lesion area; using the center position as the target position. Or, setting a mark position on the three-dimensional tomographic image of the lesion, using the mark position as the target position; superimposing the target position on the three-dimensional tomographic image of the lesion.

[0088] Specifically, in theory, the lesion area is an irregular and small area, and as long as the metal needle tip reaches the lesion area, it will be sufficient. However, for better results, the target position can be set to the center of the lesion area.

[0089] Another embodiment of a metal needle guiding method of the present application, based on any one of the embodiments of the metal needle guiding method described above, in the step S300, when performing three-dimensional reconstruction on the first projection data by using a method for removing metal artifacts, further includes:

[0090] S310: Use a projection domain restoration network to repair the first projection data.

[0091] S320: Generate the three-dimensional tomographic image of the metal needle using the restored first projection data using a generation network.

[0092] Specifically, the present application reconstructs images based on a reconstruction algorithm for removing metal artifacts, thereby reducing artifacts and distortion caused by metal properties of metal needles during three-dimensional reconstruction, making the position of the metal needle in the three-dimensional reconstructed image clearer, improving image quality, and more accurately reflecting the position of the metal needle in the human body.

[0093] Better yet, it is necessary to build and train the projection domain restoration network and reconstruction network models, or use the trained models.

[0094] In some implementations of this embodiment, the technical effect of the present application may also be achieved by using any of the following existing methods for removing metal artifacts.

[0095] For example: projection data repair method based on interpolation. This type of method replaces the data contaminated by metal foreign matter in the original projection data through interpolation technology, so as to achieve the purpose of removing metal artifacts. Commonly used interpolation algorithms include linear interpolation, cubic spline interpolation and polynomial interpolation. However, this method may produce secondary artifacts.

[0096] Iterative reconstruction correction method. The iterative method continuously iterates and corrects the image vector, uses the projection data to establish a linear equation system, and determines the value of the attenuation coefficient by solving the equation system to reconstruct the image. The iterative method has a good effect on metal artifact correction, but it has a large amount of calculation and slow running speed.

[0097] Metal artifact removal method based on deep learning. Deep learning algorithms use models such as convolutional neural networks (CNNs) to automatically extract features by learning a large number of data sets to remove metal artifacts.

[0098] Based on the image domain deep learning correction method. Apply the deep learning model to the reconstructed image for correction.

[0099] Dual-domain joint deep learning correction method: Deep learning models are applied to both the projection domain and the image domain, and connected through reconstruction layers to improve the correction effect.

[0100] Another embodiment of a metal needle guiding method of the present application, based on any one of the embodiments of the metal needle guiding method described above, further includes the steps of: S610, calculating the direction, angle and distance required for the extended path to reach the target position. S620, issuing a prompt and broadcast in the form of language or text, etc., which helps the operator to more easily achieve puncture of the target position.

[0101] Preferably, the relative position between the surface puncture point Q0 and the target position P0 can be determined more accurately by installing a mechanical device on the patient's surface.

[0102] Based on the same technical concept, the present application also discloses a metal needle guidance system, which can be used to implement any of the above-mentioned metal needle guidance methods. Specifically, a metal needle guidance system embodiment of the present application includes: an image acquisition module, used to obtain a projection image containing the lesion area and the metal needle during the operation.

[0103] The data segmentation module is used to perform data segmentation on the projection image to obtain first projection data including the metal needle and excluding the lesion area, and second projection data of the lesion area excluding the metal needle.

[0104] The three-dimensional reconstruction module is used to perform three-dimensional reconstruction on the first projection data by removing metal artifacts to obtain a three-dimensional tomographic image of the metal needle and to perform three-dimensional reconstruction on the second projection data to obtain a three-dimensional tomographic image of the lesion.

[0105] The simulation extension module is used to extend the data of the three-dimensional tomographic image of the metal needle to obtain the extended path of the metal needle and superimpose it on the three-dimensional tomographic image of the lesion so as to adjust the direction of the metal needle so that the extended path reaches the target position in the lesion area.

[0106] More preferably, the data segmentation module is further used to fill in the data of the area where the segmented metal needle is located in the second projection data using an interpolation method; or to fill in the data of the area where the segmented metal needle is located using a deep learning algorithm.

[0107] Another embodiment of a metal needle guidance system provided by the present application is based on the above system embodiment, wherein the metal needle guidance system further includes: a target position estimation module, which is used to estimate the center position of the lesion area based on the projection image, and use the center position as the target position. It is also used to superimpose the target position on the three-dimensional tomographic image of the lesion.

[0108] In another embodiment of a metal needle guidance system provided by the present application, based on the above system embodiment, the simulation extension module is specifically used to identify the first end point and the second end point of the metal needle. Based on the relative position coordinates of the first end point and the second end point, the direction vector of the metal needle is obtained. Based on the direction vector, the second end point is used as the starting point to extend the preset length, and the extended vector is used as the extended path. The three-dimensional tomographic image of the metal needle and the extended path are superimposed on the three-dimensional tomographic image of the lesion.

[0109] Based on the same concept, the present application also discloses an image processing device, which at least includes a metal needle guidance system described in any one of the above embodiments.

[0110] Specifically, the image processing device is a medical imaging workstation. The medical imaging workstation is connected to the CT imaging device and integrates functions such as image transmission or video image acquisition, image processing, image measurement, report storage and printing, thereby improving the efficiency of medical diagnosis.

[0111] A metal needle guidance method, system and image processing device of the present application have the same technical concept, and the technical details of the embodiments of the two are applicable to each other. In order to reduce repetition, they will not be repeated here.

[0112] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned program modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program units or modules to complete all or part of the functions described above. The program modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into a processing unit, and the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software program units. In addition, the specific names of the program modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0113] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0114] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed with hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0115] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0116] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A metal needle guiding system, characterized in that: include: An image acquisition module, used for acquiring a projection image including the lesion area and the metal needle during the operation; A data segmentation module, configured to perform data segmentation on the projection image to obtain first projection data including the metal needle and excluding the lesion area, and second projection data of the lesion area excluding the metal needle; A three-dimensional reconstruction module, used to perform three-dimensional reconstruction on the first projection data by a reconstruction algorithm for removing metal artifacts to obtain a three-dimensional tomographic image of the metal needle; and perform three-dimensional reconstruction on the second projection data to obtain a three-dimensional tomographic image of the lesion; A simulation extension module is used to obtain an extension path of the metal needle based on the three-dimensional tomographic image of the metal needle, and to superimpose the three-dimensional tomographic image of the metal needle and the extension path on the three-dimensional tomographic image of the lesion, so as to adjust the direction of the metal needle so that the extension path reaches the target position in the lesion area.

2. A metal needle guiding system according to claim 1, characterized in that: The data segmentation module is also used to segment the metal needle and the lesion area in the projection image using a threshold segmentation method; or, to segment the metal needle and the lesion area in the projection image using a deep learning algorithm.

3. A metal needle guiding system as claimed in claim 1, characterized in that: The data segmentation module is further used to fill in the data of the area where the segmented metal needle is located in the second projection data using an interpolation method; or to fill in the data of the area where the segmented metal needle is located using a deep learning algorithm.

4. A metal needle guiding system as claimed in claim 1, characterized in that: Also includes: A target position estimation module, used for estimating the center position of the lesion area based on the three-dimensional tomographic image of the lesion; Taking the center position as the target position; Or, setting a marked position on the three-dimensional tomographic image of the lesion, and using the marked position as the target position; The target position estimation module is also used to superimpose the target position onto the three-dimensional tomographic image of the lesion.

5. A metal needle guiding system according to claim 1 or 4, characterized in that: The simulation extension module is also used to perform the following steps: Identify the first endpoint and the second endpoint of the metal needle; detect the connected domain of the metal needle in the projection image, and detect through connected domain analysis that the two farthest endpoints in the connected domain are the first endpoint and the second endpoint; the second endpoint is the tip position of the needle; Acquire the direction vector of the metal needle; connect the first endpoint to the second endpoint to form a spatial straight line; the direction vector of the metal needle is a non-zero vector parallel to the spatial straight line; Taking the second endpoint as a starting point, the direction vector is extended by a preset length to form an extended vector as the extended path.

6. A metal needle guiding system as claimed in claim 5, characterized in that: The three-dimensional reconstruction module is also used to: use a projection domain repair network to repair the first projection data; and use a generation network to generate the three-dimensional tomographic image of the metal needle from the repaired first projection data.

7. An image processing device, characterized in that: The image processing device comprises at least a metal needle guidance system as described in any one of claims 1-6.