A guide wire action prediction method and device, electronic equipment and storage medium

By constructing a decoupled bi-branch discrete classification network for multi-channel image input using single-frame two-dimensional DSA images in percutaneous coronary intervention, the problems of poor real-time performance and low interpretability in existing technologies are solved, realizing real-time decision-making and interpretability for guidewire navigation, and meeting the requirements of clinical applications.

CN123142276APending Publication Date: 2026-11-20SHENZHEN RAYSIGHT INTELLIGENT MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611379927.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In current percutaneous coronary intervention, surgical robot systems rely on real-time judgment by doctors, which suffers from poor real-time performance, path planning failure, and poor interpretability of black-box models, making it difficult to meet the real-time and interpretability requirements of guidewire navigation.

Method used

A multi-channel image input is constructed using a single-frame 2D DSA image. The longitudinal advance and rotation of the guidewire are predicted by decoupling the dual-branch discrete classification network, avoiding the delay of 3D reconstruction and time series model. Explicit decoupling of input and discrete output is adopted to ensure the real-time performance and interpretability of navigation decisions.

Benefits of technology

It achieves millisecond-level real-time decision-making for guidewire navigation, avoids 3D reconstruction errors and temporal accumulation errors, improves the clinical robustness and interpretability of the system, and meets the requirements for Class III medical device registration and approval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142276A_ABST
    Figure CN123142276A_ABST
Patent Text Reader

Abstract

The application provides a guide wire action prediction method and device, electronic equipment and storage medium. The method comprises the following steps: according to a real-time fluoroscopy image of a patient containing a guide wire and a catheter obtained at a current intraoperative moment, selecting an original angiography image most matched with a guide wire shape from an angiography sequence including a complete cardiac cycle constructed before operation; constructing a multi-channel image according to the original angiography image, the real-time fluoroscopy image and a target position of a target blood vessel; inputting the multi-channel image into a pre-trained action prediction model, and completing spatial fusion feature extraction of a guide wire position, a blood vessel topology and a navigation target through a convolution kernel; and outputting a longitudinal pushing prediction action and a rotating prediction action of the guide wire by two independent classification heads respectively after global pooling, feature fusion and full connection layer mapping. Therefore, the dependence of a coronary intervention robot on a doctor's operation experience can be significantly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical imaging technology, and in particular to a method, apparatus, electronic device, and storage medium for predicting guidewire movement. Background Technology

[0002] Coronary atherosclerotic heart disease (CAD) is a leading cause of death among cardiovascular diseases, and percutaneous coronary intervention (PCI) is currently the clinically recognized first-line treatment. During PCI, surgeons manually manipulate a guidewire through narrowed coronary arteries or complex bifurcation vessels under X-ray fluoroscopy (DSA) guidance to reach the target lesion and perform balloon dilation or stent deployment. Because surgeons are exposed to X-ray radiation for extended periods during the procedure, and wearing lead aprons for extended periods leads to significant physical exertion, robotic-assisted remote operating systems have emerged to address this need.

[0003] Existing surgical robot systems (such as CorPath GRX and Magellan) primarily employ a master-slave joystick control architecture: the surgeon issues commands via joystick or touchscreen from a shielded control room, and the bedside robotic system, guided by DSA images, replicates the surgeon's hand movements to complete the axial advancement and circumferential rotation of the guidewire. However, the core decisions of such systems still rely entirely on the interventional surgeon's real-time judgment and manual operation. The surgeon must decide, based on experience, whether the guidewire should advance or retreat, and whether rotation is needed to adjust the tip orientation, according to the relative position of the guidewire and blood vessel in the DSA two-dimensional projection image.

[0004] In recent years, with the development of artificial intelligence technology in the field of medical imaging, some researchers have attempted to introduce deep learning into guidewire navigation tasks. Existing technologies generally adopt the following approaches: First, constructing a path planning model in three-dimensional space based on three-dimensional vascular reconstruction (such as rotational angiography C-arm CT or binocular vision), and outputting continuous motion vectors through reinforcement learning; Second, using three-dimensional convolutional networks or temporal networks (LSTM / GRU) to perform feature fusion on continuous multi-frame DSA images to predict the device pose shift at the next moment.

[0005] However, 3D reconstruction based on C-arm rotational angiography or binocular vision requires additional hardware acquisition protocols and complex registration calculations, with single-frame decision delays typically exceeding several seconds, making it difficult to meet the real-time requirements of PCI surgery. Furthermore, 3D reconstruction errors are amplified at vessel bifurcation points, leading to path planning failure. Temporal models based on LSTM, GRU, and other methods require a sufficiently long historical sequence before outputting a decision, resulting in inherent delays. Simultaneously, if historical frames are occluded or the contrast agent is uneven, accumulated errors will cause subsequent decisions to continuously deviate, lacking single-frame error correction capabilities. Summary of the Invention

[0006] In view of this, the purpose of this application is to provide a method, device, electronic device and storage medium for predicting guidewire movement, which can effectively solve the problems in the prior art.

