Unsupervised three-dimensional deformable image registration method

By introducing large-core ghost modules and deep-level convolutions into the U-Net backbone network, the problem of large parameters and low accuracy in the registration of three-dimensional deformable images is solved, and efficient and lightweight image registration is achieved , suitable for clinical environments with limited resources.

CN119048567AActive Publication Date: 2024-11-29CHONGQING UNIV OF TECH

Patent Information

Application Number
CN202411167915.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-29
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

The existing deep learning models have problems such as low registration accuracy, large model parameters, and high GPU memory usage in the three-dimensional deformable image registration task, which is difficult to meet the practical application needs.

Method used

The unsupervised three-dimensional deformable image registration method of the large-kernel ghost module (LKG module) based on U-Net backbone network is adopted to expand the receptive field through the large-kernel parallel strategy, combine deep-level convolution to reduce the number of model parameters, and use normalization Cross-correlation loss function and diffusion regular term optimize image alignment.

Benefits of technology

It realizes the significant reduction in the number of model parameters and GPU memory usage while maintaining high accuracy, improves registration speed and efficiency, and shows good performance especially in resource-constrained clinical scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119048567A_ABST
    Figure CN119048567A_ABST
Patent Text Reader

Abstract

The invention discloses an unsupervised three-dimensional deformable image registration method, which comprises the following steps of: designing and building a large kernel ghost module deformable image registration network model on the basis of a U-Net backbone network, and training and verifying the model through a training set and a verification set; then, taking the to-be-registered image as a fixed image, and taking a template image corresponding to the to-be-registered image as a moving image; splicing the moving image and the fixed image; inputting the spliced image into a deformable medical image registration network model, and outputting a deformation field; and finally, resampling the moving image by using the deformation field to obtain a deformed moving image, namely a registered image. According to the method, the registration precision is improved, and meanwhile, the model parameter quantity and GPU memory occupation can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an improvement of image registration technology, and in particular to an unsupervised three-dimensional deformable image registration method based on a large kernel ghost module, and belongs to the field of deep learning computer vision. Background Art

[0002] Deformable image registration (DIR) is a technique that aims to find non-rigid voxel spatial correspondences, namely deformation fields, to align moving images with fixed images in appearance. The application of DIR in the medical field is mainly reflected in improving the accuracy, efficiency and safety of medical image analysis, as well as optimizing the effect of radiotherapy. Generally speaking, DIR technology enables multiple medical images to be aligned in the same coordinate system in an automatic or semi-automatic manner, thereby providing more comprehensive anatomical information and helping doctors or researchers to determine the area of ​​interest. In non-medical fields, DIR also has important application value. For example, in the field of remote sensing, DIR technology can be used to register remote sensing images acquired at different times or by different sensors for change detection or feature extraction; in bioinformatics, DIR can be applied to protein structure analysis to find their similarities and differences by comparing the three-dimensional structures of different proteins; in virtual reality (VR) and augmented reality (AR), DIR technology can help achieve seamless integration between the real world and the virtual environment, providing a more natural and immersive user experience.

[0003] DIR is a resource-intensive task. For example, deformable registration of two magnetic resonance imaging (MRI) images of the same modality typically requires tens of millions of independent voxel spatial correspondences to accurately and smoothly deform the moving image to the fixed image. This requires a large amount of computational resources to ensure fast registration. Traditional methods usually iterate computationally intensive transformations, quantify the alignment by measuring the similarity between the deformed image and the fixed image, and adopt a specific optimization strategy to achieve the highest similarity. Although such targeted pairwise optimization strategies do provide accurate and smooth transformations, they are time-consuming and computationally expensive. In addition, they require iterative optimization from scratch when faced with unseen image pairs, making them a suboptimal choice for real-time registration tasks. In contrast, since iterative optimization is only performed during the training phase and the deformation field can be directly output during testing, deep learning (DL)-based DIR achieves registration speeds that are several orders of magnitude faster than traditional methods and produces competitive registration results, becoming a mainstream approach in recent years.

