A 3D medical image registration method based on unsupervised deep learning

A multi-modal coding arm is constructed through unsupervised deep learning methods to achieve label-free, multi-modal registration of medical images, solving the problems of difficulty in data labeling and limited scope of application in the existing technology, and improving the robustness of registration. and accuracy, and improves the interpretability of the model.

CN118570269BActive Publication Date: 2024-10-18HAICHUANG FUTURE (HANGZHOU) MEDICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411052843.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-10-18
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

Existing medical image registration methods based on deep learning require a large amount of annotated data, their scope of application is limited to specific human body parts and image modalities, and the model's interpretability and robustness are insufficient.

Method used

An unsupervised deep learning method is used to construct a coding arm suitable for different image modalities. The registration model is trained by uniformly mixing multiple image modality data, and the feature fusion and decoding module is used to predict the deformation field for registration to achieve multi-modality Precise registration of images.

Benefits of technology

It does not require high-quality annotated data and is suitable for multi-modal data registration of various parts of the human body. It has strong robustness, high accuracy, and the model has a certain interpretability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570269B_ABST
    Figure CN118570269B_ABST
Patent Text Reader

Abstract

The present invention discloses a three-dimensional medical image registration method based on unsupervised deep learning, which relates to image processing technology. The method comprises: constructing different types of coding arms applicable to different image modalities, and constructing a registration model applicable to three-dimensional medical images of different image modalities based on the different types of coding arms applicable to different image modalities; using a training set of three-dimensional medical image data pairs of various image modalities that have been evenly mixed, the registration model is trained to obtain a trained registration model; and when the trained registration model is used for registration, the moving image and the fixed image in the three-dimensional medical image data pair to be registered are respectively input to the coding arms applicable to the respective image modalities to obtain the deformation field predicted by the trained registration model, and then the registered moving image is obtained based on the deformation field. The present invention does not require standard data and is applicable to the registration of multiple modality data of various parts of the human body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to image processing technology, and in particular to a three-dimensional medical image registration method based on unsupervised deep learning. Background Art

[0002] Three-dimensional medical image registration technology has considerable value in clinical medicine, medical research, and medical education, and is of great significance for improving medical quality, improving medical efficiency, and promoting medical development.

[0003] The registration input is two images, one is a fixed image that does not move, and the other is a moving image that can move. The purpose of the registration is to achieve complete alignment of the two images by moving.

[0004] Traditional medical image registration technology mainly uses methods based on feature point matching, such as extracting points, lines, surfaces and other features in medical images, and matching these features to achieve image registration. For complex medical images, this method has poor robustness, large errors, and unsatisfactory registration results.

[0005] With the development of computer technology, image registration methods based on deep learning have begun to attract attention. This method can improve the accuracy and efficiency of registration. Image registration methods based on deep learning are generally divided into two categories. One is the image registration method based on supervised deep learning. This method requires a large amount of high-quality annotated data, but it is difficult to obtain a large amount of high-quality annotated data. In addition, the interpretability of the model needs to be improved. The other is the image registration method based on unsupervised deep learning. This method is mostly limited to a specific part (such as the head) or a specific modality data pair. In addition, the interpretability and robustness of the model are relatively general. Summary of the invention

[0006] The present invention provides a three-dimensional medical image registration method based on unsupervised deep learning, which solves the problems that the existing image registration methods based on deep learning require standard data and are limited in applicable human body parts and image modalities.

[0007] The present invention provides a three-dimensional medical image registration method based on unsupervised deep learning, comprising: constructing different types of coding arms suitable for different image modalities, and constructing a registration model suitable for three-dimensional medical images of different image modalities based on the different types of coding arms suitable for different image modalities; using a training set of three-dimensional medical image data pairs of various image modalities that have been evenly mixed, training the registration model suitable for three-dimensional medical images of different image modalities to obtain a trained registration model; and when using the trained registration model for registration, respectively inputting a moving image and a fixed image in the three-dimensional medical image data pair to be registered into the coding arms suitable for the respective image modalities in the different types of coding arms of the trained registration model, so as to obtain a deformation field predicted by the trained registration model, and then obtaining a registered moving image based on the deformation field predicted by the trained registration model.