[0007] This application provides a method for predicting guidewire movement, the prediction method including: Based on the real-time fluoroscopic images of the patient at the current intraoperative moment, including the visualization of the guidewire and catheter, the original angiography image that best matches the morphology of the guidewire is selected from the preoperative angiography sequence that includes the complete cardiac cycle. Based on the original angiography image, the real-time fluoroscopic image, and the target vessel location, a multi-channel image is constructed that includes vascular structure information, guidewire tip location information, and navigation target location information. The multi-channel image is input into a pre-trained action prediction model. Through the image coding branch network in the action prediction model, image feature vectors including the global spatial relationship of the guidewire, blood vessel, and target location are obtained. The image feature vector and the guidewire auxiliary feature vector are spliced ​​and fused through the fusion branch network in the motion prediction model. The fused feature vector is then input into the dual-branch motion prediction branch network in the motion prediction model to output the longitudinal advance motion and rotational motion prediction of the guidewire.

[0008] Optionally, the step of constructing a multi-channel image containing vascular structure information, guidewire tip position information, and navigation target position information based on the original angiography image, the real-time fluoroscopic image, and the target vessel location includes: The original angiography image is adjusted to a preset size to obtain the target angiography image; The blood vessels in the target angiography image are segmented to obtain a two-dimensional blood vessel mask image; Using the pixel coordinates of the guidewire tip in the real-time fluoroscopic image as the mean center, a two-dimensional Gaussian heat map is generated to obtain a guidewire position heat map with the same size as the target angiography image. Using the target vessel location marked on the preoperative candidate angiography image as the center, a two-dimensional Gaussian heatmap is generated to obtain a target location heatmap with the same size as the target angiography image.

[0009] Optionally, the images in the multi-channel image are of the same size and are spatially aligned pixel by pixel.

[0010] Optionally, an over-action prediction model can be built using the following steps: Obtain a training sample set that includes multiple four-channel overlay images; The four-channel superimposed image is sequentially input into the initial convolutional neural network. The hierarchical visual features of the whole image are extracted through multiple convolutional layers in the image coding branch network of the initial convolutional neural network. The features output by the convolutional layers are compressed into a fixed-length image feature vector through a global average pooling layer. Obtain the guidewire auxiliary feature vector representing the guidewire orientation; The guidewire-assisted feature vector and the image feature vector are input into the fusion branch network in the initial convolutional neural network for concatenation. The concatenated features are then input into the fully connected layer in the fusion branch network for feature fusion and dimensionality reduction to obtain the fused feature vector. The fused feature vector is simultaneously input into two independent fully connected classification heads in the dual-branch action prediction branch network of the initial convolutional neural network to obtain their respective action prediction results. Based on the action prediction results and the actual action corresponding to the four-channel overlay image, determine the target loss function value; Based on the target loss function value, the network parameters of the initial convolutional neural network are updated until convergence, thus obtaining the action prediction model.

[0011] Optionally, the action prediction result includes a first predicted action of vertical advancement and a second predicted action of rotation; determining the target loss function value based on the action prediction result and the actual action corresponding to the four-channel overlay image includes: Based on the action deviation between the first predicted action and the first actual action of vertical advancement, and combined with the first category weight corresponding to the vertical advancement action, calculate the vertical classification loss; The rotation classification loss is calculated based on the action deviation between the second predicted action and the second actual rotation action, combined with the second category weight corresponding to the rotation action. The target loss function value is determined based on the longitudinal classification loss, rotational classification loss, and task balance coefficient.

[0012] Optionally, the longitudinal classification loss can be calculated using the following formula:

[0013] in, For vertical classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. For the true label of the vertical advancement action of the i-th four-channel overlay image, For indicator functions, For the category weights of vertically advancing actions, The prediction result of the i-th four-channel overlay image predicted by the vertical classification head in the vertical advancement motion.

[0014] Optionally, the rotation classification loss can be calculated using the following formula:

[0015] in, For rotational classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. This is the true label for the rotation action of the i-th four-channel overlay image. For indicator functions, For the category weights of rotational actions, The prediction result of the i-th four-channel overlay image for rotational motion by the rotation classification head.

[0016] This application embodiment also provides a guidewire movement prediction device, the prediction device comprising: The selection module is used to select the original angiography image that best matches the guidewire morphology from the pre-constructed angiography sequence that includes the complete cardiac cycle, based on the real-time fluoroscopic image of the patient with guidewire and catheter visualization at the current intraoperative moment. The image construction module is used to construct a multi-channel image containing vascular structure information, guidewire tip position information, and navigation target position information based on the original angiography image, the real-time fluoroscopic image, and the target vessel location. The encoding module is used to input the multi-channel image into a pre-trained action prediction model, and obtain image feature vectors including the global spatial relationship of the guidewire, blood vessel and target location through the image encoding branch network in the action prediction model. The prediction module is used to concatenate and fuse the image feature vector and the guidewire auxiliary feature vector through the fusion branch network in the action prediction model, and input the processed fused feature vector into the dual-branch action prediction branch network in the action prediction model to output the longitudinal advance action and rotation prediction action of the guidewire.

[0017] This application also provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the prediction method described above are performed.

[0018] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the prediction method described above.

[0019] This application provides a method, device, electronic device, and storage medium for predicting guidewire movement. The prediction method includes: selecting the original angiography image that best matches the guidewire morphology from a pre-constructed angiography sequence including a complete cardiac cycle, based on a real-time fluoroscopic image of the patient containing guidewire and catheter visualization at the current intraoperative moment; constructing a multi-channel image containing vascular structure information, guidewire tip position information, and navigation target position information based on the original angiography image, the real-time fluoroscopic image, and the target vessel location; inputting the multi-channel image into a pre-trained movement prediction model, obtaining image feature vectors including the global spatial relationship of the guidewire, vessel, and target location through an image coding branch network in the movement prediction model; concatenating and fusing the image feature vectors with guidewire auxiliary feature vectors through a fusion branch network in the movement prediction model, and inputting the processed fused feature vectors into a two-branch movement prediction branch network in the movement prediction model to output the longitudinal advancement movement and rotation movement prediction of the guidewire.