[0004] Currently, deep learning (DL)-based deformable image registration (DIR) frameworks, including convolutional neural networks (CNNs) and attention-based Transformer architectures, have been widely used. CNNs are good at extracting local details. Balakrishnan et al. (2019) proposed the famous VoxelMorph based on U-Net, and the results are quite competitive with the well-known ANTs and NiftyReg traditional registration methods. However, the use of only 3×3×3 convolution kernels leads to a relatively small receptive field of the model, which weakens the ability to extract global information. Jia et al. (2022) proposed LKU-Net, which uses large kernel parallel convolution operations instead of 3×3×3 convolution kernels, effectively expanding the receptive field. However, the use of large kernels increases the number of model parameters. In addition, Chen et al. (2022) introduced TransMorph, integrating the Transformer module into the U-net architecture, significantly enhancing the ability to extract global information. But this approach also leads to a significant increase in the number of model parameters. In addition, current deep learning models for medical DIR typically require a large amount of GPU memory, which poses a significant obstacle in resource-constrained clinical settings. Han et al. (2020) proposed a lightweight model called GhostNet, in which they found that certain image features can be generated from some basic features through computationally inexpensive depth-level convolution operations. They called these features generated by depth-level convolution ghost features. In GhostNet, the ghost module generates a sufficient number of ghost features with a small parameter overhead through cheap depth-level convolutions, ensuring the excellent performance of the model, showing promising results in two-dimensional image classification and image detection tasks, but its performance in three-dimensional deformable image registration tasks has not yet been verified.

[0005] In summary, existing deep learning models either have low registration accuracy or improve registration accuracy at the cost of increasing the number of parameters and GPU memory usage. They are difficult to meet the needs of practical applications and have low competitiveness. Therefore, there is an urgent need for a lightweight registration model with high registration accuracy. Summary of the invention

[0006] In view of the problems of low registration accuracy, large number of model parameters and high GPU memory usage in existing deep learning-based image registration methods, the present invention proposes an unsupervised three-dimensional deformable image registration method, which can reduce the number of model parameters and GPU memory usage while improving the registration accuracy.

[0007] The technical solution of the present invention is achieved in this way:

[0008] An unsupervised 3D deformable image registration method, the steps are as follows:

[0009] 1) Construct a deformable image registration network model;

[0010] 1.1) Obtain a data set; obtain a public data set including several test images and corresponding template images, where the test images and the images to be registered are of the same type; preprocess the test images, treat the preprocessed test images as fixed images f, and divide them into training sets, validation sets, and test sets; treat the template images as moving images m;

[0011] 1.2) Model building: Based on the U-Net backbone network, design and build the large kernel ghost (LKG) module deformable image registration network model;

[0012] 1.3) Model training and verification: The moving image m is spliced ​​with each fixed image f in the training set, and the deformable image registration network model built in step 1.2) is input for training. During the training, the model performance is verified using the verification set, thereby obtaining the deformable image registration network model;

[0013] 2) The image to be registered is regarded as a fixed image, and the template image corresponding to the image to be registered is regarded as a moving image; the moving image and the fixed image are spliced ​​to obtain a spliced ​​image;

[0014] 3) inputting the spliced ​​image obtained in step 2) into the deformable image registration network model constructed in step 1); the deformable image registration network model outputs a deformation field;

[0015] 4) Using the deformation field, the moving image in step 2) is resampled to obtain a deformed moving image, which is the registered image.

[0016] Furthermore, in step 1.3) when training the model, each time a spliced ​​image is input, the deformable image registration network model outputs a deformation field Use deformation fields The motion image m corresponding to this training is resampled to obtain the deformed motion image m, which is the image after registration in the training stage. Then iterative back propagation is used to minimize the loss function to optimize the similarity between images, as shown in the following formula;

[0017]

[0018] in represents the optimal deformation field, and the loss function is measured by the similarity and the smoothing regularization term Composition, λ is used as a regularization trade-off parameter.