[0008] Preferably, the image modalities include CT modality, MR modality, and TR image modality in PET.

[0009] Preferably, different types of encoding arms of the registration model share a feature fusion module and a decoding arm; wherein the different types of encoding arms have the same structure but different parameters, and are all multi-scale feature encoding arms formed by cascading multiple Swin-transformer blocks; the decoding arm is a multi-scale feature decoding arm formed by cascading multiple upsampling decoding blocks at the same level as the encoding arm.

[0010] Preferably, the training of the registration model applicable to three-dimensional medical images of different image modalities using a training set of three-dimensional medical image data pairs in which various image modalities have been uniformly mixed comprises: in each iteration of each epoch training, selecting a coding arm corresponding to the image modality of the fixed image from the different types of coding arms according to the image modality of the fixed image in the three-dimensional medical image data pair to be trained, encoding the fixed image using the coding arm corresponding to the image modality of the selected fixed image, and obtaining a multi-scale coding feature of the fixed image; selecting a coding arm corresponding to the image modality of the mobile image from the different types of coding arms according to the image modality of the mobile image in the three-dimensional medical image data pair to be trained, The moving image is encoded by using the encoding arm corresponding to the image modality of the selected moving image to obtain the multi-scale encoding features of the moving image; the multi-scale encoding features of the fixed image and the multi-scale encoding features of the moving image are fused with the feature fusion module to obtain the multi-scale fused encoding features; the multi-scale fused encoding features are decoded by using the decoding arm to obtain the deformation field; a multi-scale unsupervised loss function is constructed by using the deformation field, the fixed image and the multi-scale encoding features of the fixed image, and the moving image and the multi-scale encoding features of the moving image; based on the multi-scale unsupervised loss function, the model training loss of the registration model is determined to update the weight of the registration model.

[0011] Preferably, the using the feature fusion module to fuse the multi-scale coding features of the fixed image and the multi-scale coding features of the moving image with the same-scale features to obtain the multi-scale fused coding features includes: performing splicing and feature fusion operations on the multi-scale coding features of the fixed image and the multi-scale coding features of the moving image with the same-scale features to obtain the multi-scale fused coding features.

[0012] Preferably, the multi-scale unsupervised loss function includes a first loss function and a second loss function based on same-scale features; the use of the deformation field, the fixed image and the multi-scale coding features of the fixed image, the moving image and the multi-scale coding features of the moving image to construct the multi-scale unsupervised loss function includes: using the deformation field, respectively registering the moving image and the multi-scale coding feature map of the moving image to obtain the registered moving image and the multi-scale coding feature map of the registered moving image; constructing a first loss function based on the fixed image and the registered moving image; constructing a second loss function based on same-scale features based on the multi-scale coding features of the fixed image and the multi-scale coding feature map of the registered moving image.

[0013] Preferably, the first loss function is the inverse of a mutual information function between the fixed image and the registered moving image.

[0014] Preferably, the second loss function based on same-scale features is the inverse of the mutual information function of same-scale features in the multi-scale coded feature map of the fixed image and the registered moving image.

[0015] Preferably, determining the model training loss of the registration model based on the multi-scale unsupervised loss function includes: weighting the loss value of the first loss function and the loss value of the second loss function based on the same-scale features to obtain the weighted loss as the model training loss of the registration model.

[0016] The present invention provides a three-dimensional medical image registration method based on unsupervised deep learning. The method does not require standard data and is suitable for the registration of multiple modality data of various parts of the human body. It has strong robustness and high accuracy, and the model has certain interpretability. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a first flow chart of a three-dimensional medical image registration method based on unsupervised deep learning provided by the present invention;