[0020] Thus, the following effects can be achieved through the technical solution of this application: Firstly, it employs direct decision-making from a single-frame 2D DSA image, overcoming the technical problems of high computational cost and poor real-time performance associated with 3D reconstruction. Furthermore, this application completely eliminates the complex processes of C-arm rotational angiography 3D reconstruction or binocular visual depth estimation, requiring no additional hardware acquisition protocols or registration calculations. Navigation decisions are output simply by performing forward inference on the current single-frame 2D DSA image, reducing single-frame inference latency to milliseconds, fully meeting the stringent timeliness requirements for real-time guidewire navigation in coronary interventional procedures. Simultaneously, because it does not rely on 3D reconstruction, it fundamentally avoids the path planning failure problem caused by amplified 3D reconstruction errors at vessel bifurcation points, ensuring stable decision-making capabilities even in complex bifurcation anatomical scenarios.

[0021] Secondly, it adopts a single-frame time-series-free network architecture, overcoming the technical problems of decision delay and accumulated error in time-series network models. This application completely abandons the dependence of time-series models such as LSTM, GRU, or Transformer on historical frame sequences. The decision at each moment is made independently based on the current single-frame image, eliminating the inherent sequence waiting delay of time-series models and achieving true frame-level real-time response. At the same time, since there is no transmission and accumulation of historical frame information, guidewire obstruction, uneven contrast agent perfusion, or image noise in a single frame only affects the decision of the current frame and will not cause continuous error deviation in subsequent frames. The system has a natural single-frame error correction capability, and its clinical robustness is significantly improved.

[0022] Thirdly, by employing a four-channel spatially aligned input and a decoupled dual-branch discrete classification output, the technical problem of poor interpretability in end-to-end black-box models is overcome. This application explicitly deconstructs the input into the original angiogram image, vessel mask, guidewire thermogram, and target thermogram. Figure 4 Each channel has a clearly defined physical alignment, corresponding to a clinically understandable anatomical or instrumental element. Doctors can visually review the model's input basis by observing the activation responses of each channel. The decoupled longitudinal and rotational classification heads output discrete probability distribution predictions of longitudinal and rotational actions, respectively, with clear decision boundaries. Each action command can be traced back to the category probability output of a specific branch, rather than the implicit mapping of a black-box network. This structured input-decoupled output architecture allows the system to choose rotation over forward movement at vascular bifurcation points. This decision can be fully explained by analyzing the relative spatial positions of the target heatmap and guidewire heatmap, the bifurcation topology of the vascular mask, and the probability output of the corresponding branch. This significantly improves the clinical interpretability and transparency of the algorithm and also helps meet the regulatory requirements for AI decision interpretability in the registration and approval of Class III medical devices.

[0023] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A flowchart illustrating a method for predicting guidewire movement provided in an embodiment of this application; Figure 2 A schematic diagram of the four-channel image provided in this application; Figure 3 This is a schematic diagram illustrating the principle of predicting guidewire movement based on a motion prediction model. Figure 4 A schematic diagram of the structure of a guidewire movement prediction device provided in an embodiment of this application; Figure 5 A schematic diagram of another guidewire movement prediction device provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without inventive effort falls within the scope of protection of this application.

[0027] Coronary atherosclerotic heart disease (CAD) is a leading cause of death among cardiovascular diseases, and percutaneous coronary intervention (PCI) is currently the clinically recognized first-line treatment. During PCI, surgeons manually manipulate a guidewire through narrowed coronary arteries or complex bifurcation vessels under X-ray fluoroscopy (DSA) guidance to reach the target lesion and perform balloon dilation or stent deployment. Because surgeons are exposed to X-ray radiation for extended periods during the procedure, and wearing lead aprons for extended periods leads to significant physical exertion, robotic-assisted remote operating systems have emerged to address this need.

[0028] Existing surgical robot systems (such as CorPath GRX and Magellan) primarily employ a master-slave joystick control architecture: the surgeon issues commands via joystick or touchscreen from a shielded control room, and the bedside robotic system, guided by DSA images, replicates the surgeon's hand movements to complete the axial advancement and circumferential rotation of the guidewire. However, the core decisions of such systems still rely entirely on the interventional surgeon's real-time judgment and manual operation. The surgeon must decide, based on experience, whether the guidewire should advance or retreat, and whether rotation is needed to adjust the tip orientation, according to the relative position of the guidewire and blood vessel in the DSA two-dimensional projection image.

[0029] In recent years, with the development of artificial intelligence technology in the field of medical imaging, some researchers have attempted to introduce deep learning into guidewire navigation tasks. Existing technologies mainly follow these approaches: First, constructing a path planning model in three-dimensional space based on three-dimensional vascular reconstruction (such as rotational angiography C-arm CT or binocular vision), and outputting continuous motion vectors through reinforcement learning; Second, using three-dimensional convolutional networks or temporal networks (LSTM / GRU) to fuse features from multiple consecutive frames of DSA images to predict the device pose shift at the next moment.

