2D-3D medical image registration method, device and readable storage medium
By generating projection images of 3D volume data and inputting them into the neural network model, outputting multi-degree-of-freedom action values to update poses, it solves the shortcomings in accuracy and universality of existing 2D-3D medical image registration methods and achieves high accuracy. Alignment fusion of degrees and multiple degrees of freedom.
Patent Information
- Application Number
- CN202110351782.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-03-31
AI Technical Summary
Existing 2D-3D medical image registration methods have shortcomings in accuracy and universality. In particular, it is difficult to achieve high-precision registration for complex lesion structures and multiple medical devices.
By generating projection images of 3D volume data and inputting the trained neural network model, multi-degree-of-freedom action values are output, and these action values are used to calculate a 4×4 transformation matrix to update the pose of the 3D volume data until the iteration stop condition is met to achieve 2D -High-precision alignment and fusion of 3D medical images.
It improves the accuracy and universality of 2D-3D medical image registration, reduces the number of iteration steps, realizes multi-degree-of-freedom action transformation, and is suitable for a variety of medical devices and complex lesion structures.
Smart Images

Figure CN113160290B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image registration, and in particular to a 2D-3D medical image registration method, device and readable storage medium. Background Art
[0002] Image-guided surgery in clinical surgery usually requires obtaining 3D images of human lesions before surgery to help doctors understand the patient's condition and develop surgical plans. It is also necessary to obtain 2D images of the human body during surgery to guide doctors in tracking and correcting the spatial position of surgical instruments relative to the patient's lesions. The key to the surgery lies in accurately establishing the spatial position relationship between the preoperative 3D image and the intraoperative 2D image, that is, the 2D-3D medical image.
[0003] 2D-3D medical image registration finds the six-degree-of-freedom pose of preoperative 3D volume data (such as CT scan or magnetic resonance imaging), aligns and fuses the structure of the region of interest obtained from the volume data, such as the VR display image of the vascular tree, with the intraoperative 2D image (such as X-ray fluoroscopic image), and performs motion compensation, thereby achieving image-guided surgical treatment.
[0004] Existing 2D-3D medical image registration solutions include:
[0005] (1) predefine a number of discrete, possible actions, apply the trained model to the reference image and the floating image, and output the action value of each action, select the maximum action value from the action value set, and perform the recommended action corresponding to the maximum action value on the floating image, repeat the steps, and use the final transformation parameters generated by multiple iterations to register multiple medical images;
[0006] (2) Automatically locate the medical device of interest in the image (e.g., knee prosthesis, transesophageal echocardiography probe), intercept the edge image blocks and input them into the deep learning network, train the 2D-3D registration based on supervised learning, and directly regress the target registration parameters after the trained network;
[0007] (3) For the dual-plate C-arm device, adaptive matching points are located in the two projection directions and the registration parameters are converted.
[0008] However, the above registration schemes have the following shortcomings:
[0009] The first solution is based on action value, which requires pre-defining a discrete action set of six degrees of freedom. For example, the recommended action set is {move ±1 mm along the xyz axis, rotate ±1 degree around the xyz axis}, that is, 12 recommended actions are pre-defined. This solution can only realize discrete action transformation, and each step can only select a spatial transformation of one degree of freedom, and the registration accuracy and performance are limited. Especially for relatively fine structures such as blood vessels in the region of interest, this solution is difficult to meet clinical needs.
[0010] The second solution is targeted at a more limited scenario. The target medical device has a relatively simple shape, a high average density and clear edges. For ordinary scenarios, this solution is not feasible, and it is difficult to directly regress the target registration parameters.
[0011] Solution (3) is for the scenario where the hardware is a dual-tablet device and is not feasible for ordinary single-tablet devices. Summary of the invention
[0012] The object of the present invention is to provide a 2D-3D medical image registration method, device and readable storage medium to solve one or more problems in existing 2D-3D medical image registration methods.
[0013] In order to solve the above technical problems, the present invention provides a 2D-3D medical image registration method, comprising:
[0014] generating a projection image of the 3D volume data according to a current position and posture of the 3D volume data;
[0015] Inputting the projection image and the intraoperative 2D image into a trained neural network model, and outputting multi-degree-of-freedom action values;
[0016] Determine whether the iteration stop condition is currently met. If so, stop the iteration; if not, calculate a 4×4 transformation matrix based on the multi-degree-of-freedom action value, use the 4×4 transformation matrix to update the posture of the 3D volume data, and generate an updated projection image of the 3D volume data, and input the re-generated projection image and the 2D image into the neural network model to update the multi-degree-of-freedom action value until the iteration stop condition is met.
[0017] Optionally, in the 2D-3D medical image registration method, the 3D volume data is 3D volume data after blood vessel segmentation and rendering.
[0018] Optionally, in the 2D-3D medical image registration method, before generating a projection image of the 3D volume data according to the current posture of the 3D volume data, it also includes: resampling the 3D volume data at a target resolution to reduce the size of the 3D volume data.
[0019] Optionally, in the 2D-3D medical image registration method, the method of generating the projection image according to the current posture of the 3D volume data includes:
[0020] According to the current position and posture of the 3D volume data, the hardware information for forming the 2D image is simulated to generate the projection image having the same field of view direction and the same field of view range as the 2D image.
[0021] Optionally, in the 2D-3D medical image registration method, the hardware information includes at least: the distance between the ray source and the plate, the distance between the ray source and the isocenter, the rotation angle of the ray source and the isocenter position.
[0022] Optionally, in the 2D-3D medical image registration method, before inputting the projection image and the 2D image into a trained neural network model and outputting multi-degree-of-freedom action values, the 2D-3D medical image registration method further includes:
[0023] The projection image and the 2D image are normalized according to set pixel values and resampled to a set size.
[0024] Optionally, the iteration stopping condition includes: the multi-degree-of-freedom action values are all less than a preset threshold.
[0025] Optionally, in the 2D-3D medical image registration method, the iteration stop condition includes: the number of iterations reaches a preset number.
[0026] The present invention also provides a 2D-3D medical image registration device, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the 2D-3D medical image registration method as described above is executed.
[0027] The present invention also provides a readable storage medium, wherein the readable storage medium stores a program, and when the program is executed, the 2D-3D medical image registration method as described above is executed.
[0028] In summary, the 2D-3D medical image registration method, device and readable storage medium provided by the present invention include: generating a projection image of the 3D volume data according to the current posture of the 3D volume data; inputting the projection image and the intraoperative 2D image into a trained neural network model, and outputting a multi-degree-of-freedom action value; judging whether the current iteration stop condition is met, if so, stopping the iteration, if not, calculating a 4×4 transformation matrix based on the multi-degree-of-freedom action value, using the 4×4 transformation matrix to update the posture of the 3D volume data, and generating the updated projection image of the 3D volume data, and inputting the regenerated projection image and the 2D image into the neural network model to update the multi-degree-of-freedom action value until the iteration stop condition is met. That is, directly judging whether to stop the iteration by the multi-degree-of-freedom action value of the output continuous variable, the 2D-3D automatic registration result can be obtained by using a small number of iteration steps, and each iteration involves a multi-degree-of-freedom action transformation, so the registration is highly accurate, and the intraoperative motion compensation is better realized. In addition, there is no requirement for the medical device itself, so it has high universality in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A flowchart of a 2D-3D medical image registration method provided by an embodiment of the present invention;
[0030] Figure 2 Schematic diagram of the training process of the ActorCritic network in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, advantages and features of the present invention clearer, the present invention is described in detail in conjunction with the accompanying drawings and specific embodiments. It should be noted that the drawings are all in a very simplified form and are not drawn to scale, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In addition, the structure shown in the drawings is often a part of the actual structure. In particular, the emphasis of each drawing is different, and sometimes different proportions are used. It should also be understood that, unless otherwise specified or indicated, the terms "first", "second", "third", etc. in the specification are only used to distinguish the various components, elements, steps, etc. in the specification, and are not used to represent the logical relationship or sequential relationship between the various components, elements, steps, etc.
[0032] like Figure 1 As shown, an embodiment of the present invention provides a 2D-3D medical image registration method for aligning and fusing 3D volume data with intraoperative 2D images. The 2D-3D medical image registration method includes the following steps:
[0033] S11, generating a projection image of the 3D volume data according to the current posture of the 3D volume data;
[0034] S12, inputting the projection image and the 2D image into a trained neural network model, and outputting multi-degree-of-freedom action values;
[0035] S13, determine whether the iteration stop condition is currently met, if so, stop the iteration, if not, calculate a 4×4 transformation matrix based on the multi-degree-of-freedom action value, use the 4×4 transformation matrix to update the posture of the 3D volume data, and repeat steps S11 to S12 to obtain the updated multi-degree-of-freedom action value.
[0036] The 2D-3D medical image registration method provided by the embodiment of the present invention inputs the projection image and 2D image of the 3D volume data into a trained neural network model to output a multi-degree-of-freedom action value, and judges whether the 3D volume data and the intraoperative 2D image are aligned and fused by the size of the output multi-degree-of-freedom action value and the preset threshold. The smaller the output multi-degree-of-freedom action value, the better the alignment and fusion effect of the 3D volume data and the intraoperative 2D image. Therefore, if one of the output multi-degree-of-freedom action values is greater than the preset threshold, it indicates that the alignment and fusion of the current 3D volume data and the intraoperative 2D image is not enough. When a 4×4 transformation matrix is calculated using the multi-degree-of-freedom action value, and the position and posture of the 3D volume data are updated using the 4×4 transformation matrix, the degree of alignment and fusion of the 3D volume data and the intraoperative 2D image becomes greater, and at the same time, the multi-degree-of-freedom action value output by the neural network model will also become smaller. In this way, when the output multi-degree-of-freedom action values are all less than the preset threshold, it means that the alignment and fusion of the 3D volume data and the intraoperative 2D image is completed. It can be seen that the 2D-3D medical image registration method provided by the embodiment of the present invention directly determines whether to stop iteration through the multi-degree-of-freedom action value of the output continuous variable. Each iteration involves multi-degree-of-freedom action transformation, so an accurate 2D-3D automatic registration result can be obtained using fewer iteration steps. Moreover, the multi-degree-of-freedom action transformation obtained in each iteration is a non-discrete value, so the registration is highly accurate and can better achieve intraoperative motion compensation. In addition, there are no requirements for the medical device itself, so it has high universality in practical applications.
[0037] For convenience, in the following description, the multi-degree-of-freedom action values output by the neural network model are all exemplified by six-degree-of-freedom action values (translation and rotation in three directions of xyz), but it should be understood that the multi-degree-of-freedom action values may also be three-degree-of-freedom action values (translation in three directions of xyz), etc., and the present application is not limited thereto.
[0038] Preferably, the 2D-3D medical image registration method provided in this embodiment is applied after determining that the 3D volume data is not aligned with the intraoperative 2D image. Specifically, before executing step S11, the following steps are first performed:
[0039] Perform blood vessel segmentation and rendering on the 3D volume data; fuse the 3D volume data after blood vessel segmentation and rendering with the intraoperative 2D data; if there is misalignment, it means that the patient has moved, and execute steps S11 to S13.
[0040] Therefore, preferably, in step S11, the 3D volume data is the 3D volume data after blood vessel segmentation and rendering.
[0041] In step S11, before generating the projection image of the 3D volume data according to the current posture of the 3D volume data, preferably, the 3D volume data is preprocessed, and the preprocessing includes: resampling the 3D volume data according to the target resolution. The target resolution is greater than the original resolution of the 3D volume data, that is, by resampling the 3D volume data, the size of the 3D volume data is reduced, which is conducive to the generation of subsequent 2D images.
[0042] In some other embodiments, if before the registration, whether the 3D volume data is aligned with the intraoperative 2D image is not determined first, or when the projection image of the 3D volume data is generated, the 3D volume data after blood vessel segmentation and rendering is not used, then before the projection image of the 3D volume data is generated, the preprocessing also includes removing at least a bed plate portion in the 3D volume data to more accurately estimate the position and posture of the 3D volume data.
[0043] In step S11 of this embodiment, the method for generating the projection image according to the current posture of the 3D volume data includes: simulating the hardware information for forming the 2D image according to the current posture of the 3D volume data, and generating the projection image with the same field of view direction and field of view range as the 2D image. The hardware information includes at least: the distance between the ray source and the plate, the distance between the ray source and the isocenter, the rotation angle of the ray source, and the position of the isocenter, and optionally, may also include: the ray semi-cone angle and / or the ray energy value.
[0044] Specifically, the modality of the preoperative 3D volume data is different from the region of interest (usually organs, tumors, and auxiliary delineation in radiotherapy), and the projection image can be generated in different ways. For example, CT data can use 2D digitally reconstructed radiograph (DRR) to generate the projection image. If only the registration of the heart part is concerned, the heart model can be segmented according to the preoperative volume data, the heart volume data can be segmented, and a 2D projection image of the heart volume data can be generated, and only the heart part is included in the 2D projection image.
[0045] In step S12, before inputting the projection image and the 2D image into the trained neural network model, it is preferred that the projection image and the 2D image are normalized according to set pixel values and interpolated to a set size, so that in step S12, when the six-degree-of-freedom action value is output using the trained neural network model, it is ensured that the projection image and the 2D image can be normally input into the trained neural network model.
[0046] In this embodiment, the set pixel value is [0-1], that is, the pixel values of the projected image and the 2D image are normalized to between [0-1] and resampled to a size of 192*192. In some other embodiments, the projected image and the 2D image can also be resampled to other sizes. The specific size of the resampling is related to the characteristics of the neural network model adopted, which will not be repeated here.
[0047] In step S12, the neural network model can be obtained by training the first neural network and the second neural network. When the number of training times reaches a set value (e.g., about 2.4 million times), the current first neural network is used as the trained neural network model. The input of the first neural network is the current state s t The current state includes a sample 2D image and a projection image of the corresponding 3D volume data, and the output of the first neural network is a six-degree-of-freedom action value a t ={t x ,t y ,t z ,θ x ,θ y ,θ z}, the input of the second neural network is the current state s t and the six-degree-of-freedom action value a t , the output is the reward value r(st,,a) for evaluating the six-degree-of-freedom action value t ). When the first neural network and the second neural network are iteratively trained to the r(s t ,,a t ) and the true value is less than a preset value, it indicates that the training of the second neural network is almost completed. If at this time, the number of training times has not reached the set value, the training continues until the training of the first neural network is completed.
[0048] like Figure 2As shown, the training of the neural network model can specifically adopt the reinforcement learning ActorCritic network solution, that is, the first neural network adopts the Actor deep learning network (hereinafter referred to as Actor), and the second neural network adopts the Critic deep learning network (hereinafter referred to as Critic), wherein the Actor is responsible for t Output six degrees of freedom action value a t ={t x ,t y ,t z ,θ x ,θ y ,θ z}, Critic is responsible for t and the six-degree-of-freedom action value a t , output the evaluation of the six-degree-of-freedom action value a t The reward value r(s t ,,a t ), Critic is only used as an auxiliary in the training process, and after the training, only Actor is used as the trained neural network model. Specifically, the first neural network can adopt a convolutional neural network, such as a residual network Resnet, etc., which is not limited in this application.
[0049] In this embodiment, the training process may use experience replay commonly used in reinforcement learning, including the following steps:
[0050] (1) Create a buffer space;
[0051] (2) Initialize the 2D-3D registration environment;
[0052] (3) The Actor interacts with the environment and determines the current state s t Returns the six-degree-of-freedom action value a t , get the environmental feedback reward value r t+1 and the next state s t+1 . Record experience value {s t ,a t ,r t+1 ,s t+1} and save it to Buffer.
[0053] (4) If the alignment state is achieved under the interaction between the Actor and the environment, or the number of iterations is greater than a preset value (for example, it can be set to 200), return to step (2).
[0054] (5) When the buffer records a certain number of experience values, the experience values of the specified data are randomly sampled to form a data set (batch) for Actor and Critic training.
[0055] (6) When the buffer is full, the new experience value overwrites the old experience value. The experience value collection process (steps 2, 3, and 4) is repeated until the end of training. During this period, the experience in the buffer is constantly updated, and the actors that interact with the environment are also constantly updated with training. The r in the collected experience value will also change from being chaotic to being basically positive, indicating that the actions performed by the actors are reasonable.
[0056] In this implementation, the environment feedback reward value r t+1 It is defined as the degree of reduction of the distance D between the 3D volume data transformation matrix and the gold standard transformation matrix after the action is performed, also known as the gold standard reward value r g If it is close to the gold standard transformation matrix, then r g is positive, otherwise it is negative. g The calculation formula is as follows:
[0057] r g =D(T g , T t )-D(T g , T t+1 )
[0058] Among them, t represents the current time, a t Indicates the current action, T g represents the gold standard matrix, T t represents the transformation matrix at the current moment, a t ·T t Represents the transformation matrix at the next moment, and D represents the distance between the two input transformation matrices.
[0059] The next moment transformation matrix T t+1 From the current moment a t With the current time T t Multiply them together and we get:
[0060] T t+1 =a t ·T t
[0061] Among them, a t For the current action.
[0062] That is, r g The formula is further as follows:
[0063] r g =D(T g , T t )-D(T g , a t ·T t )
[0064] During training, the training data set includes: a number of 2D images, 3D volume data corresponding to each 2D image, and an initial transformation matrix T of the 3D volume data corresponding to each 2D image. s In theory, 3D volume data can be s After that, the projection image of the 3D volume data is registered with the target 2D image. Therefore, if the irradiated object does not move after the 3D volume data is scanned, then T s is the unit matrix, and the projection image of the 3D volume data and the 2D image are always aligned. In step (2), each time the 2D-3D registration environment is initialized, the target 2D image and the corresponding 3D volume data are selected from the training data set, and the initial training pose T of the volume data is set. s_train , T s_train T s Based on this, a certain random rotation and translation are performed (for example, it can be set to random translation ±20mm, rotation ±20°), and finally the gold standard transformation matrix T is calculated. g , that is, 3D volume data in T s_train Based on the implementation of T g After the transformation, the projected image is aligned with the target 2D image.
[0065] In practical applications, the training data set can be continuously updated. For example, the latest X-ray images of patients and corresponding CT volume data can be obtained from the hospital from time to time to update the training data set, thereby improving the accuracy of model training.
[0066] In addition, the loss function used in the training process can include two parts: critic_loss and actor_loss, which are respectively for the training of the critic and actor networks. Where critic_loss is the target reward value (i.e. the gold standard reward value r mentioned above). g ) and the reward value Critic(batch.st,batch.at) output by Critic; actor_loss is the mean function of the negative of the reward value evaluated by Critic. The formulas of critic_loss and actor_loss are as follows:
[0067] critic_loss=MSE_loss(Critic(batch.st,batch.at),r g )
[0068] actor_loss=-mean(Critic(batch.st,Actor(batch.st)))
[0069] Among them, batch is the experience batch extracted from the above experience playback buffer, r g is the gold standard reward value.
[0070] The loss values calculated by the above two loss functions are used to continuously adjust the model parameters of Critic and Actor. As a result, as the training progresses, the reward value evaluated by the Critic network will become closer and closer to the true value, and the Actor network will gradually tend to output actions that make the Critic reward value high.
[0071] The neural network model in step S12 can be trained in advance using the above method, so that when performing 2D-3D medical image registration, after the intraoperative 2D image and the projection image of the corresponding 3D volume data are input into the trained neural network model, the six-degree-of-freedom action value of the direct output continuous variable can be output, so that in step S13, it can be determined whether the 2D-3D medical image registration is completed according to the six-degree-of-freedom action value. If it is determined that the six-degree-of-freedom action values are all less than a preset threshold (for example, 0.01), it means that the 2D-3D medical image registration is completed and the iteration is stopped. If it is determined that one or more of the six-degree-of-freedom action values are not less than the preset threshold, a 4×4 transformation matrix is calculated based on the six-degree-of-freedom action value currently output, and the posture of the 3D volume data is updated using the 4×4 transformation matrix, and steps S11 to S12 are repeated until the six-degree-of-freedom action values are all less than the preset threshold, wherein the calculation formula of the 4×4 transformation matrix (the calculation formula is an example of the calculation of the six-degree-of-freedom action value) is as follows:
[0072]
[0073] Wherein, c represents the cosine function cos, and s represents the sine function sin. In some other embodiments, the iteration stop condition also includes: the number of iterations reaches a preset number (for example, 20 times). When the number of iterations reaches the preset number, if the six-degree-of-freedom action values still do not meet the requirements of being less than the preset threshold, the pose of the 3D volume data is output.
[0074] This embodiment further provides a 2D-3D medical image registration device, which includes: a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the 2D-3D medical image registration method described in this embodiment is implemented.
[0075] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0076] The memory can be used to store the computer program, and the processor realizes various functions of the server side by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0077] This embodiment further provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the 2D-3D medical image registration method described in this embodiment is implemented.
[0078] The readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device, such as, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, and any suitable combination of the above.
[0079] In summary, the 2D-3D medical image registration method, device and readable storage medium provided by the present invention include: generating a projection image of the 3D volume data according to the current posture of the 3D volume data; inputting the projection image and the intraoperative 2D image into a trained neural network model, and outputting a multi-degree-of-freedom action value; judging whether the current iteration stop condition is met, if so, stopping the iteration, if not, calculating a 4×4 transformation matrix based on the multi-degree-of-freedom action value, using the 4×4 transformation matrix to update the posture of the 3D volume data, and generating the updated projection image of the 3D volume data, and inputting the regenerated projection image and the 2D image into the neural network model to update the multi-degree-of-freedom action value until the iteration stop condition is met. That is, whether to stop the iteration is directly judged by the multi-degree-of-freedom action value of the output continuous variable, and each iteration involves the multi-degree-of-freedom action transformation, so the 2D-3D automatic registration result can be obtained by using a small number of iteration steps. Moreover, each iteration obtains a non-discrete value of the multi-degree-of-freedom action transformation, so the registration is highly accurate, and intraoperative motion compensation is better achieved. In addition, there are no requirements for the medical device itself, so it has high universality in practical applications.
[0080] In addition, it should be recognized that although the present invention has been disclosed as a preferred embodiment, the above embodiment is not intended to limit the present invention. For any technician familiar with the art, without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make many possible changes and modifications to the technical solution of the present invention, or modified into equivalent embodiments of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still belongs to the scope of protection of the technical solution of the present invention.
Claims
1. A 2D-3D medical image registration method, characterized in that: include: In the case where the 3D volume data is not aligned with the intraoperative 2D image, generating a projection image of the 3D volume data according to the current position and posture of the 3D volume data; the projection image has the same field of view direction and the same field of view range as the intraoperative 2D image; and the projection image is a 2D image; Inputting the projection image and the intraoperative 2D image into a trained neural network model, and outputting multi-degree-of-freedom action values; Determine whether an iteration stop condition is currently met, if so, stop the iteration, if not, calculate a 4×4 transformation matrix based on the multi-degree-of-freedom action value, use the 4×4 transformation matrix to update the pose of the 3D volume data, generate an updated projection image of the 3D volume data, and input the regenerated projection image and the 2D image into the neural network model to update the multi-degree-of-freedom action value until the iteration stop condition is met, and the iteration stop condition includes: the multi-degree-of-freedom action values are all less than a preset threshold; The neural network model is obtained by training the first neural network and the second neural network; the input of the first neural network is the current state S t The current state includes a sample 2D image and a projection image of the corresponding 3D volume data, and the output of the first neural network is a six-degree-of-freedom action value a t ={t x ,t y ,t z ,θ x ,θ y ,θ z }, the input of the second neural network is the current state S t and the six-degree-of-freedom action value a t , the output is to evaluate the six-degree-of-freedom action value a t The reward value r(S t , a t ).
2. The 2D-3D medical image registration method according to claim 1, characterized in that: The first neural network adopts an Actor deep learning network, and the second neural network adopts a Critic deep learning network.
3. The 2D-3D medical image registration method according to claim 1, characterized in that: Before generating a projection image of the 3D volume data according to the current posture of the 3D volume data, the 2D-3D medical image registration method further includes: resampling the 3D volume data according to a target resolution to reduce the size of the 3D volume data.
4. The 2D-3D medical image registration method according to claim 1, characterized in that: The method for generating the projection image according to the current posture of the 3D volume data comprises: According to the current position and posture of the 3D volume data, the hardware information for forming the 2D image is simulated to generate the projection image having the same field of view direction and the same field of view range as the 2D image.
5. The 2D-3D medical image registration method according to claim 4, characterized in that: The hardware information at least includes: the distance between the ray source and the plate, the distance between the ray source and the isocenter, the rotation angle of the ray source and the isocenter position.
6. The 2D-3D medical image registration method according to claim 1, characterized in that: Before inputting the projection image and the 2D image into a trained neural network model and outputting multi-degree-of-freedom action values, the 2D-3D medical image registration method further includes: The projection image and the 2D image are normalized according to set pixel values and resampled to a set size.
7. The 2D-3D medical image registration method according to claim 1, characterized in that: The six-degree-of-freedom action value represents translation and rotation in three directions of xyz.
8. The 2D-3D medical image registration method according to claim 1, characterized in that: The 3D volume data is CT data.
9. A 2D-3D medical image registration device, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the 2D-3D medical image registration method according to any one of claims 1 to 8 is executed.
10. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is executed, the 2D-3D medical image registration method according to any one of claims 1 to 8 is executed.
Citation Information
Patent Citations
Method and system for image registration using an intelligent artificial agent
CN107403446A