[0019] Furthermore, when building the model in step 1.2), in the encoding stage, the network initially uses two consecutive convolutional layers, and then alternately applies multiple convolutional layers and LKG modules to extract the encoder feature map; in this process, the height, width and depth of the feature map gradually decrease, while the number of channels gradually increases; in the decoding stage, the network alternately uses multiple convolutional layers and transposed convolutional layers to extract the decoder feature map, and gradually restores it to the original resolution, where the transposed convolutional layer is responsible for the upsampling process; after each upsampling, the decoder feature map of the resolution is spliced ​​with the encoder feature map of the same resolution through a jump connection to prevent the loss of information in the encoder feature map; finally, the network outputs a three-channel deformation field through several 3×3×3 convolutional layers.

[0020] Furthermore, the LKG module extracts feature maps according to the following steps:

[0021] a) The input features are processed through a 3×3×3 convolution operation followed by a BN layer and a PR layer to extract an intermediate feature map, whose number of channels is half of the number of output channels;

[0022] b) Large kernel parallel depth-level convolution operation followed by BN and PR; First, 1×1×1, 3×3×3, and k×k×k depth-level convolution operations are used to extract ghost feature maps respectively, where the large kernel k>3; Then, all ghost feature maps are fused with the intermediate feature maps by element-by-element addition, and then pass through the BN layer and PR layer to obtain the fused feature map;

[0023] c) The intermediate feature map obtained in step a) and the fused feature map obtained in step b) are concatenated to obtain the final output feature map.

[0024] Furthermore, the similarity loss function used in model training in step 1.3) is the normalized cross-correlation NCC, and the formula is as follows:

[0025]

[0026] Where φ is the deformation field and p is a position in the image domain Ω; It is the original intensity image f(p) of the fixed image minus the average intensity of the local area, and the deformed moving image It is original Image minus the image of the average intensity of the local area;

[0027] The smoothing regularization term used in training is the diffusion regularization term, and the formula is as follows:

[0028]

[0029] where φ is the deformation field, u() is the displacement field, and p is a position in the image domain Ω. is a gradient operator, which is used to calculate the gradient of the displacement field at a certain position p; the relationship between the deformation field and the displacement field is

[0030] φ(p)=u(p)+id(p)

[0031] Among them, id(p) is an identity mapping, that is, id(p)=p.

[0032] Furthermore, the verification indicator used in step 1.3) model verification is the dice similarity coefficient DSC; the calculation method is as follows:

[0033]

[0034] Among them, A represents the segmentation set of the deformed moving image, B represents the segmentation set of the fixed image, |A| and |B| represent the number of elements in sets A and B respectively, and |A∩B| represents the number of elements in the intersection of A and B.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] Compared with existing deep learning registration methods, the deformable image registration network model proposed in the present invention is a model for image (such as 3D brain magnetic resonance imaging MRI) registration based on a large kernel ghost module (LKG module). This module achieves a larger receptive field through a large kernel parallel strategy while retaining the ability to capture local information, while the depth-level convolution reduces the number of parameters and inference time of the model without sacrificing performance. The results on public datasets show that compared with LKU-Net and TransMorph, the model of the present invention significantly reduces the number of parameters and achieves the best results in terms of dice similarity coefficient (DSC) and GPU memory usage. In short, the model proposed in the present invention strikes a balance between lightweight and high precision, and shows considerable potential in resource-constrained clinical scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is the overall framework diagram of the unsupervised deformable image registration based on the large kernel ghost module of the present invention.

[0038] Figure 2 This is a flow chart for implementing the deformable image registration network model of the present invention.

[0039] Figure 3 This is a schematic diagram of the structure of the deformable image registration network model of the present invention.

[0040] Figure 4 It is a schematic diagram of the LKG module structure of the present invention.

[0041] Figure 5 This is a visualization result diagram of the comparative test provided by the present invention. DETAILED DESCRIPTION

[0042] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0043] See also Figure 1 The present invention provides an unsupervised three-dimensional deformable image registration method, the steps are as follows:

[0044] 1) Construct a deformable image registration network model;

[0045] 2) The image to be registered is regarded as a fixed image, and the template image corresponding to the image to be registered is regarded as a moving image; the moving image and the fixed image are spliced ​​to obtain a spliced ​​image;

[0046] 3) inputting the spliced ​​image obtained in step 2) into the deformable image registration network model obtained in step 1); the deformable image registration network model outputs a deformation field;