[0030] While the aforementioned technical approaches have explored the feasibility of AI-assisted guidewire navigation to some extent, they still have the following significant drawbacks and shortcomings when applied to the actual deployment of clinical surgical robots: (1) The calculation cost of three-dimensional reconstruction route is high and the real-time performance is poor. Three-dimensional vascular reconstruction based on C-arm rotational angiography or binocular vision requires additional hardware acquisition protocols and complex registration calculations. The decision delay of a single frame usually exceeds several seconds, which makes it difficult to meet the timeliness requirements of guidewire real-time navigation in coronary intervention surgery; and the three-dimensional reconstruction error will be amplified at the bifurcation of the vessel, resulting in the failure of path planning.

[0031] (2) Temporal network models suffer from decision delay and cumulative error. When using temporal models such as LSTM, GRU or Transformer to model multiple consecutive frames of DSA images, the model must wait for a sufficiently long historical sequence before it can output the current decision, resulting in an inherent time delay. At the same time, if there is guide wire obstruction or uneven contrast agent perfusion in the historical frame, the temporal cumulative error will cause subsequent decisions to continue to deviate, and the system lacks single-frame error correction capability.

[0032] (3) The end-to-end black box model has poor interpretability and is difficult to meet the requirements for medical device approval. Pure data-driven end-to-end networks directly map the original image to the action output. The intermediate decision-making logic is not interpretable. Doctors and review agencies cannot understand the basis for the system to choose "rotate" instead of "forward" at the fork, which seriously hinders the clinical translation and registration approval of AI navigation algorithms in Class III medical devices.

[0033] Based on this, embodiments of this application provide a method, device, electronic device, and storage medium for predicting guidewire movements. By constructing a multi-channel spatially aligned input including the original angiogram image, vascular mask, guidewire position heatmap, and target position heatmap, and employing a decoupled dual-branch discrete classification network to independently predict longitudinal advancement and rotation movements, discrete navigation commands adapted to the surgical robot actuator can be directly output from a single frame of DSA image without the need for temporal sequence modeling and local image cropping. While ensuring real-time performance and interpretability, this significantly reduces the dependence of the coronary interventional surgery robot on the surgeon's operational experience.

[0034] Please see Figure 1 , Figure 1 This is a flowchart illustrating a method for predicting guidewire movement provided in an embodiment of this application. Figure 1 As shown in the embodiments of this application, the prediction method includes: S101. Based on the real-time fluoroscopic images of the patient, including the guidewire and catheter, obtained at the current intraoperative moment, select the original angiography image that best matches the guidewire morphology from the preoperative angiography sequence that includes the complete cardiac cycle. S102. Based on the original angiography image, the real-time fluoroscopic image, and the target vessel location, construct a multi-channel image containing vascular structure information, guidewire tip location information, and navigation target location information. S103. Input the multi-channel image into the pre-trained action prediction model, and obtain the image feature vector of the global spatial relationship including the guidewire, blood vessel and target position through the image coding branch network in the action prediction model. S104. The image feature vector and the guidewire auxiliary feature vector are spliced ​​and fused through the fusion branch network in the action prediction model, and the fused feature vector is input into the dual-branch action prediction branch network in the action prediction model to output the longitudinal advance action and rotation prediction action of the guidewire.

[0035] The exemplary steps of the embodiments of this application are described below: For step S101, this step specifically includes: during the patient's PCI procedure, acquiring a real-time fluoroscopic image of the patient at the current moment, wherein the real-time fluoroscopic image of the patient only shows the visualization of the guidewire and catheter, but not the visualization of blood vessels; matching and comparing the real-time fluoroscopic image of the patient with each angiographic image in the pre-constructed angiography sequence, and selecting a frame of the original angiography image that best matches the current guidewire morphology.

[0036] Here, the angiography sequence is typically acquired preoperatively via contrast agent filling and perfusion, including raw angiography images at multiple cardiac cycle phases. The raw angiography images can be segmented into vessels and catheters. Segmentation methods can be trained using AI models based on convolutional neural networks, or through traditional methods such as Frangi filtering; no restrictions are placed here.

[0037] The matching algorithm used for matching and comparison can be the traditional maximum intersection (IoU) criterion, or it can be implemented using registration-based algorithms or deep learning methods; no specific limitation is made here.

[0038] Specifically, step S102 may include: constructing a multi-channel image with four channels based on the original angiography image selected above, the current real-time fluoroscopic image, and the preoperatively planned target vessel location, as input to the subsequent action prediction model.

[0039] Here, the multi-channel images are strictly aligned pixel by pixel in space, meaning that the same pixel coordinate corresponds to the same anatomical location.

[0040] Continuing with step S102, in one embodiment provided in this application, constructing a multi-channel image containing vascular structure information, guidewire tip position information, and navigation target position information based on the original angiography image, the real-time fluoroscopic image, and the target vessel location includes: S1021, The original angiography image is adjusted to a preset size to obtain the target angiography image; S1022, Segment the blood vessels in the target angiography image to obtain a two-dimensional blood vessel mask image; S1023, using the pixel coordinates of the guidewire tip in the real-time fluoroscopic image as the mean center, a two-dimensional Gaussian heat map is generated to obtain a guidewire position heat map with the same size as the target angiography image. S1024, using the target vessel location marked on the preoperatively selected candidate angiography image as the center, a two-dimensional Gaussian heat map is generated to obtain a target location heat map with the same size as the target angiography image.

[0041] In step S1021, the target angiography image is the first channel image.