[0018] Figure 2 is a second flow chart of the three-dimensional medical image registration method based on unsupervised deep learning provided by the present invention;

[0019] Figure 3 It is a schematic diagram of the structure of the registration model (Two-Arm RegNet) provided by the present invention;

[0020] Figure 4 yes Figure 3 A schematic diagram of the structure of the encoding module in the registration module shown;

[0021] Figure 5 yes Figure 3 A schematic diagram of the structure of a decoding module in the registration module shown;

[0022] Figure 6 yes Figure 3 A schematic diagram of the structure of the feature fusion module in the registration module shown;

[0023] Figure 7 It is a schematic diagram of the model training process;

[0024] Figure 8 yes Figure 7 Schematic diagram of the process of one epoch training;

[0025] Fig. 9 It is a schematic diagram of the data list of the data generator;

[0026] Fig.10 It is a schematic diagram of the multi-scale unsupervised loss function. DETAILED DESCRIPTION

[0027] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0028] In the following description, the suffixes such as "module", "arm", etc. used to represent the model structure are only used to facilitate the description of the present invention and have no special meaning. Therefore, "module", "arm", etc. can be used mixedly.

[0029] The present invention provides a three-dimensional medical image registration method based on unsupervised deep learning. The method utilizes the strong feature learning ability of deep learning to self-learn the associated features of multimodal images to achieve accurate registration of multimodal images. It does not require high-quality labeled data, has strong robustness and accuracy, and the model has a certain degree of interpretability.

[0030] See also Figure 1 , a 3D medical image registration method based on unsupervised deep learning may include:

[0031] Step S101: construct different types of coding arms applicable to different image modalities, so as to construct a registration model applicable to three-dimensional medical images of different image modalities based on the different types of coding arms applicable to different image modalities.

[0032] The image modality may include CT (Computed Tomography) modality, MR (Nuclear Magnetic Resonance) modality, and TR image (Transmission Image) modality in PET (Positron Emission Computed Tomography) (hereinafter referred to as TR modality for the sake of convenience), wherein the TR image is a CT-like image, but the beam energy is higher than CT, and the soft tissue resolution is extremely poor. Accordingly, the present invention constructs different types of encoding arms, which may be specifically to construct encoding arms suitable for CT modality, encoding arms suitable for MR modality, and encoding arms suitable for TR modality, respectively. These different types of encoding arms have the same network structure, but different weight parameters, so that different types of encoding arms with the same network structure are suitable for different image modalities.

[0033] It should be pointed out that the present invention is not limited to the above-mentioned image modalities. With the expansion of applications and the development of technology, new image modalities applicable to the registration technology may appear. At this time, a coding arm suitable for the new image modality can be constructed. By expanding the coding arm suitable for the new image modality, the scope of application of the registration model can be expanded.

[0034] In the registration model applicable to three-dimensional medical images of different image modalities, the above-mentioned different types of encoding arms can share a feature fusion module and a decoding arm.

[0035] In one embodiment, each encoding arm is a multi-scale feature encoding arm formed by cascading multiple feature extraction blocks, and the feature extraction block is a Swin-transformer block; the decoding arm is a multi-scale feature decoding arm formed by cascading multiple upsampling decoding blocks at the same level as the encoding arm.

[0036] Step S102: using a training set in which three-dimensional medical image data pairs of various image modalities are uniformly mixed, training a registration model applicable to three-dimensional medical images of different image modalities to obtain a trained registration model.

[0037] Since the registration model applicable to three-dimensional medical images of different image modalities contains different types of coding arms applicable to different image modalities, the model training process needs to train each type of coding arm. For this reason, the training set of the present invention can have three-dimensional medical image data pairs of various image modalities. Taking the above three image modalities as an example, the data pairs in the training set can be CT / CT, CT / MR, CT / TR, MR / MR, MR / CT, MR / TR, TR / TR, TR / CT, TR / MR, wherein the image modality before the “ / ” is the image modality of the moving image, and the image modality after the “ / ” is the image modality of the fixed image. In addition, the three-dimensional medical image data pairs of various image modalities in the training set are evenly mixed to ensure that several images in the adjacent data pairs contain CT modality, MR modality, and TR modality.

