Model training method and registration method for multimodal image enhancement and registration
By training the target image sequence enhancement model in the generative adversarial network model and using the mutual information matching of MR and CT images, the problem of multi-modal image data volume mismatch and registration difficulty is solved, and the accuracy and efficiency of medical image processing are improved. .
Patent Information
- Application Number
- CN202410840678.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-27
AI Technical Summary
In medical image processing, the data volume mismatch of multi-modal images results in poor tumor segmentation results, and different modal images need to be registered to provide effective information. However, existing technology is difficult to effectively solve this problem.
By acquiring MR and CT image sequences, mutual information is used to match image pairs, and the target image sequence enhancement model is trained in the generative adversarial network model to generate matching MR images to register CT images.
It improves the accuracy of three-dimensional image reconstruction, provides basic technical support for medical image processing, and solves the problems of lack of image data and difficulty in registration.
Smart Images

Figure CN118397059B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and in particular relates to a model training method and a registration method for multimodal image enhancement and registration. Background Art
[0002] Computer-assisted and medical imaging technology has long been an important part of bone tumor limb-salvage surgery, helping doctors complete surgical approach planning, personalized plan formulation, preoperative simulation, and other tasks, significantly improving the success rate of limb-salvage. Currently, images are generally analyzed by manually or semi-automatically marking tumors, which consumes a lot of surgeons' time and energy. Therefore, it is imperative to use the rapidly developed deep learning technology in recent years to conduct tumor segmentation research.
[0003] In this process, there is a contradiction between the high requirements of deep learning technology for the amount of training data and the limited number of medical images. Especially when using multimodal images for analysis, the mismatch of data between different images will lead to a further reduction in the amount of available data, thereby increasing the difficulty of subsequent operations and affecting the tumor segmentation effect. At the same time, image data of different modalities also need to be registered to provide effective information.
[0004] Therefore, how to synthesize reliable MR (Magnetic Resonance) images and correspond them in CT (Computed Tomography) image sequences has become an urgent problem to be solved. Summary of the invention
[0005] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose a model training method and a registration method for multimodal image enhancement and registration. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0006] The present invention provides a model training method for multimodal image enhancement and registration, the training method comprising:
[0007] Acquire an MR image sequence to be processed and a CT image sequence to be processed, wherein the MR image sequence to be processed includes M MR images to be processed arranged in sequence, and the CT image sequence to be processed includes N CT images to be processed arranged in sequence, and both M and N are integers greater than 0;
[0008] According to the mutual information between the MR image to be processed and the CT image to be processed, M groups of matching image pairs are obtained, and several groups of matching image pairs are selected from the M groups of matching image pairs as training sets, each group of matching image pairs including one MR image to be processed and one CT image to be processed that match each other;
[0009] Two MR images to be processed and one CT image to be processed are selected from the training set, and the selected two MR images to be processed, one CT image to be processed and a Gaussian noise image are input into the target image sequence enhancement model to be trained, so as to train the target image sequence enhancement model to be trained and obtain a trained target image sequence enhancement model, and the trained target image sequence enhancement model is used to match the CT image to be registered to obtain a registered MR image; wherein, the two MR images to be processed selected from the training set do not match the selected CT image to be processed; and the target image sequence enhancement model is a model based on a generative adversarial network.
[0010] In one embodiment of the present invention, obtaining a to-be-processed MR image sequence and a to-be-processed CT image sequence includes:
[0011] Acquire an initial MR image sequence and an initial CT image sequence, wherein the initial MR image sequence includes M initial MR images, and the initial CT image sequence includes N initial CT images;
[0012] Converting the brightness values of the initial MR image and the initial CT image into grayscale values to obtain an MR grayscale image and a CT grayscale image;
[0013] A histogram equalization algorithm is used to redistribute the grayscale values of the MR grayscale image and the CT grayscale image, respectively, so that the grayscale values of the MR grayscale image and the CT grayscale image are evenly distributed within a preset range, thereby obtaining an MR evenly distributed image and a CT evenly distributed image;
[0014] The grayscale values of the MR uniform distribution image and the CT uniform distribution image are respectively normalized to the interval of [0, 255] to obtain the MR image to be processed and the CT image to be processed. All the MR images to be processed form the MR image sequence to be processed, and all the CT images to be processed form the CT image sequence to be processed.
[0015] In one embodiment of the present invention, obtaining M groups of matching image pairs according to the mutual information between the MR image to be processed and the CT image to be processed includes:
[0016] Acquire the first MR image to be processed in the MR image sequence to be processed;
[0017] Based on the mutual information between the first MR image to be processed and the CT image to be processed, selecting a CT image to be processed having the largest mutual information with the first MR image to be processed in the CT image sequence to be processed to form a first group of matching image pairs;
[0018] Based on the preset step size, matching CT images to be processed are selected from the second MR image to be processed to the Mth MR image to be processed in the CT image sequence to be processed, to obtain M-1 groups of matching image pairs.
[0019] In one embodiment of the present invention, based on a preset step size, matching CT images to be processed are selected from the second MR image to be processed to the Mth MR image to be processed in the CT image sequence to be processed, to obtain M-1 groups of matching image pairs, including:
[0020] For the m+1th MR image to be processed, determine whether n+λ is an integer. If it is an integer, select the n+λth CT image to be processed from the CT image sequence to be processed as the image to be matched. If it is a non-integer, select the CT image to be processed that has a larger mutual information with the m+1th MR image to be processed from the two adjacent CT images to be processed that are adjacent to the n+λth CT image to be processed as the image to be matched, wherein the mth MR image to be processed and the nth CT image to be processed form the mth group of matching image pairs, λ is a preset step size, λ=Sm / Sc, Sm is the inter-layer interval of the MR image sequence to be processed, Sc is the inter-layer interval of the CT image sequence to be processed, 1≤m≤M, 1≤n≤N;
[0021] Determine whether the mutual information between the CT image to be processed as the image to be matched and the m+1th MR image to be processed is greater than or equal to a preset threshold; if so, the CT image to be processed as the image to be matched and the m+1th MR image to be processed form the m+1th group of matching image pairs; if not, select the CT image to be processed with the largest mutual information with the m+1th MR image to be processed in the CT image sequence to be processed to form the m+1th group of matching image pairs.
[0022] In one embodiment of the present invention, the target image sequence enhancement model includes a generator and a discriminator, and the generator includes an encoder, a feature extraction unit and a decoder;
[0023] Selecting two MR images to be processed and one CT image to be processed from the training set, inputting the selected two MR images to be processed, one CT image to be processed and a Gaussian noise image into the target image sequence enhancement model to be trained, so as to train the target image sequence enhancement model to be trained, and obtaining a trained target image sequence enhancement model, including:
[0024] Selecting two MR images to be processed and one CT image to be processed from the training set, inputting the selected two MR images to be processed, one CT image to be processed and one Gaussian noise image into the encoder, and obtaining a first feature matrix corresponding to the Gaussian noise image, a second feature matrix and a third feature matrix respectively corresponding to the two MR images to be processed, and a fourth feature matrix corresponding to the CT image to be processed;
[0025] Inputting the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the feature extraction unit to obtain a feature matrix to be decoded;
[0026] Inputting the feature matrix to be decoded into the decoder to obtain a first MR enhanced image;
[0027] Based on the dynamic differential loss function constructed by the first MR enhanced image and the MR image to be processed to be registered, the parameters of the target image sequence enhancement model to be trained are adjusted in a back-propagation manner to obtain a preliminarily trained target image sequence enhancement model, and a second MR enhanced image output by the preliminarily trained target image sequence enhancement model is obtained; wherein the MR image to be processed to be registered is selected from the training set and is between the two MR images to be processed input to the target image sequence enhancement model to be trained, and the CT image to be processed input to the target image sequence enhancement model to be trained and the MR image to be processed to be registered are in the same group of matching image pairs;
[0028] The second MR enhanced image is input into the discriminator to obtain the trained target image sequence enhancement model according to the discrimination result of the discriminator.
[0029] In one embodiment of the present invention, the feature extraction unit includes a graph attention module, a channel attention module and a residual structure;
[0030] Inputting the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the feature extraction unit to obtain a feature matrix to be decoded, comprising:
[0031] The first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix are input into the graph attention module, and the graph attention module obtains a fifth feature matrix corresponding to the Gaussian noise image, a sixth feature matrix and a seventh feature matrix corresponding to the two MR images to be processed, and an eighth feature matrix corresponding to the CT image to be processed by capturing similarities between the features;
[0032] The fifth feature matrix, the sixth feature matrix, the seventh feature matrix and the eighth feature matrix are input into the channel attention module, and the channel attention module obtains the first weight of the fifth feature matrix, the second weight of the sixth feature matrix, the third weight of the seventh feature matrix, and the fourth weight of the eighth feature matrix through convolution operation, and respectively multiplies the first weight by the fifth feature matrix, the second weight by the sixth feature matrix, the third weight by the seventh feature matrix, and the fourth weight by the eighth feature matrix, and adds all the multiplication results to obtain a ninth feature matrix;
[0033] The ninth feature matrix is input into the residual structure, and after a convolution operation, the feature matrix to be decoded is obtained.
[0034] In one embodiment of the present invention, the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix are input into the graph attention module, and the graph attention module obtains a fifth feature matrix corresponding to the Gaussian noise image, a sixth feature matrix and a seventh feature matrix corresponding to the two MR images to be processed, and an eighth feature matrix corresponding to the CT image to be processed by capturing similarities between the features, including:
[0035] Step 3.211, inputting the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the graph attention module, and then dividing the first feature matrix into a plurality of first matrix blocks;
[0036] Step 3.212, select one of the first matrix blocks in order, and select a second matrix block, a third matrix block and a fourth matrix block in the second characteristic matrix, the third characteristic matrix and the fourth characteristic matrix respectively, which have the same position as the first matrix block;
[0037] Step 3.213, combining the first matrix block, the second matrix block, the third matrix block and the fourth matrix block into a combined matrix;
[0038] Step 3.214, selecting a number of pixel points adjacent to the first matrix block to obtain a pixel matrix;
[0039] Step 3.215, combining the combination matrix and the pixel matrix into a splicing matrix;
[0040] Step 3.216: According to the connection relationship between the first matrix block, the second matrix block, the third matrix block and the fourth matrix block, weighted summation processing is performed on the first matrix block, the second matrix block, the third matrix block and the fourth matrix block in the spliced matrix to obtain a fifth matrix block, a sixth matrix block, a seventh matrix block and an eighth matrix block respectively;
[0041] Step 3.217, using the fifth matrix block, the sixth matrix block, the seventh matrix block and the eighth matrix block to correspondingly replace the first matrix block of the first characteristic matrix, the second matrix block of the second characteristic matrix, the third matrix block of the third characteristic matrix and the fourth matrix block of the fourth characteristic matrix;
[0042] Step 3.218, repeat steps 3.212 to 3.217 until all matrix blocks in the first characteristic matrix, the second characteristic matrix, the third characteristic matrix and the fourth characteristic matrix are replaced, and the fifth characteristic matrix, the sixth characteristic matrix, the seventh characteristic matrix and the eighth characteristic matrix are obtained accordingly.
[0043] In one embodiment of the present invention, the dynamic differential loss function is expressed as:
[0044] ;
[0045] in, represents the dynamic difference loss function, represents the MR image to be registered. represents the first MR enhanced image, Indicates that the goal of the generator is to arrive The mapping of Indicates the first MR enhanced image Pixels to perform the desired operation, represents the probability distribution of the first MR enhanced image, represents the number of pixels in the MR image to be processed to be registered, Indicates that the generator will register the first The difference in the results after the pixels are mapped to the first MR enhanced image, Indicates all The average value of .
[0046] In one embodiment of the present invention, the second MR enhanced image is input to the discriminator to obtain the trained target image sequence enhancement model according to the discrimination result of the discriminator, including:
[0047] inputting the second MR enhanced image into the discriminator to obtain a discriminant value;
[0048] Determine the relationship between the discrimination value and the discrimination threshold; if the discrimination value is greater than the discrimination threshold and the discrimination result is false, update the discrimination threshold according to the loss value obtained by the kurtosis loss function, and continue to train the preliminarily trained target image sequence enhancement model until the discrimination value is less than or equal to the latest discrimination threshold, and obtain the trained target image sequence enhancement model; if the discrimination value is less than or equal to the discrimination threshold and the discrimination result is true, use the preliminarily trained target image sequence enhancement model as the trained target image sequence enhancement model.
[0049] The present invention also provides a multi-modal image registration method, comprising:
[0050] Acquire the CT image to be registered;
[0051] The CT image to be registered is input into the trained target image sequence enhancement model described in any one of the above embodiments to obtain a registered MR image.
[0052] Beneficial effects of the present invention:
[0053] The present invention first obtains the MR image sequence to be processed and the CT image sequence to be processed, and obtains M groups of matching image pairs according to the mutual information of the MR image to be processed and the CT image to be processed, and selects several groups of matching image pairs from the M groups of matching image pairs as training sets, and each group of matching image pairs includes a mutually matching MR image to be processed and a CT image to be processed, and then selects two MR images to be processed and a CT image to be processed in the training set, and the selected two MR images to be processed, one CT image to be processed and a Gaussian noise image are input into the target image sequence enhancement model to be trained, so as to train the target image sequence enhancement model to be trained, and obtain a trained target image sequence enhancement model, and the obtained trained target image sequence enhancement model can match the CT image to be registered, and obtain a registered MR image. Therefore, the trained target image sequence enhancement model obtained by the present invention can generate an MR image matching the CT image, which is conducive to improving the accuracy of image three-dimensional reconstruction and providing basic technical support for the field of medical image processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a flowchart of a training method for a model for multimodal image enhancement and registration provided by an embodiment of the present invention;
[0055] Figure 2 It is a schematic diagram of a target image sequence enhancement model provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0057] Embodiment 1
[0058] See also Figure 1 , Figure 1 1 is a flow chart of a training method for a model for multimodal image enhancement and registration provided by an embodiment of the present invention. An embodiment of the present invention provides a training method for a model for multimodal image enhancement and registration, and the training method includes:
[0059] Step 1: Obtain an MR image sequence to be processed and a CT image sequence to be processed, wherein the MR image sequence to be processed includes M MR images to be processed arranged in sequence, and the CT image sequence to be processed includes N CT images to be processed arranged in sequence, and both M and N are integers greater than 0.
[0060] Here, the MR image sequence to be processed and the CT image sequence to be processed are both acquired from the same part of the same person. For example, M is 30 and N is 300.
[0061] Optionally, the M MR images to be processed and the N CT images to be processed are arranged in spatial order.
[0062] In an optional embodiment, step 1 may specifically include:
[0063] Step 1.1, obtaining an initial MR image sequence and an initial CT image sequence, wherein the initial MR image sequence includes M initial MR images, and the initial CT image sequence includes N initial CT images.
[0064] Here, the initial MR image sequence and the initial CT image sequence are both acquired from the same part of the same person, for example, from the thigh root to the middle of the calf.
[0065] Optionally, the M initial MR images and the N initial CT images are arranged in a spatial order from earliest to latest.
[0066] Step 1.2: Convert the brightness values of the initial MR image and the initial CT image into grayscale values to obtain an MR grayscale image and a CT grayscale image.
[0067] Step 1.3: Use a histogram equalization algorithm to redistribute the grayscale values of the MR grayscale image and the CT grayscale image, respectively, so that the grayscale values of the MR grayscale image and the CT grayscale image are evenly distributed within a preset range, thereby obtaining an MR evenly distributed image and a CT evenly distributed image.
[0068] Specifically, the histogram equalization algorithm is used to redistribute the grayscale values of the MR grayscale image and the CT grayscale image, that is, multiple intervals are evenly divided within the preset range, so that the number of pixels in each interval is evenly distributed, thereby obtaining an MR uniform distribution image and a CT uniform distribution image. For example, the preset range is divided into 5 intervals, and the number of pixels evenly distributed to each interval is 10. If 7 pixels in the MR grayscale image fall into the first interval, then 3 pixels with smaller grayscale values can be selected from the second interval in ascending order and placed in the first interval. For example, the grayscale values of the 3 pixels selected from the second interval are 51, 55, and 60, respectively. Then, the grayscale value of each selected pixel is multiplied by A1 / A2, where A1 is the largest grayscale value in the first interval, and A2 is the largest grayscale value of the pixels selected from the second interval. For example, 51, 55, and 60 are all multiplied by 50 / 60, and the multiplication result is placed in the first interval, and so on for other cases.
[0069] Here, the preset range of the MR grayscale image is a range consisting of the minimum grayscale value and the maximum grayscale value of the MR grayscale image, and the preset range of the CT grayscale image is a range consisting of the minimum grayscale value and the maximum grayscale value of the CT grayscale image.
[0070] Step 1.4, respectively normalize the grayscale values of the MR uniform distribution image and the CT uniform distribution image to the interval [0, 255] to obtain the MR image to be processed and the CT image to be processed. All the MR images to be processed constitute the MR image sequence to be processed, and all the CT images to be processed constitute the CT image sequence to be processed.
[0071] In this embodiment, the normalization formula is:
[0072] ;
[0073] in, is the normalized grayscale value, is the gray value before normalization, is the minimum gray value of MR uniform distribution image or CT uniform distribution image, It is the maximum gray value of MR uniform distribution image or CT uniform distribution image.
[0074] Step 2: According to the mutual information between the MR image to be processed and the CT image to be processed, M groups of matching image pairs are obtained, and several groups of matching image pairs are selected from the M groups of matching image pairs as training sets, each group of matching image pairs includes one MR image to be processed and one CT image to be processed that match each other.
[0075] Specifically, this embodiment performs matching processing on the MR image to be processed and the CT image to be processed through the mutual information between the MR image to be processed and the CT image to be processed, thereby obtaining matching image pairs consisting of M groups of mutually matching MR images to be processed and CT images to be processed, and then selects several groups of matching image pairs as training sets, and the remaining matching image pairs are used as test sets.
[0076] For example, 80% of the matching image pairs are randomly selected as the training set, and the remaining 20% are used as the test set.
[0077] In an optional embodiment, step 2 may specifically include:
[0078] Step 2.1, obtaining the first MR image to be processed in the MR image sequence to be processed.
[0079] Step 2.2: Based on the mutual information between the first MR image to be processed and the CT image to be processed, select the CT image to be processed with the largest mutual information with the first MR image to be processed in the CT image sequence to be processed to form a first group of matching image pairs.
[0080] In this embodiment, the calculation formula of the mutual information of two images is:
[0081] ;
[0082] in, is the MR image to be processed, is the CT image to be processed, is the mutual information between the MR image to be processed and the CT image to be processed, is the marginal probability distribution of the MR image to be processed, , is the number of gray values a in the MR image to be processed, is the number of pixels in the MR image to be processed, is the marginal probability distribution of the CT image to be processed, , is the gray value of the CT image to be processed The number of is the number of pixels in the CT image to be processed, .
[0083] Step 2.3: Based on the preset step size, select matching CT images to be processed from the second MR image to be processed to the Mth MR image to be processed in the CT image sequence to be processed, and obtain M-1 groups of matching image pairs.
[0084] Step 2.31. For the m+1th MR image to be processed, determine whether n+λ is an integer. If it is an integer, select the n+λth CT image to be processed from the CT image sequence to be processed as the image to be matched. If it is a non-integer, select the two adjacent CT images to be processed that have a larger mutual information with the m+1th MR image to be processed as the image to be matched, where the mth MR image to be processed and the nth CT image to be processed constitute the mth group of matching image pairs, λ is the preset step size, λ=Sm / Sc, Sm is the inter-layer interval of the MR image sequence to be processed, Sc is the inter-layer interval of the CT image sequence to be processed, 1≤m≤M, 1≤n≤N.
[0085] Specifically, assuming that the mth MR image to be processed matches the nth CT image to be processed, forming the mth set of matching image pairs, then first determine whether n+λ is an integer. If n+λ is an integer, the n+λth CT image to be processed can be directly selected as the image to be matched for the m+1th MR image to be processed. If n+λ is not an integer, it is necessary to select the two CT images to be processed that are closest to n+λ. For example, if n+λ is 6.5, the sixth CT image to be processed and the seventh CT image to be processed are selected, and then the CT image to be processed with greater mutual information with the m+1th MR image to be processed is selected from the two selected CT images to be processed as the image to be matched. Here, the inter-layer interval is the distance between two adjacent images.
[0086] Step 2.32, determine whether the mutual information between the CT image to be processed as the image to be matched and the m+1th MR image to be processed is greater than or equal to a preset threshold; if so, the CT image to be processed as the image to be matched and the m+1th MR image to be processed are combined into the m+1th matching image pair; if not, the CT image to be processed with the largest mutual information with the m+1th MR image to be processed is selected from the CT image sequence to be processed to form the m+1th matching image pair.
[0087] In this embodiment, for other MR images to be processed, the search for matching CT images to be processed is continued in the manner of step 2.31 until all matching image pairs are obtained.
[0088] It should be noted that this embodiment does not limit the specific value of the preset threshold, and those skilled in the art can set it according to specific requirements. For example, the preset threshold is 1.05.
[0089] Step 3, select two MR images to be processed and one CT image to be processed in the training set, and input the selected two MR images to be processed, one CT image to be processed and a Gaussian noise image into the target image sequence enhancement model to be trained, so as to train the target image sequence enhancement model to be trained and obtain a trained target image sequence enhancement model, and the trained target image sequence enhancement model is used to match the CT image to be registered to obtain a registered MR image; wherein, the two MR images to be processed selected in the training set do not match the selected CT image to be processed; the target image sequence enhancement model is a model based on a generative adversarial network.
[0090] Specifically, firstly, three MR images to be processed and one CT image to be processed are selected in the training set, preferably three spatially continuous MR images to be processed, the three MR images to be processed are respectively recorded as MR1, MR2 and MR3, MR2 is spatially located between MR1 and MR3, the CT image to be processed selected in the training set and MR2 form a group of matching image pairs, and then a Gaussian noise image is randomly generated, thereby MR1, MR3, the CT image to be processed matching MR2 and the Gaussian noise image can be input into the target image sequence enhancement model to be trained, so as to train the target image sequence enhancement model to be trained and obtain the trained target image sequence enhancement model.
[0091] In this embodiment, the target image sequence enhancement model is a model based on a generative adversarial network, see Figure 2 ,The target image sequence enhancement model includes a generator and a discriminator, and the generator includes an encoder, a feature extraction unit and a decoder.
[0092] In an optional embodiment, step 3 may specifically include:
[0093] Step 3.1. Select two MR images to be processed and one CT image to be processed in the training set, input the selected two MR images to be processed, one CT image to be processed and one Gaussian noise image into the encoder, and obtain the first feature matrix corresponding to the Gaussian noise image, the second feature matrix corresponding to the two MR images to be processed, the third feature matrix and the fourth feature matrix corresponding to the CT image to be processed.
[0094] Optionally, for images that need to be input into the encoder, a circle of pixels with a gray value of 0 may be filled around these images before these images are input into the encoder.
[0095] Optionally, the encoder has multiple layers of image feature extraction layers connected in sequence, and the structures of all image feature extraction layers are the same. The image feature extraction layers include convolution layers, pooling layers, normalization layers, and activation layers connected in sequence. Therefore, after the Gaussian noise image is processed by the multiple layers of image feature extraction layers, a first feature matrix is obtained. After the two MR images to be processed are processed by the multiple layers of image feature extraction layers, the second feature matrix and the third feature matrix are obtained respectively. After the CT images to be processed are processed by the multiple layers of image feature extraction layers, a fourth feature matrix is obtained. For example, the encoder includes 4 layers of image feature extraction layers connected in sequence.
[0096] Step 3.2: Input the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into a feature extraction unit to obtain a feature matrix to be decoded.
[0097] In this embodiment, the feature extraction unit includes a graph attention module, a channel attention module and a residual structure.
[0098] Step 3.21, input the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the graph attention module. The graph attention module captures the similarity between the features to obtain the fifth feature matrix corresponding to the Gaussian noise image, the sixth feature matrix and the seventh feature matrix corresponding to the two MR images to be processed, and the eighth feature matrix corresponding to the CT image to be processed.
[0099] Step 3.211, input the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the graph attention module, and then divide the first feature matrix into a plurality of first matrix blocks.
[0100] For example, the size of the first matrix block is I rows and 1 column, where I is 4, for example.
[0101] Step 3.212, select a first matrix block in sequence, and select a second matrix block, a third matrix block and a fourth matrix block having the same position as the first matrix block from the second characteristic matrix, the third characteristic matrix and the fourth characteristic matrix respectively.
[0102] Specifically, the first matrix blocks can be selected in sequence from left to right and then from top to bottom. For the currently selected first matrix block, the second matrix block with the same position as the first matrix block is selected in the second characteristic matrix, the third matrix block with the same position as the first matrix block is selected in the third characteristic matrix, and the fourth matrix block with the same position as the first matrix block is selected in the fourth characteristic matrix.
[0103] Step 3.213, combine the first matrix block, the second matrix block, the third matrix block and the fourth matrix block into a combined matrix.
[0104] Specifically, in order of arrangement from left to right, the first matrix block, the second matrix block, the third matrix block and the fourth matrix block are combined into a combined matrix. The size of the combined matrix is, for example, 4 rows and 4 columns.
[0105] Step 3.214, select a number of pixel points adjacent to the first matrix block to obtain a pixel matrix.
[0106] Specifically, all the pixels that are most adjacent to the first matrix block are selected in the first feature matrix, and then a number of pixels are randomly selected from these pixels to form a pixel matrix. For example, 8 pixels are selected to form a pixel matrix of 4 rows and 2 columns.
[0107] Step 3.215, combine the combination matrix and the pixel matrix into a stitching matrix.
[0108] Specifically, the combination matrix and the pixel matrix are spliced to obtain a spliced matrix. The size of the spliced matrix is, for example, 4 rows and 6 columns.
[0109] Step 3.216: According to the connection relationship between the first matrix block, the second matrix block, the third matrix block and the fourth matrix block, weighted processing is performed on the first matrix block, the second matrix block, the third matrix block and the fourth matrix block in the spliced matrix, respectively, to obtain a fifth matrix block, a sixth matrix block, a seventh matrix block and an eighth matrix block respectively.
[0110] Specifically, for the first matrix block in the spliced matrix, a matrix block connected to the first matrix block is first selected from the second matrix block, the third matrix block and the fourth matrix block, and then the first matrix block, the matrix block connected to the first matrix block, and each column element in the pixel matrix are weighted summed to obtain the fifth matrix block. For example, the second matrix block and the third matrix block are both connected to the first matrix block, and the fourth matrix block is not connected to the first matrix block. Therefore, the second matrix block and the third matrix block are multiplied by a coefficient respectively, and each column element in the pixel matrix is also multiplied by a coefficient respectively, and then the results of their multiplication are added, and then the added result is added to the first matrix block to obtain the fifth matrix block, wherein the value range of each coefficient is 0-1, and the sum of all coefficients is 1.
[0111] For the second matrix block in the spliced matrix, first select a matrix block connected to the second matrix block from the first matrix block, the third matrix block and the fourth matrix block, and then perform weighted summation on the second matrix block and the matrix block connected to the second matrix block, that is, multiply the matrix blocks connected to the second matrix block by a coefficient respectively, and then add the results of their multiplication, and then add the added result to the second matrix block to obtain a sixth matrix block. For the third matrix block in the spliced matrix, first select a matrix block connected to the third matrix block from the first matrix block, the second matrix block and the fourth matrix block, and then perform weighted summation on the third matrix block and the matrix block connected to the third matrix block, that is, multiply the matrix blocks connected to the third matrix block by a coefficient respectively, and then add the results of their multiplication, and then add the added result to the third matrix block to obtain a seventh matrix block. For the fourth matrix block in the spliced matrix, a matrix block connected to the fourth matrix block is first selected from the first matrix block, the second matrix block and the third matrix block, and then the fourth matrix block and the matrix blocks connected to the fourth matrix block are weighted summed, that is, the matrix blocks connected to the fourth matrix block are multiplied by a coefficient respectively, and then the results of their multiplication are added, and then the added result is added to the fourth matrix block to obtain an eighth matrix block.
[0112] Step 3.217, use the fifth matrix block, the sixth matrix block, the seventh matrix block and the eighth matrix block to correspondingly replace the first matrix block of the first characteristic matrix, the second matrix block of the second characteristic matrix, the third matrix block of the third characteristic matrix and the fourth matrix block of the fourth characteristic matrix.
[0113] Specifically, the first matrix block of the first characteristic matrix currently being processed is replaced by the fifth matrix block, the second matrix block of the second characteristic matrix currently being processed is replaced by the sixth matrix block, the third matrix block of the third characteristic matrix currently being processed is replaced by the seventh matrix block, and the fourth matrix block of the fourth characteristic matrix currently being processed is replaced by the eighth matrix block.
[0114] Step 3.218, repeat steps 3.212 to 3.217 until all matrix blocks in the first characteristic matrix, the second characteristic matrix, the third characteristic matrix and the fourth characteristic matrix are replaced, to obtain the fifth characteristic matrix, the sixth characteristic matrix, the seventh characteristic matrix and the eighth characteristic matrix.
[0115] Specifically, repeat steps 3.212 to 3.217, and according to the above steps, replace all the first matrix blocks in the first characteristic matrix with the fifth matrix block to obtain the fifth characteristic matrix, replace all the second matrix blocks in the second characteristic matrix with the sixth matrix block to obtain the sixth characteristic matrix, replace all the third matrix blocks in the third characteristic matrix with the seventh matrix block to obtain the seventh characteristic matrix, and replace all the fourth matrix blocks in the fourth characteristic matrix with the eighth matrix block to obtain the eighth characteristic matrix.
[0116] Step 3.22: Input the fifth feature matrix, the sixth feature matrix, the seventh feature matrix, and the eighth feature matrix into the channel attention module. The channel attention module obtains the first weight of the fifth feature matrix, the second weight of the sixth feature matrix, the third weight of the seventh feature matrix, and the fourth weight of the eighth feature matrix through convolution operation. The first weight is multiplied by the fifth feature matrix, the second weight is multiplied by the sixth feature matrix, the third weight is multiplied by the seventh feature matrix, and the fourth weight is multiplied by the eighth feature matrix. All the multiplication results are added together to obtain the ninth feature matrix.
[0117] Specifically, the channel attention module performs convolution operations on the fifth feature matrix, the sixth feature matrix, the seventh feature matrix, and the eighth feature matrix through the convolution kernel, thereby obtaining the first weight, the second weight, the third weight, and the fourth weight, and then multiplies the first weight with the fifth feature matrix, the second weight with the sixth feature matrix, the third weight with the seventh feature matrix, and the fourth weight with the eighth feature matrix. Finally, all the multiplication results are added together to obtain the ninth feature matrix. In this way, the feature matrices can be integrated as much as possible while appropriately preserving the original features.
[0118] Step 3.23: Input the ninth feature matrix into the residual structure, and after convolution operation, obtain the feature matrix to be decoded.
[0119] Specifically, the ninth feature matrix is input into the residual structure, and then the convolution kernel is used to perform a convolution operation on the ninth feature matrix to restore the number of channels to the original number of channels, thereby obtaining a feature matrix to be decoded, and the feature matrix to be decoded is output to the decoder. The residual structure can ensure the positive effect of the image.
[0120] Step 3.3: Input the feature matrix to be decoded into the decoder to obtain the first MR enhanced image.
[0121] Optionally, the decoder has multiple image feature reconstruction layers connected in sequence, the number of image feature reconstruction layers and image feature extraction layers is the same, the structure of all image feature reconstruction layers is the same, and the image feature reconstruction layers include sequentially connected convolution layers, deconvolution layers, normalization layers and activation layers. The decoder is used to enhance the perception and extraction of image features.
[0122] Step 3.4, based on the dynamic differential loss function constructed based on the first MR enhanced image and the processed MR image to be registered, adjust the parameters of the target image sequence enhancement model to be trained by back propagation to obtain the preliminarily trained target image sequence enhancement model, and obtain the second MR enhanced image output by the preliminarily trained target image sequence enhancement model; wherein, the processed MR image to be registered is selected from the training set and is between the two processed MR images input to the target image sequence enhancement model to be trained, and the processed CT image input to the target image sequence enhancement model to be trained and the processed MR image to be registered are in the same group of matching image pairs.
[0123] Specifically, a dynamic differential loss function is constructed using the first MR enhanced image and the MR image to be processed to be registered, so as to obtain a loss value through the dynamic differential loss function, and then the parameters of the target image sequence enhancement model to be trained are adjusted by back propagation until the loss value reaches a minimum or the training reaches a maximum number of training times, thereby obtaining a preliminarily trained target image sequence enhancement model. At this time, the output of the preliminarily trained target image sequence enhancement model is the second MR enhanced image.
[0124] Here, the MR image to be registered is spatially located between the two MR images to be processed input to the target image sequence enhancement model to be trained, and matches the CT image to be processed input to the target image sequence enhancement model to be trained.
[0125] Alternatively, the dynamic differential loss function is expressed as:
[0126] ;
[0127] in, represents the dynamic difference loss function, represents the MR image to be registered. represents the first MR enhanced image, Indicates that the goal of the generator is to arrive The mapping of Indicates the first MR enhanced image Pixels to perform the desired operation, represents the probability distribution of the first MR enhanced image, represents the number of pixels in the MR image to be processed to be registered, Indicates that the generator will register the first The difference in the results after the pixels are mapped to the first MR enhanced image, Indicates all The average value of .
[0128] Step 3.5: input the second MR enhanced image into the discriminator to obtain a trained target image sequence enhancement model according to the discrimination result of the discriminator.
[0129] Step 3.51: Input the second MR enhanced image into the discriminator to obtain a discriminant value.
[0130] Step 3.52, determine the relationship between the discriminant value and the discriminant threshold. If the discriminant value is greater than the discriminant threshold and the discrimination result is false, then update the discriminant threshold according to the loss value obtained by the kurtosis loss function, and continue to train the preliminarily trained target image sequence enhancement model (that is, continue to train the preliminarily trained target image sequence enhancement model according to the above training steps) until the discriminant value is less than or equal to the latest discriminant threshold, and obtain the trained target image sequence enhancement model. If the discriminant value is less than or equal to the discriminant threshold and the discrimination result is true, then the preliminarily trained target image sequence enhancement model is used as the trained target image sequence enhancement model.
[0131] In this embodiment, the updating method of the discrimination threshold is: multiplying the loss value obtained by using the kurtosis loss function by the unupdated discrimination threshold to obtain the updated discrimination threshold.
[0132] Alternatively, the kurtosis loss function is expressed as:
[0133] ;
[0134] in, represents the kurtosis loss function, represents the second MR enhanced image, Indicates that the goal of the generator is to arrive The mapping of Indicates the second MR enhanced image Pixels to perform the desired operation, represents the probability distribution of the second MR enhanced image, represents the number of pixels in the second MR enhanced image, Indicates the second MR enhanced image pixels, represents the mean value of all pixels in the second MR enhanced image, represents the standard deviation of the second MR enhanced image, Indicates the first pixels, represents the mean value of all pixels in the MR image to be processed to be registered, Represents the standard deviation of the MR images to be registered.
[0135] Optionally, the discriminator includes 4 convolutional layers with sizes ranging from 16×16 to 4×4 and connected in sequence, and also includes a normalization layer, an activation function layer and a fully connected layer after the 4 convolutional layers.
[0136] In addition, since the MR image data set is small, it is easy to cause gradient vanishing or overfitting problems. Therefore, norm regularization for image gradients can be added after the discriminator to improve the training effect and obtain more stable judgment results.
[0137] In a specific embodiment, after obtaining the trained target image sequence enhancement model, the trained target image sequence enhancement model can also be tested using a test set, and the remaining several groups of matching image pairs obtained above that are not used as training sets can be used as test sets. The trained target image sequence enhancement model can be tested using the test set to determine the effect of the trained target image sequence enhancement model.
[0138] The present invention performs sequence registration based on the combination of mutual information and inter-layer spacing information; by introducing a multi-channel input and feature extraction unit in the generator, MR enhanced images that can be used for image fusion and automatic segmentation model training are generated, which effectively alleviates the problem of data shortage in subsequent fusion and segmentation model training, and is beneficial to improving the accuracy of image three-dimensional reconstruction, providing basic technical support for the field of medical image processing.
[0139] The trained target image sequence enhancement model obtained by the present invention can generate MR enhanced images, which can be used for the training of subsequent fusion segmentation models, and help solve the problem of lack of medical image data. The graph attention module used can capture the similarity information between images and optimize the details of local features; the channel attention module can adjust the weight value of each layer of input information in the feature extraction process, and work together to make the generated MR enhanced images more realistic, which can provide effective data for subsequent training and other applications.
[0140] Embodiment 2
[0141] The present invention further provides a multimodal image registration method based on the first embodiment, and the multimodal image registration method includes:
[0142] Acquire the CT image to be registered;
[0143] The CT image to be registered is input into the trained target image sequence enhancement model described in the first embodiment to obtain a registered MR image.
[0144] Specifically, based on the trained target image sequence enhancement model obtained in Example 1, the CT image that actually needs to be registered (i.e., the CT image to be registered) can be input into the trained target image sequence enhancement model, and the generator of the trained target image sequence enhancement model will output the registered MR image.
[0145] The implementation principle and technical effect of the multimodal image registration method provided in this embodiment are similar to those of the multimodal image enhancement and registration method provided in Embodiment 1, and will not be described in detail here.
[0146] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0147] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification.
[0148] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A training method for a model for multimodal image enhancement and registration, characterized in that: The training method comprises: Acquire an MR image sequence to be processed and a CT image sequence to be processed, wherein the MR image sequence to be processed includes M MR images to be processed arranged in sequence, and the CT image sequence to be processed includes N CT images to be processed arranged in sequence, and both M and N are integers greater than 0; According to the mutual information between the MR image to be processed and the CT image to be processed, M groups of matching image pairs are obtained, and several groups of matching image pairs are selected from the M groups of matching image pairs as training sets, each group of matching image pairs including one MR image to be processed and one CT image to be processed that match each other; Two MR images to be processed and one CT image to be processed are selected from the training set, and the selected two MR images to be processed, one CT image to be processed and a Gaussian noise image are inputted into the target image sequence enhancement model to be trained, so as to train the target image sequence enhancement model to be trained and obtain a trained target image sequence enhancement model, and the trained target image sequence enhancement model is used to match the CT image to be registered to obtain a registered MR image; wherein the two MR images to be processed selected from the training set do not match the selected CT image to be processed; the target image sequence enhancement model is a model based on a generative adversarial network, wherein, The target image sequence enhancement model includes a generator and a discriminator, and the generator includes an encoder, a feature extraction unit and a decoder; Selecting two MR images to be processed and one CT image to be processed from the training set, inputting the selected two MR images to be processed, one CT image to be processed and a Gaussian noise image into the target image sequence enhancement model to be trained, so as to train the target image sequence enhancement model to be trained, and obtaining a trained target image sequence enhancement model, including: Selecting two MR images to be processed and one CT image to be processed from the training set, inputting the selected two MR images to be processed, one CT image to be processed and one Gaussian noise image into the encoder, and obtaining a first feature matrix corresponding to the Gaussian noise image, a second feature matrix and a third feature matrix respectively corresponding to the two MR images to be processed, and a fourth feature matrix corresponding to the CT image to be processed; Inputting the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the feature extraction unit to obtain a feature matrix to be decoded; Inputting the feature matrix to be decoded into the decoder to obtain a first MR enhanced image; Based on the dynamic differential loss function constructed by the first MR enhanced image and the MR image to be processed to be registered, the parameters of the target image sequence enhancement model to be trained are adjusted in a back-propagation manner to obtain a preliminarily trained target image sequence enhancement model, and a second MR enhanced image output by the preliminarily trained target image sequence enhancement model is obtained; wherein the MR image to be processed to be registered is selected from the training set and is between the two MR images to be processed input to the target image sequence enhancement model to be trained, and the CT image to be processed input to the target image sequence enhancement model to be trained and the MR image to be processed to be registered are in the same group of matching image pairs; Inputting the second MR enhanced image into the discriminator to obtain the trained target image sequence enhancement model according to the discrimination result of the discriminator; Wherein, the dynamic difference loss function is expressed as: ; in, represents the dynamic difference loss function, represents the MR image to be registered. represents the first MR enhanced image, Indicates that the goal of the generator is to arrive The mapping of Indicates the first MR enhanced image Pixels to perform the desired operation, represents the probability distribution of the first MR enhanced image, represents the number of pixels in the MR image to be processed to be registered, Indicates that the generator will register the first The difference in the results after the pixels are mapped to the first MR enhanced image, Indicates all The average value of .
2. The training method according to claim 1, characterized in that: Obtaining the MR image sequence to be processed and the CT image sequence to be processed, including: Acquire an initial MR image sequence and an initial CT image sequence, wherein the initial MR image sequence includes M initial MR images, and the initial CT image sequence includes N initial CT images; Converting the brightness values of the initial MR image and the initial CT image into grayscale values to obtain an MR grayscale image and a CT grayscale image; A histogram equalization algorithm is used to redistribute the grayscale values of the MR grayscale image and the CT grayscale image, respectively, so that the grayscale values of the MR grayscale image and the CT grayscale image are evenly distributed within a preset range, thereby obtaining an MR evenly distributed image and a CT evenly distributed image; The grayscale values of the MR uniform distribution image and the CT uniform distribution image are respectively normalized to the interval of [0, 255] to obtain the MR image to be processed and the CT image to be processed. All the MR images to be processed form the MR image sequence to be processed, and all the CT images to be processed form the CT image sequence to be processed.
3. The training method according to claim 1, characterized in that: According to the mutual information between the MR image to be processed and the CT image to be processed, M groups of matching image pairs are obtained, including: Acquire the first MR image to be processed in the MR image sequence to be processed; Based on the mutual information between the first MR image to be processed and the CT image to be processed, selecting a CT image to be processed having the largest mutual information with the first MR image to be processed in the CT image sequence to be processed to form a first group of matching image pairs; Based on the preset step size, matching CT images to be processed are selected from the second MR image to be processed to the Mth MR image to be processed in the CT image sequence to be processed, to obtain M-1 groups of matching image pairs.
4. The training method according to claim 3, characterized in that: Based on the preset step length, matching CT images to be processed are selected from the second MR image to be processed to the Mth MR image to be processed in the CT image sequence to be processed, to obtain M-1 groups of matching image pairs, including: For the m+1th MR image to be processed, determine whether n+λ is an integer. If it is an integer, select the n+λth CT image to be processed from the CT image sequence to be processed as the image to be matched. If it is a non-integer, select the CT image to be processed that has a larger mutual information with the m+1th MR image to be processed from the two adjacent CT images to be processed that are adjacent to the n+λth CT image to be processed as the image to be matched, wherein the mth MR image to be processed and the nth CT image to be processed form the mth group of matching image pairs, λ is a preset step size, λ=Sm / Sc, Sm is the inter-layer interval of the MR image sequence to be processed, Sc is the inter-layer interval of the CT image sequence to be processed, 1≤m≤M, 1≤n≤N; Determine whether the mutual information between the CT image to be processed as the image to be matched and the m+1th MR image to be processed is greater than or equal to a preset threshold; if so, the CT image to be processed as the image to be matched and the m+1th MR image to be processed form the m+1th group of matching image pairs; if not, select the CT image to be processed with the largest mutual information with the m+1th MR image to be processed in the CT image sequence to be processed to form the m+1th group of matching image pairs.
5. The training method according to claim 1, characterized in that: The feature extraction unit includes a graph attention module, a channel attention module and a residual structure; Inputting the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the feature extraction unit to obtain a feature matrix to be decoded, comprising: The first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix are input into the graph attention module, and the graph attention module obtains a fifth feature matrix corresponding to the Gaussian noise image, a sixth feature matrix and a seventh feature matrix corresponding to the two MR images to be processed, and an eighth feature matrix corresponding to the CT image to be processed by capturing similarities between the features; The fifth feature matrix, the sixth feature matrix, the seventh feature matrix and the eighth feature matrix are input into the channel attention module, and the channel attention module obtains the first weight of the fifth feature matrix, the second weight of the sixth feature matrix, the third weight of the seventh feature matrix, and the fourth weight of the eighth feature matrix through convolution operation, and respectively multiplies the first weight by the fifth feature matrix, the second weight by the sixth feature matrix, the third weight by the seventh feature matrix, and the fourth weight by the eighth feature matrix, and adds all the multiplication results to obtain a ninth feature matrix; The ninth feature matrix is input into the residual structure, and after a convolution operation, the feature matrix to be decoded is obtained.
6. The training method according to claim 5, characterized in that: The first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix are input into the graph attention module, and the graph attention module obtains a fifth feature matrix corresponding to the Gaussian noise image, a sixth feature matrix and a seventh feature matrix corresponding to the two MR images to be processed, and an eighth feature matrix corresponding to the CT image to be processed by capturing the similarity between the features, including: Step 3.211, inputting the first feature matrix, the second feature matrix, the third feature matrix and the fourth feature matrix into the graph attention module, and then dividing the first feature matrix into a plurality of first matrix blocks; Step 3.212, select one of the first matrix blocks in order, and select a second matrix block, a third matrix block and a fourth matrix block in the second characteristic matrix, the third characteristic matrix and the fourth characteristic matrix respectively, which have the same position as the first matrix block; Step 3.213, combining the first matrix block, the second matrix block, the third matrix block and the fourth matrix block into a combined matrix; Step 3.214, selecting a number of pixel points adjacent to the first matrix block to obtain a pixel matrix; Step 3.215, combining the combination matrix and the pixel matrix into a splicing matrix; Step 3.216: According to the connection relationship between the first matrix block, the second matrix block, the third matrix block and the fourth matrix block, weighted summation processing is performed on the first matrix block, the second matrix block, the third matrix block and the fourth matrix block in the spliced matrix to obtain a fifth matrix block, a sixth matrix block, a seventh matrix block and an eighth matrix block respectively; Step 3.217, using the fifth matrix block, the sixth matrix block, the seventh matrix block and the eighth matrix block to correspondingly replace the first matrix block of the first characteristic matrix, the second matrix block of the second characteristic matrix, the third matrix block of the third characteristic matrix and the fourth matrix block of the fourth characteristic matrix; Step 3.218, repeat steps 3.212 to 3.217 until all matrix blocks in the first characteristic matrix, the second characteristic matrix, the third characteristic matrix and the fourth characteristic matrix are replaced, and the fifth characteristic matrix, the sixth characteristic matrix, the seventh characteristic matrix and the eighth characteristic matrix are obtained accordingly.
7. The training method according to claim 1, characterized in that: Inputting the second MR enhanced image into the discriminator to obtain the trained target image sequence enhancement model according to the discrimination result of the discriminator, comprising: inputting the second MR enhanced image into the discriminator to obtain a discriminant value; Determine the relationship between the discrimination value and the discrimination threshold; if the discrimination value is greater than the discrimination threshold and the discrimination result is false, update the discrimination threshold according to the loss value obtained by the kurtosis loss function, and continue to train the preliminarily trained target image sequence enhancement model until the discrimination value is less than or equal to the latest discrimination threshold, and obtain the trained target image sequence enhancement model; if the discrimination value is less than or equal to the discrimination threshold and the discrimination result is true, use the preliminarily trained target image sequence enhancement model as the trained target image sequence enhancement model.
8. A multimodal image registration method, characterized in that: include: Acquire the CT image to be registered; The CT image to be registered is input into the trained target image sequence enhancement model according to any one of claims 1 to 7 to obtain a registered MR image.