[0042] In step S1022, the vascular region in the target angiography image is segmented. Segmentation can be performed using a deep learning-based convolutional neural network model (such as U-Net) or a traditional method (such as Frangi filtering). The resulting two-dimensional vascular mask is a binary image with pixel values ​​{0,1}, used to explicitly encode the spatial distribution and topological structure of the vascular lumen, providing precise anatomical constraints for the network.

[0043] Here, the two-dimensional blood vessel mask image is the second channel image.

[0044] For step S1023, the pixel coordinates of the guidewire tip detected in the current real-time fluoroscopic image are used. Generate a two-dimensional Gaussian heatmap at the full map size, with the mean center as the center. .

[0045] here, With a preset diffusion coefficient, this heatmap transforms the sparse coordinates of the guidewire tip into a continuous spatial distribution, avoiding the loss of coordinate information during the downsampling process.

[0046] The generated two-dimensional blood vessel mask image is the third channel image.

[0047] In step S1024, a Gaussian heatmap with the same parameters as the third channel is generated, centered on the target vessel point determined by the preoperative physician using the candidate vessel image selected in the preoperative planning. This target location heatmap is the fourth channel image.

[0048] This heatmap is used to encode the absolute spatial location of the navigation target, enabling the network to intuitively perceive the spatial distance and directional relationship between the guidewire tip and the target point, providing a basis for subsequent decoupling and classification decisions.

[0049] Furthermore, it should be noted that the images in the multi-channel image are of the same size and are spatially aligned pixel by pixel.

[0050] For an example, please refer to Figure 2 , Figure 2 A schematic diagram of the four-channel image provided in this application, such as Figure 2 As shown, from left to right, the images are the first channel image, the second channel image, the third channel image, and the fourth channel image.

[0051] In step S103, the constructed multi-channel image is input into a pre-trained action prediction model. This action prediction model has a single-frame, time-independent convolutional neural network architecture, including an image encoding branch network, a fusion branch network, and a dual-branch action prediction branch network. Through multi-layer convolution and downsampling operations in the image encoding branch network, hierarchical visual features of the entire image are extracted. At the end of the image encoding branch network, global average pooling is used to compress the last layer feature map into a fixed-length image feature vector. .

[0052] Here, the multi-layer convolution can specifically include a first convolutional layer, a second convolutional layer, and a third convolutional layer. Specifically, the first convolutional layer can use 64 convolutional kernels, the second convolutional layer can use 128 convolutional kernels, and the third convolutional layer can use 256 convolutional kernels.

[0053] For step S104, this step specifically includes: processing the image feature vector obtained in step S103. With guide wire auxiliary feature vector Perform feature channel dimension splicing.

[0054] Here, since it is difficult to perceive the subtle orientation of the guidewire tip by relying solely on the global features of the image, this embodiment introduces a guidewire auxiliary feature vector. Specifically, the process of obtaining the guidewire auxiliary feature vector is as follows: First, the guidewire is segmented and skeletonized to extract the guidewire centerline; then, 256 points are taken back along the centerline from the guidewire tip coordinates (insufficient points are padded with zeros), each point containing coordinates (x, y) and grayscale value g (three-channel features); the above point cloud data is processed through multiple convolutions and global pooling to obtain a 256-dimensional guidewire auxiliary feature vector. The two vectors are concatenated to form a 512-dimensional vector, which is then fed into the fully connected layer of the fusion branch network for feature fusion and dimensionality reduction, ultimately outputting a 64-dimensional fused feature vector. ∈ .

[0055] This fused feature vector simultaneously contains global spatial relationship information of guidewire-blood vessel-target, as well as local fine morphology and orientation information of guidewire tip, effectively overcoming the interference of single-frame local texture blur on tip orientation inference.

[0056] Continuing with step S104, the dual-branch action prediction network consists of two independent fully connected classification heads: a vertical classification head and a rotation classification head. The aforementioned 64-dimensional fused feature vector is input into these two independent fully connected layers respectively.

[0057] Specifically, it includes the following: Vertical classification head: The fully connected layer structure has 64=>2 layers. After processing by the Softmax activation function, it outputs a binary probability distribution of the vertical propagation action. .

[0058] By comparing the two probability values, it is ultimately determined whether the guidewire should advance or retreat.

[0059] Rotation Classification Head: The fully connected layer structure has 64=>2 layers. After processing with the Softmax activation function, it outputs a binary probability distribution of the rotation action. .

[0060] By comparing the magnitudes of the two probability values, it can be finally determined whether the guidewire does not rotate or rotates.

[0061] Therefore, based on the longitudinal classification head in the dual-branch action prediction branch network, the longitudinal advance prediction action of the guidewire is output, and based on the rotation classification head in the dual-branch action prediction branch network, the rotation prediction action of the guidewire is output.

[0062] Furthermore, through Figure 3 The process of predicting guidewire movement is explained in detail. Figure 3 This is a schematic diagram illustrating the principle of predicting guidewire movement based on a motion prediction model. (Example) Figure 3 As shown, the action prediction model adopts a single-frame, time-independent convolutional neural network architecture, which consists of an image coding branch network, a fusion branch network (including fully connected layers), and a dual-branch action prediction branch network.