[0038] In each iteration training of each epoch training, according to the image modality of the fixed image in the three-dimensional medical image data pair to be trained, the encoding arm corresponding to the image modality of the fixed image is selected from the different types of encoding arms, so that the fixed image is encoded by using the encoding arm corresponding to the image modality of the selected fixed image, and the multi-scale encoding features f0_fix, f1_fix, ..., fk_fix of the fixed image are obtained; according to the image modality of the moving image in the three-dimensional medical image data pair to be trained, the encoding arm corresponding to the image modality of the moving image is selected from the different types of encoding arms, so that the moving image is encoded by using the encoding arm corresponding to the image modality of the selected moving image, and the multi-scale encoding features f0_move, f1_move, ..., fk_move of the moving image are obtained; and the multi-scale encoding features f0_fix, f1_fix, ..., fk_move of the fixed image are fused by using the feature fusion module. _fix and the multi-scale coding features f0_move, f1_move, ..., fk_move of the moving image are fused with the same-scale features to obtain the multi-scale fusion coding features f0_fusion, f1_fusion, ..., fk_fusion; the multi-scale fusion coding features f0_fusion, f1_fusion, ..., fk_fusion are decoded by the decoding arm to obtain the deformation field P; a multi-scale unsupervised loss function is constructed by using the deformation field P, the fixed image and the multi-scale coding features f0_fix, f1_fix, ..., fk_fix of the fixed image, the moving image and the multi-scale coding features f0_move, f1_move, ..., fk_move of the moving image; based on the multi-scale unsupervised loss function, the model training loss of the registration model is determined to update the weight parameters of the registration model. Wherein, k indicates the number of levels / layers of the encoding arm and the decoding arm, for example, k=4, the encoding arm has 5 encoding layers, and the decoding arm has 5 decoding layers.

[0039] Among them, the multi-scale coding features f0_fix, f1_fix, ..., fk_fix of the fixed image and the multi-scale coding features f0_move, f1_move, ..., fk_move of the moving image are spliced ​​and fused to obtain multi-scale fused coding features f0_fusion, f1_fusion, ..., fk_fusion. Taking the same-scale coding features f0_fix and f0_move as examples, the two are first spliced ​​and then the spliced ​​coding features are fused to obtain the same-scale fused coding features f0_fusion. In the same way, f1_fusion, ..., fk_fusion can be obtained in sequence.

[0040] Wherein, the multi-scale unsupervised loss function includes a first loss function and a second loss function based on the same-scale features. Using the deformation field P, the moving image and the multi-scale coding feature map f0_move, f1_move, ..., fk_move of the moving image are respectively registered to obtain the registered moving image and the multi-scale coding feature map P@f0_move, P@f1_move, ..., P@fk_move of the registered moving image; according to the fixed image and the registered moving image, a first loss function is constructed, specifically, the inverse of the mutual information function of the fixed image and the registered moving image; according to the multi-scale coding feature f0_fix of the fixed image ,f1_fix,...,fk_fix and the multi-scale coding feature map P@f0_move,P@f1_move,...,P@fk_move of the registered moving image, construct a second loss function based on the same-scale features, specifically, the inverse of the mutual information function of the same-scale features in the multi-scale coding features f0_fix,f1_fix,...,fk_fix of the fixed image and the multi-scale coding feature map P@f0_move,P@f1_move,...,P@fk_move of the registered moving image.

[0041] The loss value of the first loss function and the loss value of the second loss function based on the same-scale features are weighted to obtain a weighted loss as the model training loss of the registration model.