[0047] 4) Using the deformation field, the moving image in step 2) is resampled to obtain a deformed moving image, which is the registered image.

[0048] The deformable image registration network model is constructed according to the following steps:

[0049] 1.1) Obtain a data set; obtain a public data set including several test images and corresponding template images, where the test images and the images to be registered are of the same type; preprocess the test images, treat the preprocessed test images as fixed images f, and divide them into training sets, validation sets, and test sets; treat the template images as moving images m;

[0050] 1.2) Model building: Based on the U-Net backbone network, design and build a large-kernel ghost module deformable image registration network model;

[0051] 1.3) Model training and verification: The moving image m is spliced ​​with each fixed image f in the training set respectively, and input into the deformable image registration network model built in step 1.2) for training. During the training, the model performance is verified using the verification set, thereby obtaining the deformable image registration network model.

[0052] The core of the registration method of the present invention is a deformable homomodal image registration network model (called LKGDIR) based on a large kernel ghost module, which can complete the registration task of medical images including three-dimensional brain MRI. The network model implementation process of the present invention is as follows: Figure 2 As shown, the embodiment includes four steps, namely: data set preprocessing, designing and building LKGDIR registration network model, model training and model performance testing. Each step is described below in conjunction with the embodiment.

[0053] Step S1: Dataset preprocessing. The present invention studies three-dimensional brain magnetic resonance imaging (MRI) images, taking the three-dimensional MRI images of all subjects as fixed images, and the template atlas images obtained from the work of Kim et al. (2021) as moving images to complete the registration of the template to the subject. Standard preprocessing steps including skull stripping, resampling to a voxel size of 1mm×1mm×1mm, affine pre-registration, and brain region segmentation were applied to the dataset. Then, all images were cropped to a size of 160×192×224. The dataset was then divided into training, validation, and test sets, containing 403, 58, and 115 images, respectively (7:1:2). The purpose of brain region segmentation is to use the segmentation maps of 30 brain regions to verify and test the accuracy of the registration.

[0054] Step S2: Design and build the LKGDIR registration network model. Since the unsupervised registration network model has been a hot topic in recent years, the present invention adopts an unsupervised strategy to design an overall registration framework based on the LKGDIR network model. Then, the specific design of the LKGDIR network model structure is based on the U-Net network with stable performance, which is an encoder-decoder structure. In addition, the present invention performs a detailed structural design on the key component of the model, the large kernel ghost module (LKGmodule). Finally, the present invention uses the Python programming language to write the LKGDIR model in the PyTorch environment to complete the model construction preparation work before model training.

[0055] Step S21: Design of overall registration framework based on LKGDIR. Figure 1 The overall framework of the model design of the present invention is shown. For ease of understanding, the rectangles and rounded rectangles here represent medical images. The fixed image m and the moving image f are spliced ​​( ) and then input into the LKGDIR network to infer the deformation field Then, using the deformation field Resample the motion image m ( ), and obtain the registered image Then iterative back propagation is used to minimize the loss function to optimize the similarity between images, as shown in the following formula.

[0056]

[0057] in represents the optimal deformation field, and the loss function is measured by the similarity and the smoothing regularization term Composition, λ is used as a regularization trade-off parameter.

[0058] Step S22: Structural design of LKGDIR network model. Figure 3 The structure of the LKGDIR network model is shown. In the encoding stage, the network initially uses two consecutive convolutional layers, and then alternately applies multiple convolutional layers and LKG modules to extract the encoder feature map. In this process, the height (H), width (W), and depth (L) of the feature map gradually decrease, while the number of channels (C) gradually increases. In the decoding stage, the network alternately uses multiple convolutional layers and transposed convolutional layers to extract the decoder feature map and gradually restore it to the original resolution, where the transposed convolutional layer is responsible for the upsampling process. After each upsampling, the decoder feature map of that resolution is spliced ​​with the encoder feature map of the same resolution through a jump connection to prevent the loss of information in the encoder feature map. Finally, the network outputs a three-channel deformation field through several 3×3×3 convolutional layers.