[0063] based on Figure 3 The process of predicting guidewire movement can be specifically as follows: acquiring a four-channel superimposed image composed of four channels ( Figure 3 (Image in the lower left corner) and the original medical image including guidewire feature information ( Figure 3 (Image from the top left corner); The four-channel superimposed image is input into the image coding branch network of the action prediction model. Hierarchical visual features of the entire image are extracted through multi-layer convolution and downsampling, thus determining the image feature vector. Furthermore, to avoid the loss of sparse heatmap signals such as the guidewire tip and target location in the deep network, global average pooling is used at the end of the image coding branch network to compress the last layer feature map into a fixed-length image feature vector. This vector preserves the global spatial relationship perception capability of guidewire-blood vessel-target.

[0064] Simultaneously, based on the original medical image containing guidewire feature information, the guidewire segmentation result is first obtained, and skeletonization is performed to obtain the guidewire centerline. Starting from the coordinates of the guidewire tip, 256 points are taken back along the guidewire, padding with zeros if necessary. For each point, features [x, y, g] are obtained, representing the x and y coordinates and the gray value g, respectively. Through multi-layer convolution and global pooling, the guidewire auxiliary feature vector is obtained. .

[0065] Then, the image feature vector and guide wire auxiliary feature vector The input is concatenated in the fusion branch network and then fed into a fully connected layer for feature fusion. At this point, the input fully connected layer C has 512 dimensions. After processing by the fully connected layer, the fused feature vector is output. .

[0066] Then, the fusion features are directed to The inputs are fed into two independent fully connected classification heads (vertical classification head and rotation classification head) of the dual-branch action prediction branch network, respectively, to form a multi-task discrete output: The vertical classification head has a fully connected layer structure of 64=>2, which, after Softmax activation, outputs a binary probability distribution of the vertical action. ; Figure 3 The output is .

[0067] The fully connected layer structure in the rotation classification head is 64=>2, and after Softmax activation, it outputs a binary probability distribution of the rotation action. . Figure 3 The output is .

[0068] Finally, the category indices corresponding to the highest probabilities in the two branches are taken as the discrete navigation command output for the current moment. Therefore, based on... Figure 3 The predicted longitudinal advance action of the guidewire is backward, and the predicted rotation action is no rotation.

[0069] Furthermore, in another embodiment provided in this application, the over-action prediction model is constructed through the following steps: S201, Obtain a training sample set including multiple four-channel overlay images; S202, the four-channel superimposed image is sequentially input into the initial convolutional neural network. The hierarchical visual features of the whole image are extracted through multiple convolutional layers in the image coding branch network of the initial convolutional neural network. The features output by the convolutional layers are compressed into a fixed-length image feature vector through the global average pooling layer. S203, Obtain the guidewire auxiliary feature vector characterizing the guidewire orientation; S204, the guide wire auxiliary feature vector and the image feature vector are input into the fusion branch network in the initial convolutional neural network for concatenation, and the concatenated features are input into the fully connected layer in the fusion branch network for feature fusion and dimensionality reduction to obtain the fused feature vector; S205, simultaneously input the fused feature vector into two independent fully connected classification heads in the dual-branch action prediction branch network of the initial convolutional neural network to obtain their respective action prediction results; S206, Determine the target loss function value based on the action prediction result and the actual action corresponding to the four-channel overlay image; S207, Update the network parameters of the initial convolutional neural network according to the target loss function value until convergence, and obtain the action prediction model.

[0070] For step S201, the training sample set can be determined based on the operation logs of expert physicians on the surgical robot operating system. Each record includes: guidewire tracking coordinates, target coordinates, and the actual longitudinal and rotational commands issued by the physician at that moment as supervision labels.

[0071] The process of determining the four-channel overlay image is consistent with the principle of the determination process in step S102, and will not be repeated here.

[0072] The determination process for step S202 is consistent with that for step S103, and will not be repeated here.

[0073] Regarding step S203, the determination of the guidewire auxiliary feature vector is consistent with the process principle described in step S104, and will not be repeated here.

[0074] The implementation process for steps S204-S205 can be referenced from step S104, as the principle is the same.

[0075] Regarding step S206, in one embodiment provided in this application, the action prediction result includes a first predicted action of vertical advancement and a second predicted action of rotation; determining the target loss function value based on the action prediction result and the actual action corresponding to the four-channel overlay image includes: S2061, calculate the vertical classification loss based on the action deviation between the first predicted action and the first true action of vertical advancement, and in combination with the first category weight corresponding to the vertical advancement action; S2062, calculate the rotation classification loss based on the action deviation between the second predicted action and the second actual rotation action, and in combination with the second category weight corresponding to the rotation action; S2063, Determine the target loss function value based on the longitudinal classification loss, rotational classification loss, and task balance coefficient.

[0076] Regarding step S2061, in one embodiment provided in this application, the longitudinal classification loss is calculated using the following formula:

[0077] in, For vertical classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. For the true label of the vertical advancement action of the i-th four-channel overlay image, For indicator functions, For the category weights of vertically advancing actions, The prediction result of the i-th four-channel overlay image predicted by the vertical classification head in the vertical advancement motion.

[0078] Regarding step S2062, in one embodiment provided in this application, the rotational classification loss is calculated using the following formula:

[0079] in, For rotational classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. This is the true label for the rotation action of the i-th four-channel overlay image. For indicator functions, For the category weights of rotational actions, The prediction result of the i-th four-channel overlay image for rotational motion by the rotation classification head.

[0080] Regarding step S2063, the calculation process of the target loss function value can be determined according to the following formula:

[0081] It should be noted that λ specifically represents the rotational task balance coefficient, with a value ranging from 0.5. Version 1.0 is used to balance the gradient contribution magnitudes of longitudinal and rotational tasks. The target loss function value.

[0082] For step S207, a target loss function value can be determined for each four-channel overlay image, and the network parameters of the neural network are updated according to the determined target loss function value until convergence, thus obtaining the action prediction model.

[0083] Based on the same inventive concept, this application also provides a prediction device corresponding to the prediction method. Since the principle of the device in this application is similar to the prediction method described above, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0084] Please see Figure 4 , Figure 5 , Figure 4 This is a schematic diagram of the structure of a guidewire movement prediction device provided in an embodiment of this application. Figure 5 This is a schematic diagram of another guidewire movement prediction device provided in an embodiment of this application. Figure 4 As shown, the prediction device 300 includes: The selection module 310 is used to select the original angiography image that best matches the morphology of the guidewire from the pre-constructed angiography sequence that includes the complete cardiac cycle, based on the real-time fluoroscopic image of the patient containing the guidewire and catheter at the current intraoperative moment. The image construction module 320 is used to construct a multi-channel image containing vascular structure information, guidewire tip position information and navigation target position information based on the original angiography image, the real-time fluoroscopic image and the target vessel position. Encoding module 330 is used to input the multi-channel image into a pre-trained action prediction model, and obtain image feature vectors including the global spatial relationship of guidewire, blood vessel and target position through the image encoding branch network in the action prediction model. The prediction module 340 is used to splice and fuse the image feature vector and the guidewire auxiliary feature vector through the fusion branch network in the action prediction model, and input the processed fused feature vector into the dual-branch action prediction branch network in the action prediction model to output the longitudinal advance action and rotation prediction action of the guidewire.

[0085] Optionally, when the image construction module 320 constructs a multi-channel image containing vascular structure information, guidewire tip position information, and navigation target position information based on the original angiography image, the real-time fluoroscopic image, and the target vessel location, the image construction module 320 is used to: The original angiography image is adjusted to a preset size to obtain the target angiography image; The blood vessels in the target angiography image are segmented to obtain a two-dimensional blood vessel mask image; Using the pixel coordinates of the guidewire tip in the real-time fluoroscopic image as the mean center, a two-dimensional Gaussian heat map is generated to obtain a guidewire position heat map with the same size as the target angiography image. Using the target vessel location marked on the preoperative candidate angiography image as the center, a two-dimensional Gaussian heatmap is generated to obtain a target location heatmap with the same size as the target angiography image.

[0086] Optionally, the images in the multi-channel image are of the same size and are spatially aligned pixel by pixel.

[0087] Optional, such as Figure 5 As shown, the prediction device 300 further includes a model building module 350, which is used to build an over-action prediction model through the following steps: Obtain a training sample set that includes multiple four-channel overlay images; The four-channel superimposed image is sequentially input into the initial convolutional neural network. The hierarchical visual features of the whole image are extracted through multiple convolutional layers in the image coding branch network of the initial convolutional neural network. The features output by the convolutional layers are compressed into a fixed-length image feature vector through a global average pooling layer. Obtain the guidewire auxiliary feature vector representing the guidewire orientation; The guidewire-assisted feature vector and the image feature vector are input into the fusion branch network in the initial convolutional neural network for concatenation. The concatenated features are then input into the fully connected layer in the fusion branch network for feature fusion and dimensionality reduction to obtain the fused feature vector. The fused feature vector is simultaneously input into two independent fully connected classification heads in the dual-branch action prediction branch network of the initial convolutional neural network to obtain their respective action prediction results. Based on the action prediction results and the actual action corresponding to the four-channel overlay image, determine the target loss function value; Based on the target loss function value, the network parameters of the initial convolutional neural network are updated until convergence, thus obtaining the action prediction model.

[0088] Optionally, the action prediction result includes a first predicted action of vertical advancement and a second predicted action of rotation; when the model building module 350 determines the target loss function value based on the action prediction result and the real action corresponding to the four-channel overlay image, the model building module 350 is used to: Based on the action deviation between the first predicted action and the first actual action of vertical advancement, and combined with the first category weight corresponding to the vertical advancement action, calculate the vertical classification loss; The rotation classification loss is calculated based on the action deviation between the second predicted action and the second actual rotation action, combined with the second category weight corresponding to the rotation action. The target loss function value is determined based on the longitudinal classification loss, rotational classification loss, and task balance coefficient.

[0089] Optionally, the model building module 350 is used to calculate the longitudinal classification loss using the following formula:

[0090] in, For vertical classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. For the true label of the vertical advancement action of the i-th four-channel overlay image, For indicator functions, For the category weights of vertically advancing actions, The prediction result of the i-th four-channel overlay image predicted by the vertical classification head in the vertical advancement motion.

[0091] Optionally, the model building module 350 is used to calculate the rotation classification loss using the following formula:

[0092] in, For rotational classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. This is the true label for the rotation action of the i-th four-channel overlay image. For indicator functions, For the category weights of rotational actions, The prediction result of the i-th four-channel overlay image for rotational motion by the rotation classification head.

[0093] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.

[0094] The memory 620 stores machine-readable instructions executable by the processor 610. When the electronic device 600 is running, the processor 610 and the memory 620 communicate via the bus 630. When the machine-readable instructions are executed by the processor 610, they can perform the operations described above. Figures 1 to 3 The steps in the method embodiment shown are specifically implemented in the method embodiment and will not be repeated here.

[0095] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described actions. Figures 1 to 3 The steps in the method embodiment shown are specifically implemented in the method embodiment and will not be repeated here.

[0096] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0097] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0098] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0099] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0100] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0101] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The scope of protection of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for predicting guidewire movement, characterized in that, The prediction method includes: Based on the real-time fluoroscopic images of the patient at the current intraoperative moment, including the visualization of the guidewire and catheter, the original angiography image that best matches the morphology of the guidewire is selected from the preoperative angiography sequence that includes the complete cardiac cycle. Based on the original angiography image, the real-time fluoroscopic image, and the target vessel location, a multi-channel image is constructed that includes vascular structure information, guidewire tip location information, and navigation target location information. The multi-channel image is input into a pre-trained action prediction model. Through the image coding branch network in the action prediction model, image feature vectors including the global spatial relationship of the guidewire, blood vessel, and target location are obtained. The image feature vector and the guidewire auxiliary feature vector are spliced ​​and fused through the fusion branch network in the motion prediction model. The fused feature vector is then input into the dual-branch motion prediction branch network in the motion prediction model to output the longitudinal advance motion and rotational motion prediction of the guidewire.