[0042] Based on different epoch numbers, learning rates, and decay rates, multiple trained registration models with different weight parameters can be obtained. The present invention tests multiple trained registration models and selects a trained registration model with optimal weight parameters from multiple registration models to apply to actual registration. After multiple registered moving images are obtained based on multiple trained registration models, there are two testing methods. One is manual testing, that is, experts score multiple registered moving images, and the registration model corresponding to the registered moving image with the highest score is used as the registration model with the optimal weight parameters. The other is an automatic testing method, which requires annotated standard images, so that the Diess coefficients between multiple registered moving images and the annotated standard images can be calculated respectively, and the registration model corresponding to the maximum Diess coefficient is used as the registration model with the optimal weight parameters.

[0043] Step S103: When using the trained registration model for actual registration, the moving image and the fixed image in the three-dimensional medical image data pair to be registered are respectively input into the different types of coding arms of the trained registration model that are suitable for the respective image modalities, so as to obtain the deformation field predicted by the trained registration model, and then obtain the registered moving image based on the deformation field predicted by the trained registration model.

[0044] The present invention adopts an unsupervised deep learning method for alignment and does not require standard data. In addition, since it has different types of encoding arms suitable for different image modalities, it is suitable for the alignment of multiple modality data and is suitable for all parts of the human body. It has strong robustness, high accuracy, and the model has a certain degree of interpretability.

[0045] The following is combined with Figure 2 -Attached Fig.10 , the present invention is described in detail.

[0046] See also Figure 2 , a three-dimensional medical image registration method based on unsupervised deep learning of the present invention may include the following four processes:

[0047] Step S201: Data preparation.

[0048] In the data preparation stage, data collection is completed and data preprocessing is performed.

[0049] 1. Collect a large amount of unlabeled data of different modalities of patients, including paired multimodal data of various parts of the body, such as CT / CT data, CT / MR data, and MR / MR data.

[0050] 2. Convert the collected paired multimodal data from DICOM format to NIFTI format.

[0051] 3. Perform data preprocessing, including resolution resampling, unification of image origin and coordinate system direction, etc.

[0052] Step S202: Deep learning model establishment.

[0053] In the deep learning model establishment stage, the present invention provides a new registration model, which has multiple encoding arms, and multiple encoding arms share one decoding arm, thereby forming a structure with multiple input paths and a single output path. Among them, each encoding arm (or input arm) corresponds to an image modality, and the decoding arm (or output arm) outputs the registration deformation field.

[0054] See also Figure 3The present invention provides a multi-arm structure neural network model, in which there are multiple types of encoding arms, corresponding to image data of different image modalities. For example, a CT image has a CT type encoding arm, an MR image has an MR type encoding arm, and a TR image in a PET image has a TR type encoding arm. During registration, the fixed image (or fix, fix image) and the moving image (or move, move image) are respectively encoded using encoding modules (or encoding arms) corresponding to their respective image modalities. In the encoding module, Figure 4 As shown, the feature extraction block (Swin-transformerblock) is used as the basic coding layer, and a multi-scale feature coding arm is formed through a 5-level cascade. In this way, the fix image is processed by the coding module corresponding to its image modality to output the multi-scale coding features f0-f4 of the fix image, and the move image is processed by the coding module corresponding to its image modality to output the multi-scale coding features f0-f4 of the move image. After the fix image and the move image are encoded by the coding modules corresponding to their respective image modalities and output the multi-scale coding features f0-f4, the two sets of coding features are passed to the feature fusion module for fusion and merging of the same-scale features, and the fused and merged coding features (f0-f4) are output. In the feature fusion module, see Figure 6 , the coding features of the same scale, such as the f0 feature of the fix image and the f0 feature of the move image, will first be concatenated in the channel dimension to form a feature of 24*2=48 channels, and the feature will be sent to a convolutional feature fusion module for feature fusion, and finally the fused coding feature f0 will be output. The fused coding feature f0 combines the f0 features of the first scale of the fix image and the move image. Similarly, the same operation is performed on the features f1-f4 of other scales, and the fused coding features f1-f4 are output. Finally, the fused coding features f0-f4 are decoded by the decoding module, see Figure 5 , output the predicted deformation field, which is a deformation field with 3 channels. In the decoding module, the pyramid structure is also used for decoding once, and the upsample decoder block is used as the basic decoding layer, and a multi-scale feature decoding arm is formed through 5-level cascading.