[0059] Step S23: Structural design of LKG module. Figure 4 The architecture of the proposed LKG module is shown. The LKG module consists of three steps: a) regular convolution operation followed by batch normalization (BN) and PReLU activation (PR), b) depth-wise convolution operation with large kernel parallelism followed by BN and PR, and c) concatenation ( ). The first step is to extract the intermediate feature map through 3×3×3 convolution operations, BN layers and PR layers, whose number of channels is half of the number of output channels. In the second step, ghost feature maps are first extracted using 1×1×1, 3×3×3 and k×k×k depth-level convolution operations, where the large kernel k>3o. Then, these ghost feature maps are added to the intermediate feature maps by element-wise addition ( ) are fused, and then pass through the BN layer and PR layer to obtain the fused feature map. In this step, the large kernel significantly expands the receptive field without a significant increase in the number of parameters, while the parallel regular and small kernels ensure the acquisition of local information. The shortcut retains the intermediate feature information. Finally, the feature maps of the first and second steps are spliced ​​to obtain the final output feature map.

[0060] Step S24: LKGDIR network model program implementation. The present invention uses the Pycharm program writing environment and the python programming language to build a model under the PyTorch deep learning framework. PyTorch is a deep learning tensor library based on Python and Torch optimization, mainly used for tasks that require GPU and CPU calculations. Compared with other deep learning frameworks such as TensorFlow and Keras, PyTorch is favored because it uses dynamic computational graphs and is fully compatible with Python. It allows scientists, developers, and neural network debuggers to run and test parts of the code in real time. Therefore, users can check whether a part of the code is valid without waiting for the entire code to be implemented. The two main features of PyTorch are:

[0061] A-Tensor calculation (similar to NumPy library). Unlike NumPy library which uses array type sequence data without gradient for related calculations, PyToch uses tensor type sequence data with gradient for related calculations, and has strong GPU acceleration support.

[0062] B-Automatic differentiation, PyTorch can automatically calculate the gradient of network model parameters for gradient backpropagation, making it easier for users to create and train deep neural networks.

[0063] Step S3: Model training and verification.

[0064] Step S31: model training. The training experiment was conducted in the PyTorch environment, using an RTX 4090 graphics card. The optimizer used was Adam; the learning rate was set to 1e-4; the number of iterations was 40,300; the batch size was 1; and the regularization parameter λ was set to 5.0. The present invention sets the size of the large kernel k to 5 and 7 to analyze the impact of different large kernel sizes on the registration results. The similarity loss function used in the present invention is the normalized cross correlation (NCC), which is more sensitive to intensity changes in the image than the usual mean square error (MSE) similarity. The formula for NCC is as follows:

[0065]

[0066] where φ is the deformation field and p is a position in the image domain Ω. It is the original intensity image f(p) of the fixed image minus the average intensity of the local area, and the deformed moving image It is original The image is subtracted from the image with the average intensity of the local area. For example, the calculation method is as follows:

[0067]

[0068] where p i is the position of the n×n×n region around position p, where n is set to 9.

[0069] In addition, the smoothing regularization term used in the present invention is a diffusion regularization term, and its formula is as follows:

[0070]

[0071] where φ is the deformation field, u() is the displacement field, and p is a position in the image domain Ω. is a gradient operator, which is used to calculate the gradient of the displacement field at a certain position p. The relationship between the deformation field and the displacement field is

[0072] φ(p)=u(p)+id(p)

[0073] Among them, id(p) is an identity mapping, that is, id(p)=p.

[0074] Step S32: Model verification. After each 403 iterations of training, the LKGDIR model is validated using the validation set. The validation index used in the present invention is the Dice Similarity Coefficient (DSC). DSC is an evaluation index commonly used in image segmentation and image registration. In registration, it is used to measure the similarity between the segmentation of the deformed moving image and the segmentation of the fixed image. It is calculated based on the overlapping area of ​​the segmentation of the two images. The calculation method is as follows:

[0075]

[0076] Among them, A represents the segmentation set of the deformed moving image, B represents the segmentation set of the fixed image, |A| and |B| represent the number of elements in the set A and the set B respectively, and |A∩B| represents the number of elements in the intersection of A and B. The value range of DSC is 0 to 1. The closer the value is to 1, the more similar the segmentation result of the deformed moving image is to the segmentation of the fixed image, and the closer the value is to 0, the less similar the segmentation result of the deformed moving image is to the segmentation of the fixed image.