2. The prediction method according to claim 1, characterized in that, The process of constructing a multi-channel image containing vascular structure information, guidewire tip position information, and navigation target position information based on the original angiography image, the real-time fluoroscopic image, and the target vessel location includes: The original angiography image is adjusted to a preset size to obtain the target angiography image; The blood vessels in the target angiography image are segmented to obtain a two-dimensional blood vessel mask image; Using the pixel coordinates of the guidewire tip in the real-time fluoroscopic image as the mean center, a two-dimensional Gaussian heat map is generated to obtain a guidewire position heat map with the same size as the target angiography image. Using the target vessel location marked on the preoperative candidate angiography image as the center, a two-dimensional Gaussian heatmap is generated to obtain a target location heatmap with the same size as the target angiography image.

3. The prediction method according to claim 1, characterized in that, The images in the multi-channel image are all the same size and are spatially aligned pixel by pixel.

4. The prediction method according to claim 1, characterized in that, The action prediction model was constructed using the following steps: Obtain a training sample set that includes multiple four-channel overlay images; The four-channel superimposed image is sequentially input into the initial convolutional neural network. The hierarchical visual features of the whole image are extracted through multiple convolutional layers in the image coding branch network of the initial convolutional neural network. The features output by the convolutional layers are compressed into a fixed-length image feature vector through a global average pooling layer. Obtain the guidewire auxiliary feature vector representing the guidewire orientation; The guidewire-assisted feature vector and the image feature vector are input into the fusion branch network in the initial convolutional neural network for concatenation. The concatenated features are then input into the fully connected layer in the fusion branch network for feature fusion and dimensionality reduction to obtain the fused feature vector. The fused feature vector is simultaneously input into two independent fully connected classification heads in the dual-branch action prediction branch network of the initial convolutional neural network to obtain their respective action prediction results. Based on the action prediction results and the actual action corresponding to the four-channel overlay image, determine the target loss function value; Based on the target loss function value, the network parameters of the initial convolutional neural network are updated until convergence, thus obtaining the action prediction model.