[0055] The entire registration model has multiple types of encoding modules, but each time the registration is performed, the corresponding encoding modules are selected as the encoding arms (or fixed arms) of the fix images and the encoding arms (or mobile arms) of the move images according to the image modality types of the fix images and move images input during the registration, forming a feature module with a dual-arm structure. The fusion features are then spliced ​​and fused at different scales in the feature fusion module, and finally the multi-scale pyramid structure is decoded at each scale in the decoding module. Therefore, the registration model can simultaneously register multiple modality images. For example, when a CT image is registered to a CT image, both the mobile arm and the fixed arm sample CT-type encoding modules. For example, when a CT image is registered to an MR image, the mobile arm and the fixed arm use CT-type encoding modules and MR-type encoding modules respectively. Similar operations can be performed on other inputs.

[0056] Step S203: model training.

[0057] In the model training phase, we first import a large amount of prepared unlabeled multimodal image data and enhance the data. The enhancement algorithm includes but is not limited to the introduction of random Gaussian noise, random adjustment of image contrast, random stretching or compression of image grayscale domain, and random affine transformation. By reasonably modifying the data through data enhancement, the model can see different data and improve the robustness of the model. Secondly, multiple modal pairs of data are cross-trained, and the loss function uses the image mutual information function. Among them, mutual information is a widely used similarity measure with high accuracy and robustness.

[0058] See also Figure 7 The model training process is as follows: after starting the training, epoch training is performed. When the epoch training is valid, the next epoch training is performed until the epoch training is invalid or the set epoch number is reached. Figure 8 In each training process of each epoch, in the forward propagation of the model, the data pairs, such as CT / MR, CT / CT, MR / MR, etc., are input into the network to obtain the deformation field, and the move image and its multi-scale coding features are deformed to obtain the registered move image and the multi-scale coding features of the registered move image. In the backward propagation of the model, the loss and gradient are calculated according to the fix image and its multi-scale coding features and the registered move image and its multi-scale coding features, and then the model weights are updated. The above process is repeated until all data pairs in the training set are trained once.

[0059] It should be noted that, since the registration model of the present invention contains multiple types of encoders, which are respectively suitable for different image modalities, the training process is different from the general deep learning training process, that is, it is necessary to train each type of encoder. To this end, in each epoch training, combined data training is performed for each iterative training to ensure that each type of encoding arm will be trained in one iterative training process, so this data combination should include all data types. Taking the training of two types of encoding arms, CT and MR, as an example, this data combination can be a [CT / MR] combination, [CT / CT, MR / MR] combination, [CT / MR, MR / MR] combination, etc. The minimum batch size of training must be greater than or equal to 2. During training, both CT images and MR images are imported into the registration model for each training, thereby ensuring that all types of data pairs will be read in each training. To this end, the present invention provides a customized training data generator for evenly mixing data pairs / image pairs of various modalities, see Fig. 9 In the data list of the data generator shown, the four images in any two adjacent data pairs have both CT data and MR data.

[0060] In the present invention, the model training uses the negative of the local mutual information as the loss function, see Fig.10 , the model output loss (or model training loss) consists of the following 6 loss functions: loss function 0-loss function 5:

[0061] loss0=-mi(f0_fix,P@f0_move)

[0062] loss1=-mi(f1_fix,P@f1_move)