[0077] Step S4: Model testing and comparative test. After the training is completed, the parameters of the network model are frozen, and then 115 test sets are used to evaluate the performance of the model for unknown image registration. The first evaluation index used is the DSC mentioned above, the second is the GPU memory usage (Memory), and the third is the number of model parameters (Param.). In order to demonstrate the advanced nature of the proposed LKGDIR, the present invention compares it with three excellent deep learning models, VoxelMorph, LKU-Net and TransMorph. The training of these comparison models follows their official hyperparameter settings.

[0078] The public dataset used in the present invention is IXI (https: / / brain-development.org / ixi-dataset). The 115 three-dimensional brain MRI images of the test set are used as fixed images, and a template image is used as a moving image. The performance of different methods in terms of DSC, GPU memory usage, and model parameter quantity is tested by simulating the actual template-subject registration task. The quantitative results of the comparative test provided by the present invention are shown in Table 1 below. The black bold font indicates the best result and the second best result. The units of DSC (the larger the better), Memory (the smaller the better) and Param. (the smaller the better) are %, GiB and M, respectively. The value in brackets after the DSC value is the standard deviation. When the large kernel k in the LKGDIR model is set to 5, the GPU memory usage is reduced by 38.39%, 4.29% and 57.64% compared with VoxelMorph, LKU-Net and TransMorph, respectively. It is worth noting that although VoxelMorph has the least parameters, the network needs to extract a large number of high-resolution feature maps, resulting in a larger memory allocation during the registration process, so the computational cost is high. The present invention uses the LKG module to calculate a limited number of high-resolution feature maps, which significantly reduces memory consumption. In addition, the number of parameters of the model of the present invention is only 37.34% and 1.66% of that of LKU-Net and TransMorph. In terms of DSC indicators, the model of the present invention is 4.60%, 0.78% and 0.77% higher than VoxelMorph, LKU-Net and TransMorph, respectively, proving that the model of the present invention can significantly improve the registration accuracy by expanding the receptive field. In addition, when the large kernel k is set to 7, the model of the present invention is further improved by 4.91%, 1.08%, 1.07% and 0.29% compared with VoxelMorph, LKU-Net, TransMorph and LKGDIR with k set to 5, respectively. Moreover, compared with LKGDIR with k set to 5, it does not significantly increase GPU memory usage and the number of parameters. Affine in Table 1 represents the affine pre-registration process in data preprocessing.

[0079] Table 1

[0080]

[0081]

[0082] Figure 5A comparison of the visual registration results of five examples from (a) to (e) in the test set using VoxelMorph, LKU-Net, TransMorph and LKGDIR (k = 7) is shown. The registered images generated by VoxelMorph, LKU-Net and TransMorph show structural connectivity disruption and appearance misregistration near the brainstem and in multiple regions of the white matter and cerebral cortex, as shown in the boxes in the figure. In contrast, the lightweight model of the present invention retains the connectivity of the brain structure while producing a higher DSC, thus verifying that the present invention can produce a smoother deformation field in addition to a higher DSC.

[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the applicant has described the present invention in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that modifications or equivalent substitutions of the technical solution of the present invention without departing from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.

Claims

1. An unsupervised 3D deformable image registration method, Features: The steps are as follows, 1) Construct a deformable image registration network model; 1.1) Obtain a data set; obtain a public data set including several test images and corresponding template images, where the test images and the images to be registered are of the same type; preprocess the test images, treat the preprocessed test images as fixed images f, and divide them into training sets, validation sets, and test sets; treat the template images as moving images m; 1.2) Model building: Based on the U-Net backbone network, design and build a large-kernel ghost module deformable image registration network model; 1.3) Model training and verification: The moving image m is spliced ​​with each fixed image f in the training set, and the deformable image registration network model built in step 1.2) is input for training. During the training, the model performance is verified using the verification set, thereby obtaining the deformable image registration network model; 2) The image to be registered is regarded as a fixed image, and the template image corresponding to the image to be registered is regarded as a moving image; the moving image and the fixed image are spliced ​​to obtain a spliced ​​image; 3) inputting the spliced ​​image obtained in step 2) into the deformable image registration network model constructed in step 1); the deformable image registration network model outputs a deformation field; 4) Using the deformation field, the moving image in step 2) is resampled to obtain a deformed moving image, which is the registered image.