5. The prediction method according to claim 4, characterized in that, The action prediction result includes a first predicted action of vertical advancement and a second predicted action of rotation; the determination of the target loss function value based on the action prediction result and the actual action corresponding to the four-channel overlay image includes: Based on the action deviation between the first predicted action and the first actual action of vertical advancement, and combined with the first category weight corresponding to the vertical advancement action, calculate the vertical classification loss; The rotation classification loss is calculated based on the action deviation between the second predicted action and the second actual rotation action, combined with the second category weight corresponding to the rotation action. The target loss function value is determined based on the longitudinal classification loss, rotational classification loss, and task balance coefficient.

6. The prediction method according to claim 5, characterized in that, The longitudinal classification loss is calculated using the following formula: in, For vertical classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. For the true label of the vertical advancement action of the i-th four-channel overlay image, For indicator functions, For the category weights of vertically advancing actions, The prediction result of the i-th four-channel overlay image predicted by the vertical classification head in the vertical advancement motion.

7. The prediction method according to claim 5, characterized in that, The rotational classification loss is calculated using the following formula: in, For rotational classification loss, Let be the total number of four-channel overlay images in the training sample set, where i is the i-th four-channel overlay image, and c is the index of the action category. This is the true label for the rotation action of the i-th four-channel overlay image. For indicator functions, For the category weights of rotational actions, The prediction result of the i-th four-channel overlay image for rotational motion by the rotation classification head.

8. A device for predicting guidewire movement, characterized in that, The prediction device includes: The selection module is used to select the original angiography image that best matches the guidewire morphology from the pre-constructed angiography sequence that includes the complete cardiac cycle, based on the real-time fluoroscopic image of the patient with guidewire and catheter visualization at the current intraoperative moment. The image construction module is used to construct a multi-channel image containing vascular structure information, guidewire tip position information, and navigation target position information based on the original angiography image, the real-time fluoroscopic image, and the target vessel location. The encoding module is used to input the multi-channel image into a pre-trained action prediction model, and obtain image feature vectors including the global spatial relationship of the guidewire, blood vessel and target location through the image encoding branch network in the action prediction model. The prediction module is used to concatenate and fuse the image feature vector and the guidewire auxiliary feature vector through the fusion branch network in the action prediction model, and input the processed fused feature vector into the dual-branch action prediction branch network in the action prediction model to output the longitudinal advance action and rotation prediction action of the guidewire.

9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the machine-readable instructions are executed by the processor to perform the steps of the prediction method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the prediction method as described in any one of claims 1 to 7.