[0063] loss2=-mi(f2_fix,P@f2_move)

[0064] loss3=-mi(f3_fix,P@f3_move)

[0065] loss4=-mi(f4_fix,P@f4_move)

[0066] loss5=-mi(fix,P@move)

[0067] Among them, fix, f0_fix, f1_fix, f2_fix, f3_fix, and f4_fix are 5 coded feature maps of different scales output by the 5 coding layers of the fix image and the coding arm corresponding to the fix image respectively; move, f0_move, f1_move, f2_move, f3_move, and f4_move are 5 coded feature maps of different scales output by the 5 coding layers of the move image and the coding arm corresponding to the move image respectively; P@move, P@f0_move, P@f1_move, P@f2_move, P@f3_move, and P@f4_move are the move image and the coded feature maps of 5 different scales after the registration transformation using the deformation field to register the move image and the coded feature maps of 5 different scales of the move image and the coded feature maps of 5 different scales after the registration transformation respectively; P is the deformation field predicted by the registration model; mi is the mutual information.

[0068] The model training loss function is the weighted sum of 6 losses from loss0 to loss5, with weights of 1, 2, 3, 4, 5, and 10. Adam is used as the optimizer for model training. Through GPU cluster training, a robust and accurate registration image registration is finally obtained, which is suitable for multiple modality combinations such as CT / CT, CT / MR, and MR / MR.

[0069] Step S203: Model testing.

[0070] In the model testing stage, at least one of manual testing and automatic testing may be used to test the registration effect of the registration model, or more precisely, to evaluate the accuracy of the deformation field predicted by the registration model.

[0071] 1. Manual Testing

[0072] The registration test was performed using the prepared test data (unlabeled multi-image modality 3D medical images). Experienced physicians manually evaluated the registered images and selected the optimal registration model through manual scoring.

[0073] 2. Automated testing

[0074] The registration test is performed using the prepared test data (three-dimensional medical images with multiple image modalities that have been annotated), and the registration performance is automatically evaluated by calculating the registration index such as the Dice coefficient to select the best registration model. Specifically, the three-dimensional medical images with multiple image modalities that have been annotated refer to images in which multiple structures have been annotated, such as the liver, kidney, spleen, etc. of the abdominal organs, and the masks of these organs are annotated on both the fix image and the move image. Before registration, the organ masks on the fix image and the organ masks on the move image do not match. After the model is registered, the deformation field is output, and the deformation field is used to move the move image to obtain the registered moving image. The registration index such as the Dice coefficient is used to evaluate the matching degree between the mask of the organ on the registered moving image and the mask of the organ on the fix image, that is, the degree of overlap between the two.

[0075] After selecting the best registration model, the model can be applied to actual registration work.

[0076] In summary, the present invention has the following advantages:

[0077] 1. A registration model of the present invention is suitable for the registration of three-dimensional medical images of multiple image modalities, such as the registration of multiple image modalities of CT and MR, CT and CT, MR and MR, CT and TR, MR and TR, TR and TR, and is applicable to all parts of the human body, which improves the use scenario of the registration model. Compared with the registration model of a single group of modalities, it has higher robustness and accuracy, and saves registration resources;

[0078] 2. The present invention does not require data annotation, feature point annotation of multimodal data or manual registration to obtain affine registration parameters;

[0079] 3. The registration model of the present invention has a certain degree of interpretability.

[0080] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the present invention is not limited thereby. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present invention shall be within the scope of the present invention.

Claims