2. The unsupervised three-dimensional deformable image registration method according to claim 1, Features: Step 1.3) During model training, each time a spliced ​​image is input, the deformable image registration network model outputs a deformation field Use deformation fields The motion image m corresponding to this training is resampled to obtain the deformed motion image m, which is the image after registration in the training stage. Then iterative back propagation is used to minimize the loss function to optimize the similarity between images, as shown in the following formula; in represents the optimal deformation field, and the loss function is measured by the similarity and the smoothing regularization term Composition, λ is used as a regularization trade-off parameter.

3. The unsupervised three-dimensional deformable image registration method according to claim 1, Features: Step 1.2) When building the model, in the encoding stage, the network initially uses two consecutive convolutional layers, and then alternately applies multiple convolutional layers and large kernel ghost modules to extract the encoder feature map; in this process, the height, width and depth of the feature map gradually decrease, while the number of channels gradually increases; in the decoding stage, the network alternately uses multiple convolutional layers and transposed convolutional layers to extract the decoder feature map, and gradually restores it to the original resolution, where the transposed convolutional layer is responsible for the upsampling process; after each upsampling, the decoder feature map of the resolution is spliced ​​with the encoder feature map of the same resolution through a jump connection to prevent the loss of information in the encoder feature map; finally, the network outputs a three-channel deformation field through several 3×3×3 convolutional layers.

4. The unsupervised three-dimensional deformable image registration method according to claim 3, Features: The large kernel ghost module extracts feature maps as follows: a) The input features are processed through a 3×3×3 convolution operation followed by a BN layer and a PR layer to extract an intermediate feature map, whose number of channels is half of the number of output channels; b) Large kernel parallel depth-level convolution operations followed by BN and PR; First, 1×1×1, 3×3×3, and k×k×k depth-level convolution operations are used to extract ghost feature maps, respectively, where the large kernel k>3; Then, all ghost feature maps are fused with the intermediate feature maps by element-by-element addition, and then pass through the BN layer and the PR layer to obtain the fused feature map; c) The intermediate feature map obtained in step a) and the fused feature map obtained in step b) are concatenated to obtain the final output feature map.

5. The unsupervised three-dimensional deformable image registration method according to claim 1, Features: Step 1.3) The similarity loss function used in model training is the normalized cross-correlation NCC, and the formula is as follows: Where φ is the deformation field and p is a position in the image domain Ω; It is the original intensity image f(p) of the fixed image minus the average intensity of the local area, and the deformed moving image It is original Image minus the image of the average intensity of the local area; The smoothing regularization term used in training is the diffusion regularization term, and the formula is as follows: where φ is the deformation field, u() is the displacement field, and p is a position in the image domain Ω. is a gradient operator, which is used to calculate the gradient of the displacement field at a certain position p; the relationship between the deformation field and the displacement field is φ(p)=u(p)+id(p) Among them, id(p) is an identity mapping, that is, id(p)=p.

6. The unsupervised three-dimensional deformable image registration method according to claim 5, Features: The verification indicator used in step 1.3) model verification is the dice similarity coefficient DSC; the calculation method is as follows: Among them, A represents the segmentation set of the deformed moving image, B represents the segmentation set of the fixed image, |A| and |B| represent the number of elements in sets A and B respectively, and |A∩B| represents the number of elements in the intersection of A and B.

Citation Information

Patent Citations

  • Unsupervised medical image registration method

    CN117830362A

  • Using neural networks to estimate motion vectors for motion corrected pet image reconstruction

    US20210304457A1

  • Real-time traffic flow detection system and method based on ghost convolutional feature fusion neural network

    WO2021238019A1

Cited By

  • Circuit board image registration method, electronic equipment and storage medium

    CN122176024A