1. A three-dimensional medical image registration method based on unsupervised deep learning, characterized in that: The method comprises: Constructing different types of coding arms suitable for different image modalities, so as to construct a registration model suitable for three-dimensional medical images of different image modalities based on the different types of coding arms suitable for different image modalities; Using a training set of three-dimensional medical image data pairs of various image modalities uniformly mixed, a registration model applicable to three-dimensional medical images of different image modalities is trained to obtain a trained registration model; When performing registration using the trained registration model, the moving image and the fixed image in the three-dimensional medical image data pair to be registered are respectively input into the different types of encoding arms of the trained registration model that are suitable for the respective image modalities, so as to obtain the deformation field predicted by the trained registration model, and then obtain the registered moving image based on the deformation field predicted by the trained registration model; The different types of encoding arms of the registration model share a feature fusion module and a decoding arm; the different types of encoding arms have the same structure but different parameters, and are all multi-scale feature encoding arms formed by cascading multiple Swin-transformer blocks; the decoding arm is a multi-scale feature decoding arm formed by cascading multiple upsampling decoding blocks at the same level as the encoding arm; The method of using a training set of three-dimensional medical image data pairs of various image modalities to train a registration model suitable for three-dimensional medical images of different image modalities includes: in each iteration of each epoch training, according to the image modality of the fixed image in the three-dimensional medical image data pair to be trained, selecting a coding arm corresponding to the image modality of the fixed image from the different types of coding arms, and encoding the fixed image using the coding arm corresponding to the image modality of the selected fixed image to obtain a multi-scale coding feature of the fixed image; according to the image modality of the moving image in the three-dimensional medical image data pair to be trained, selecting a coding arm corresponding to the image modality of the moving image from the different types of coding arms, and encoding the fixed image using the coding arm corresponding to the image modality of the selected moving image to obtain a multi-scale coding feature of the fixed image. The encoding arm corresponding to the image modality encodes the moving image to obtain the multi-scale encoding features of the moving image; the feature fusion module is used to fuse the multi-scale encoding features of the fixed image and the multi-scale encoding features of the moving image to obtain the multi-scale fused encoding features; the decoding arm is used to decode the multi-scale fused encoding features to obtain the deformation field; the deformation field, the fixed image and the multi-scale encoding features of the fixed image, the moving image and the multi-scale encoding features of the moving image are used to construct a multi-scale unsupervised loss function including a first loss function and a second loss function based on the same-scale features; based on the multi-scale unsupervised loss function, the model training loss of the registration model is determined to update the weight of the registration model; Among them, the use of deformation field, fixed image and multi-scale coding features of fixed image, moving image and multi-scale coding features of moving image to construct a multi-scale unsupervised loss function including a first loss function and a second loss function based on same-scale features includes: using deformation field, respectively aligning the moving image and the multi-scale coding feature map of the moving image to obtain the registered moving image and the multi-scale coding feature map of the registered moving image; constructing a first loss function based on the fixed image and the registered moving image; constructing a second loss function based on the same-scale features based on the multi-scale coding features of the fixed image and the multi-scale coding feature map of the registered moving image.

2. The method according to claim 1, characterized in that The image modalities include CT modality, MR modality, and TR image modality in PET.

3. The method according to claim 1, characterized in that The method of using the feature fusion module to fuse the multi-scale coding features of the fixed image and the multi-scale coding features of the moving image to obtain the multi-scale fused coding features includes: The multi-scale coding features of the fixed image and the multi-scale coding features of the moving image are concatenated and fused with the same-scale features to obtain the multi-scale fused coding features.

4. The method according to claim 1, characterized in that: The first loss function is the inverse of a mutual information function between the fixed image and the registered moving image.

5. The method according to claim 1, characterized in that The second loss function based on same-scale features is the inverse of the mutual information function of same-scale features in the multi-scale coded feature map of the fixed image and the registered moving image.

6. The method according to claim 1, characterized in that Determining the model training loss of the registration model based on the multi-scale unsupervised loss function includes: The loss value of the first loss function and the loss value of the second loss function based on the same-scale features are weighted to obtain a weighted loss as the model training loss of the registration model.

Citation Information

Patent Citations

  • Knee joint image registration method and device based on multi-modal cross attention mechanism

    CN117670951A

  • Cross-modal deformable medical image registration method and system

    CN118196153A