Biomedical image registration method, system, device and storage medium
Through the combination of the confidence guidance mechanism and the recurrent large-core attention sub-network, the problems of unreasonable computing resource allocation and insufficient accuracy in processing large deformations in biomedical image registration are solved, and more efficient and high-precision deformation estimation is achieved.
Patent Information
- Application Number
- CN202411106702.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-13
AI Technical Summary
Existing biomedical image registration methods have problems with unreasonable allocation of computing resources and insufficient accuracy when dealing with large deformations. In particular, the limitations of the receptive field of convolutional neural networks lead to limited accuracy and robustness in complex deformation scenarios. .
The confidence guidance mechanism is used to differentiate the degree of deformation in different areas, and the confidence map is used to intelligently adjust the focus of the network, focusing computing resources on the parts with more severe deformation, and combined with the cyclic large-core attention sub-network for iterative optimization. Generate the final deformation field.
It significantly improves the network's adaptability and processing efficiency to complex deformation scenes, optimizes resource allocation, and improves the accuracy and efficiency of biomedical image registration.
Smart Images

Figure CN118628546B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a biomedical image registration method, system, device and storage medium. Background Art
[0002] Image registration plays a vital role in biomedical image analysis tasks, such as biomedical image segmentation, multimodal image fusion, and surgical navigation. Image registration is used to align biomedical images from different time points, different modalities, or different subjects in space or attributes so that they can be effectively compared, analyzed, and diagnosed.
[0003] In recent years, deep learning methods based on convolutional neural networks (CNNs) have dominated the registration field with their high efficiency and accuracy. As manual annotations are difficult to obtain, unsupervised methods using similarity metrics have become mainstream.
[0004] The groundbreaking unsupervised registration network, VoxelMorph, and many of its follow-up studies are all built on the U-Net (U-shaped convolutional neural network) architecture, using a one-stop strategy to estimate the deformation field. However, such one-shot methods are incapable of dealing with large deformations. In view of this, recent research trends focus on developing step-by-step network techniques for affine and non-affine registration. Specifically, these new methods first use affine registration networks to capture linear changes, and then use multi-stage algorithms to refine the estimation of non-affine deformations. Among them, cascade strategies and pyramid methods stand out as typical representatives. Cascade methods, such as recursive cascade networks (RCN), cleverly split complex overall deformations into a series of subtle adjustments by connecting multiple isomorphic network modules in series, thereby reducing the learning burden of a single network. On the other hand, the archetype of pyramid methods, such as Dual-PRNet (dual-stream pyramid registration network), introduces multi-level feature representation and uses a coarse-to-fine strategy to gradually refine the prediction of the deformation field, aiming to achieve more accurate registration results. Although step-by-step estimation algorithms have made some progress in alleviating the challenge of large deformation, they still face two limitations: (1) First, existing cascade and pyramid strategies rely on a single deformation network to control global deformation, even though in actual situations, drastic deformation is often limited to specific anatomical regions. For example, in the image comparison before and after tumor resection, only the tumor area shows significant deformation, while the surrounding tissue has little deformation. This one-size-fits-all approach not only fails to effectively utilize computing resources, but may also cause the network to bear unnecessary high load when dealing with local large deformations. (2) Secondly, the inherent receptive field limitation of convolutional neural networks has become another bottleneck restricting the accurate registration of large deformations. This feature prevents the network from fully capturing and adapting to long-distance spatial relationships, especially in scenarios involving complex or large-scale deformations, affecting the accuracy and robustness of registration.
[0005] Since the Transformer (Transformer Neural Network) architecture was innovatively integrated into the registration network, it has achieved excellent long-range feature dependency capture capabilities through self-attention mechanisms, which effectively alleviates the problems caused by limited receptive fields. In particular, XMorpher (a backbone network designed for registration) designed a two-way parallel feature extraction network that exchanges information through a cross-attention mechanism to reveal fine semantic correspondences at different levels. Another notable advance is TransMorph (a Transformer-based medical image registration network), which adopts a hybrid inverse Transformer architecture and uses the high-performance Swin-Transformer (a window-based attention transfer model) as a core component to further advance the development of this field.
[0006] However, it cannot be ignored that the large-scale matrix multiplication operations inherent in the Transformer architecture bring heavy computational overhead to these models, which has become a major obstacle to practical applications. At the same time, although these innovative efforts have theoretically improved the ability to handle complex deformations, how to efficiently and accurately cope with extremely large-scale deformation estimation through a single network model is still a difficult problem that has not yet been fully solved. Therefore, exploring new strategies that can fully utilize the advantages of Transformer in capturing long-range dependencies, effectively reduce the computational burden, and flexibly adapt to the challenges of deformations of different scales has become an urgent need for research in this field.
[0007] In view of this, the present invention is proposed. Summary of the invention
[0008] The purpose of the present invention is to provide a biomedical image registration method, system, device and storage medium, which can not only break through the limitations of traditional networks in processing large deformations and receptive fields, but also reasonably allocate computing resources, and through the guidance of confidence maps, can achieve differentiated and efficient processing of areas with different deformation degrees.
[0009] The objective of the present invention is achieved through the following technical solutions:
[0010] A biomedical image registration method, comprising:
[0011] Step 1: After acquiring and preprocessing biomedical images, construct image pairs;
[0012] Step 2: for each image pair, extract image features from the moving image and the fixed image respectively, and extract context information from the moving image;
[0013] Step 3: Perform spatial relationship enhancement processing on the image features of the moving image and the fixed image, generate a confidence map using the enhanced features, and generate an initialization deformation field in combination with the context information;
[0014] Step 4: Iteratively optimize the initialized deformation field using the image features of the moving image and the fixed image to obtain the final deformation field, and apply the final deformation field to the moving image to obtain the moving image registered with the fixed image.
[0015] A biomedical image registration system, comprising:
[0016] The data acquisition and preprocessing module is used to acquire biomedical images and construct image pairs after preprocessing;
[0017] A feature extraction module is used to extract image features from the moving image and the fixed image in each image pair, and to extract context information from the moving image;
[0018] A confidence guidance mechanism module is used to perform spatial relationship enhancement processing on image features of moving images and fixed images, generate a confidence map using the enhanced features, and generate an initialization deformation field in combination with the context information;
[0019] The recurrent large kernel attention subnetwork is used to iteratively optimize the initialized deformation field by using the image features of the moving image and the fixed image to obtain the final deformation field, and act on the moving image to obtain the moving image registered with the fixed image.
[0020] A processing device, comprising: one or more processors; a memory for storing one or more programs;
[0021] When the one or more programs are executed by the one or more processors, the one or more processors implement the aforementioned method.
[0022] A readable storage medium stores a computer program, which implements the above method when the computer program is executed by a processor.
[0023] It can be seen from the technical solution provided by the present invention that a novel confidence guidance mechanism is integrated to accurately bridge the estimation process of affine and non-affine deformations. This is different from the strategy of using a single network to uniformly deal with various large-scale deformations in the prior art. The uniqueness of the present invention lies in that, through confidence guidance, the focus of the network can be intelligently and adaptively adjusted according to the degree of deformation in different areas, and computing resources can be concentrated on local areas where deformation is more drastic, thereby making the deformation challenges faced by the network smoother and easier to manage. This design not only optimizes resource allocation, but also significantly enhances the network's adaptability and processing efficiency for complex deformation scenes, marking an important step towards higher precision and efficiency biomedical image registration technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0025] Figure 1 A flow chart of a biomedical image registration method provided by an embodiment of the present invention;
[0026] Figure 2 A schematic diagram of the overall architecture of a biomedical image registration method provided by an embodiment of the present invention;
[0027] Figure 3 Schematic diagram of the principle of the large core attention block provided by the embodiment of the present invention
[0028] Figure 4 A schematic diagram of a visualization result of an example in the LPBA dataset provided by an embodiment of the present invention;
[0029] Figure 5 A schematic diagram of a biomedical image registration system provided by an embodiment of the present invention;
[0030] Figure 6 A schematic diagram of a processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0032] First, the terms that may be used in this article are explained as follows:
[0033] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.
[0034] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not contain technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.
[0035] The following is a detailed description of a biomedical image registration method, system, device and storage medium provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field. If no specific conditions are specified in the embodiments of the present invention, the conventional conditions in the field or the conditions recommended by the manufacturer shall be followed. Example
[0036] The embodiment of the present invention provides a biomedical image registration method, such as Figure 1 As shown, it mainly includes the following steps:
[0037] Step 1: After obtaining and preprocessing biomedical images, image pairs are constructed.
[0038] Step 2: For each image pair, image features are extracted from the moving image and the fixed image respectively, and context information is extracted from the moving image.
[0039] In an embodiment of the present invention, two levels of fixed features are extracted for a fixed image, and two levels of motion features are extracted for a motion image, and the two levels of fixed features correspond one to one with the two levels of motion features; wherein the fixed features of the first level and the motion features of the first level are used in step 4, and the fixed features of the second level and the motion features of the second level are used in step 3.
[0040] Step 3: Perform spatial relationship enhancement processing on the image features of the moving image and the fixed image, generate a confidence map using the enhanced features, and generate an initialized deformation field in combination with the context information.
[0041] The preferred implementation method of this step is as follows: (1) the number of the enhanced features is two, and a confidence map is generated by using the correlation between them. A deformation field is generated by combining the confidence map and the pre-generated coordinate grid, which is named a rough deformation field; (2) the rough deformation field is refined using the context information to obtain a correlation field; (3) the rough deformation field is fused with the correlation field to obtain an initialized deformation field.
[0042] Step 4: Iteratively optimize the initialized deformation field using the image features of the moving image and the fixed image to obtain a final deformation field, and apply the final deformation field to the moving image to obtain a moving image registered with the fixed image.
[0043] The above method provided by the embodiment of the present invention can not only break through the limitations of traditional networks in processing large deformations and receptive fields, but also reasonably allocate computing resources, especially through innovative mechanisms such as confidence guidance, to achieve differentiated and efficient processing of areas with different deformation degrees.
[0044] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the method provided by the embodiment of the present invention is described in detail with reference to specific embodiments below.
[0045] 1. Introduction of the plan.
[0046] 1. Data acquisition and related processing.
[0047] In an embodiment of the present invention, a biomedical image is acquired, and in a subsequent preprocessing process, an affine transformation is used to align all images to the same spatial coordinates; then, a subject-to-subject strategy is used to form image pairs, each of which includes a moving image and a fixed image.
[0048] 2. Biomedical image registration scheme.
[0049] The embodiment of the present invention designs an unsupervised registration network, named CGNet, the core of which is the integration of a novel confidence guidance mechanism, which aims to accurately bridge the estimation process of affine and non-affine deformations. Different from the strategy of using a single network to uniformly deal with various large-scale deformations in the prior art, the uniqueness of CGNet lies in its ability to intelligently and adaptively adjust the focus of the network according to the degree of deformation in different areas, and concentrate computing resources on local areas with more drastic deformations, so that the deformation challenges faced by the network are smoother and easier to manage. This design not only optimizes resource allocation, but also significantly enhances the network's adaptability and processing efficiency for complex deformation scenes, marking an important step towards higher precision and efficiency medical image registration technology.
[0050] In the embodiment of the present invention, the transformed image (i.e., the moving image registered with the fixed image) is obtained based on the process described in the above steps 1 to 4; then, a loss function needs to be constructed. On the one hand, the similarity loss is calculated using the transformed image and the fixed image; on the other hand, in order to ensure the smoothness of the deformation field, the smoothness loss is also calculated; the final loss function is the weighted sum of the similarity loss and the smoothness loss. The network is trained using this loss function, and the network parameters are updated through back propagation and the Adam optimization algorithm (a random optimization algorithm with adaptive momentum) to gradually improve the registration accuracy and the quality of the deformation field.
[0051] Considering that the specific calculation methods of the similarity loss and smoothness loss involved here, as well as the subsequent network parameter optimization scheme can be implemented by referring to conventional technologies, they will not be elaborated here.
[0052] Figure 2 The overall framework of the unsupervised registration network is demonstrated, which mainly includes: feature extraction module, confidence guidance mechanism module and recurrent large kernel attention sub-network.
[0053] (1) Feature extraction module.
[0054] In the embodiment of the present invention, the feature extraction module mainly includes: a feature encoder and a context encoder; a fixed image is extracted by weight sharing feature encoder and moving images Perform initialization processing to obtain fixed features at different levels and , and motion characteristics and ; and from the moving picture via a context encoder Extract context information (also called context features) The superscripts of the motion features and fixed features here correspond to the two levels of features, 1 refers to the first level, 2 refers to the second level, Figure 2An example with two layers is provided, where the first layer is the output of the last layer of the feature encoder and the second layer is the output of an intermediate layer (e.g., the second-to-last layer).
[0055] Considering that the feature encoder and context encoder involved in this section can both be implemented by existing encoders, they will not be described in detail.
[0056] (2) Confidence guidance mechanism module.
[0057] In the embodiment of the present invention, in order to generate a reliable and accurate initial deformation field, a confidence guidance mechanism is proposed, which mainly includes three parts: spatial feature extraction, confidence generation and fusion.
[0058] In order to facilitate the understanding of the confidence guidance mechanism module, Figure 2 The bottom part provides a conceptual expression, which shows that the confidence guidance mechanism module generates information between affine transformation and deformable deformation and provides it to the subsequent cyclic large core attention sub-network, so that the network can intelligently and adaptively adjust the network's focus according to the degree of deformation in different regions.
[0059] (2.1) Spatial feature extraction.
[0060] In the embodiment of the present invention, in order to enhance the characteristics and For subsequent operations, the present invention designs a spatial feature extraction (SFE) part to learn spatial relations, and the spatial feature extraction is provided with a spatial relationship learning block Learning blocks with dependencies , the spatial relationship enhancement processing is performed on the image features of the moving image and the fixed image to obtain the enhanced features, which are expressed as:
[0061] ;
[0062] ;
[0063] in, and Represents two enhanced features.
[0064] Spatial relationship learning block in the embodiment of the present invention Learning blocks with dependencies Both can be achieved through the Large Kernel Attention (LKA) block in the recurrent large kernel attention subnetwork.
[0065] (2.2) Confidence generation.
[0066] After using the spatial feature extraction part to learn the spatial relationship, the two enhanced features and Make the image features representative and facilitate cross-image matching. Therefore, the present invention uses softmax-based feature matching to obtain a coarse deformation field. However, considering the serious impact of incorrect feature matching, a method that can solve the problem of feature mismatching must be added to ensure the reliability of the registration process. Therefore, the present invention aggregates matching points based on relevant contextual information, but this method may aggregate some unreliable matching points, which are useless and may even damage the estimation of the field. In order to solve this problem, the present invention proposes to evaluate the matching confidence before fusion. Experience has shown that the correlation between image pairs can be used to generate a confidence map.
[0067] Given the enhanced features , in order to generate a confidence map (confidence map) , expressed as:
[0068] ;
[0069] in, h , w , t and Respectively represent the height, width, depth and number of channels of the enhanced features, max is the maximum value function, T is the transpose symbol, softmax is the normalized exponential function, and R is the symbol of the real number set.
[0070] By multiplying the confidence map with the pre-generated coordinate grid (corresponding to the spatial coordinates of the image preprocessing mentioned above), a deformation field can be obtained, which is named the rough deformation field .
[0071] (2.3) In order to avoid using low-confidence points of context information, this paper uses an adaptive threshold to filter the confidence map to generate a valid mask m. Given the context information , using spatial relationship learning blocks After the context information is processed by the generated mask m, the rough deformation field is refined in combination with the mask to obtain the correlation field, which is expressed as:
[0072] ;
[0073] in, For the relevant field, for The number of channels.
[0074] Then, the rough deformation field Related fields Fusion to get the initial deformation field , recorded as:
[0075] ;
[0076] in, By filtering out The information (flow field) generated by the small deformation area is the area where the confidence is relatively small. The difference between the image pairs in these areas is small, so these small deformation areas are selected and filtered through a threshold.
[0077] (3) Recurrent large kernel attention sub-network.
[0078] In order to generate an accurate deformation field, this paper proposes a recurrent large kernel attention subnetwork to initialize the deformation field Based on , a series of deformation fields are estimated in multiple iterations, where a residual field is generated in each iteration and the deformation field is updated; the cyclic large core attention subnetwork contains multiple large core attention blocks connected in sequence, and the first large core attention block inputs the image features of the moving image and the fixed image (specifically, the fixed features of the first level The motion characteristics of the first level ) and the deformation field, whose output is used as the input of the next large core attention block. The last large core attention block outputs the residual field. If the current iteration is the first iteration, the deformation field input by the first large core attention block is the initialization deformation field , if the current iteration is not the first one, the deformation field input by the first large core attention block is the deformation field updated in the previous iteration; in the k+1th iteration, the updated deformation field is expressed as: ,in, is the deformation field updated at the kth iteration, is the deformation field updated in the k+1th iteration, is the k+1th residual field. When k+1=1, , is the initialization deformation field, when k+1=n, , is the final deformation field, and n is the number of iterations.
[0079] Specifically, the network consists of several large kernel attention blocks. Each large kernel attention block contains four parallel sub-layers, including: a separable large kernel convolution layer, a first convolution layer (e.g., a convolution layer of size 1×1×1), a second convolution layer (e.g., a convolution layer of size 3×3×3), and a unit shortcut layer. After the input of the large kernel attention block is processed by the four parallel sub-layers, the outputs of the four parallel sub-layers are element-wise added ( Figure 3 Symbols in ), to generate the output of the large kernel attention block. The parallel paths within each large kernel attention block can not only process long-range spatial information, but also capture and fuse spatial details at finer scales.
[0080] Those skilled in the art will appreciate that the identity shortcut layer is a common term in the art, which means that input is directly passed to output.
[0081] In an embodiment of the present invention, in order to expand the range of the receptive field, this paper introduces an attention mechanism to enhance the separable large kernel module. In the attention mechanism, the key step is to generate an attention map to illustrate the importance of different parts. There are two well-known methods for establishing relationships between different parts. The first method involves using a self-attention mechanism to capture long-range dependencies. However, as discussed above, there are obvious disadvantages when applying the self-attention mechanism (i.e., the related technology of Transformer introduced in the above background) to computer vision. The second method involves using large kernel convolution to establish correlations and generate attention maps. However, considering the large amount of computation and parameter burden associated with large kernel convolution, this method still has obvious disadvantages.
[0082] In order to overcome the above shortcomings and take advantage of the self-attention mechanism and large kernel convolution, the present invention proposes to capture long-range relations through a separable large kernel convolution layer. Specifically, the separable large kernel convolution layer is decomposed, and the kernel size of the separable large kernel convolution layer is recorded as , decompose it into a depth-expanded convolutional layer , Depth convolution layer and 1×1×1 convolution layer, Deep convolutional layers, The depth-expanded convolution layer is connected to the 1×1×1 convolution layer in sequence. At the same time, the output of the 1×1×1 convolution layer is also matrix multiplied with the input of the separable large kernel convolution layer (equivalent to adding attention operation) to obtain the output of the separable large kernel convolution layer. Figure 3 Symbols in represents the matrix multiplication operation, Figure 3 The dotted box on the right shows the principles of the three types of convolutional layers after decomposition; K is the convolution kernel parameter of the separable large kernel convolution layer, and K can refer to any convolution kernel size, for example, K can be 7, 13, 21, etc. d is the expansion rate during decomposition. Through this decomposition, long-range relations can be captured with a small computational cost and fewer parameters. After obtaining the long-range relations, the importance of related voxels can be estimated and the attention map can be generated. The separable large kernel convolution layer can be expressed as:
[0083] ;
[0084] Among them, DW-Conv is a deep convolutional layer, DW-D-Conv is a deep extended convolutional layer, It is a 1×1×1 convolutional layer, F is the input feature, and attention refers to the attention information output by the separable large kernel convolutional layer.
[0085] like Figure 3 As shown, a schematic diagram of the principle of the large kernel attention block is provided.
[0086] The final deformation field is obtained through the scheme introduced above After that, the moving image Implement space warping operation to obtain the image Ability to accurately achieve spatial alignment with a fixed image.
[0087] 2. Experimental verification.
[0088] In order to illustrate the performance of the above solution of the present invention, it was verified through experiments.
[0089] Table 1 presents a detailed comparison of the registration performance of the method of the present invention and the existing benchmark technologies. Ours in Table 1 represents the method of the present invention, and the remaining benchmark technologies are the existing technologies introduced in the above-mentioned background technology. It can be clearly seen from Table 1 that the performance of the method of the present invention in the Dice similarity coefficient (DSC) significantly exceeds the previous research results, whether on the LPBA (which is a brain dataset) or SLIVER (which is a liver dataset) dataset. DSC (Dice similarity coefficient) is a similarity measurement coefficient. In this experiment, the higher the DSC score, the better the registration effect. Specifically, in the LPBA dataset, compared with the second-ranked Dual-PRNet method, the method of the present invention achieved a DSC improvement of up to 3.2 percentage points. This advantage is more prominent on the SLIVER dataset. The method of the present invention achieved an excellent DSC score of 92.8%, which is 3.4 percentage points higher than the benchmark model. Although the TransMorph algorithm shows a certain degree of advantage over CNN-based methods on the IXI (which is a brain dataset) dataset, the method of the present invention surpasses TransMorph in both key evaluation indicators, demonstrating more comprehensive superiority.
[0090] Table 1: Comparison results of LPBA, IXI and silver datasets
[0091]
[0092] Looking at the DSC scores of multiple data sets, the method of the present invention continues to lead, which strongly proves its high efficiency and reliability in medical image registration tasks. In addition, the method of the present invention shows a lower FOLD index (Folds) on all data sets. Folds is a quantitative measure used to indicate the degree of folding of the deformation field. In this experiment, the lower the Flods value, the better. This further consolidates its position as a solution with excellent overall performance. In order to deepen intuitive understanding, Figure 4 The qualitative results were presented. Figure 4 is a visualization of an example from the LPBA dataset. Figure 4 The arrows show that the overlap between the labels of the registered moving image and the fixed image reaches the best result among these benchmark models.
[0093] Table 2 deeply analyzes the specific contributions of the two key technical components in the method of the present invention: the confidence guidance (abbreviated as CG) mechanism and the separable large kernel convolution layer (abbreviated as SLK).
[0094] Table 2: Ablation experiments
[0095]
[0096] The analysis results show that the confidence-guided mechanism significantly enhances the registration accuracy. When used alone, it still achieves suboptimal results, which are higher than the baseline model (i.e., without confidence-guided and separable large kernel convolutional layer, corresponding to the first row). Its core value lies in providing an accurate initial deformation field estimate for the network, effectively guiding the subsequent processing flow, thereby reducing the errors that may be introduced when processing deformations of different degrees, especially when processing large deformation scenes. The introduction of this mechanism is undoubtedly an important optimization of the existing registration strategy. On the other hand, the separable large kernel convolutional layer technology successfully maintains high-precision performance comparable to that of conventional large kernel convolutional networks while reducing computational costs. It is not difficult to see from Table 2 that the separable large kernel convolution significantly reduces the number of model parameters compared to conventional large kernel convolutional networks (Params is the number of parameters, K is the unit of measurement: kilobytes). The Flods index shows that the separable large kernel convolution alleviates the deformation field folding problem. The separable large kernel convolutional layer achieves a harmonious unity of computational efficiency and model performance through its unique structural design, which is particularly important for resource-sensitive medical image processing applications. By comprehensively using confidence guidance and separable large kernel convolution, the method of the present invention not only achieves remarkable results in improving the registration accuracy, but also effectively addresses the challenges of computational complexity, fully demonstrating the significant advantages brought by technical synergy, and further verifying the innovation and effectiveness of the method of the present invention in terms of technical implementation and practical application.
[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiments can be implemented by software, or by means of software plus necessary general hardware platforms. Based on such understanding, the technical solutions of the above embodiments can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0098] Embodiment 2
[0099] The present invention also provides a biomedical image registration system, which is mainly used to implement the method provided in the above embodiment, such as Figure 5 As shown, the system mainly includes:
[0100] The data acquisition and preprocessing module is used to acquire biomedical images and construct image pairs after preprocessing;
[0101] A feature extraction module is used to extract image features from the moving image and the fixed image in each image pair, and to extract context information from the moving image;
[0102] A confidence guidance mechanism module is used to perform spatial relationship enhancement processing on image features of moving images and fixed images, generate a confidence map using the enhanced features, and generate an initialization deformation field in combination with the context information;
[0103] The recurrent large kernel attention subnetwork is used to iteratively optimize the initialized deformation field by using the image features of the moving image and the fixed image to obtain the final deformation field, and act on the moving image to obtain the moving image registered with the fixed image.
[0104] Technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above.
[0105] Embodiment 3
[0106] The present invention also provides a processing device, such as Figure 6 As shown, it mainly includes: one or more processors; a memory for storing one or more programs; wherein, when the one or more programs are executed by the one or more processors, the one or more processors implement the methods provided in the aforementioned embodiments.
[0107] Furthermore, the processing device also includes at least one input device and at least one output device; in the processing device, the processor, memory, input device, and output device are connected via a bus.
[0108] In the embodiment of the present invention, the specific types of the memory, input device and output device are not limited; for example:
[0109] The input device may be a touch screen, an image acquisition device, a physical button or a mouse, etc.;
[0110] The output device may be a display terminal;
[0111] The memory may be a random access memory (RAM) or a non-volatile memory such as a disk storage.
[0112] Embodiment 4
[0113] The present invention also provides a readable storage medium storing a computer program, which implements the method provided in the above embodiment when the computer program is executed by a processor.
[0114] In the embodiment of the present invention, the readable storage medium as a computer-readable storage medium can be set in the aforementioned processing device, for example, as a memory in the processing device. In addition, the readable storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk, etc., which can store program codes.
[0115] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A biomedical image registration method, characterized in that: include: Step 1: After acquiring and preprocessing biomedical images, construct image pairs; Step 2: for each image pair, extract image features from the moving image and the fixed image respectively, and extract context information from the moving image; Step 3: Perform spatial relationship enhancement processing on the image features of the moving image and the fixed image, generate a confidence map using the enhanced features, and generate an initialized deformation field in combination with the context information; wherein the number of the enhanced features is two, and a confidence map is generated using the correlation between them, and a deformation field is generated in combination with the confidence map and the pre-generated coordinate grid, which is named a rough deformation field; refine the rough deformation field using the context information to obtain a related field; fuse the rough deformation field with the related field to obtain an initialized deformation field; Step 4: Iteratively optimize the initialized deformation field using the image features of the moving image and the fixed image to obtain a final deformation field, and apply the final deformation field to the moving image to obtain a moving image registered with the fixed image.
2. A biomedical image registration method according to claim 1, characterized in that: The extracting of image features from the moving image and the fixed image respectively comprises: For fixed images, two levels of fixed features are extracted, and for moving images, two levels of motion features are extracted. The two levels of fixed features correspond to the two levels of motion features one by one. Among them, the fixed features of the first level and the motion features of the first level are used in step 4, and the fixed features of the second level and the motion features of the second level are used in step 3.
3. A biomedical image registration method according to claim 2, characterized in that: The spatial relationship enhancement processing of the image features of the moving image and the fixed image comprises: Setting up the spatial relationship learning block Learning blocks with dependencies , the spatial relationship enhancement processing is performed on the image features of the moving image and the fixed image to obtain the enhanced features, which are expressed as: ; ; in, and Represents two enhanced features, is the second level of motion features, is a fixed feature of the second level.
4. A biomedical image registration method according to claim 1, characterized in that: Refining the rough deformation field using the context information to obtain the relevant field includes: Filter the confidence map using an adaptive threshold to generate a mask; Learning blocks using spatial relations After processing the context information with the mask generated by , the rough deformation field is refined in combination with the mask to obtain the correlation field.
5. A biomedical image registration method according to claim 1, characterized in that: The step of iteratively optimizing the initial deformation field by using the image features of the moving image and the fixed image to obtain the final deformation field comprises: Set up a cyclic large core attention subnetwork, generate a residual field in each iteration, and update the deformation field; the cyclic large core attention subnetwork contains multiple large core attention blocks connected in sequence, the first large core attention block inputs the image features and deformation field of the moving image and the fixed image, and its output is used as the input of the next large core attention block, and the last large core attention block outputs the residual field. If the current iteration is the first iteration, the deformation field input by the first large core attention block is the initialization deformation field , if the current one is not the first iteration, the deformation field input by the first large-core attention block is the deformation field updated in the previous iteration; In the k+1th iteration, the updated deformation field is expressed as: ,in, is the deformation field updated at the kth iteration, is the deformation field updated in the k+1th iteration, is the k+1th residual field. When k+1=1, , is the initialization deformation field, when k+1=n, , is the final deformation field, n is the number of iterations; Among them, the large core attention block contains four parallel sub-layers, including: a separable large core convolution layer, a first convolution layer, a second convolution layer and a unit shortcut layer. After the input of the large core attention block is processed by four parallel sub-layers, the outputs of the four parallel sub-layers are added element by element to generate the output of the large core attention block.
6. A biomedical image registration method according to claim 5, characterized in that: Also includes: The separable large kernel convolution layer is decomposed, and the kernel size of the separable large kernel convolution layer is recorded as , decompose it into sequentially connected Depth-expanded convolutional layers, The depth convolution layer and the 1×1×1 convolution layer, at the same time, The output of the convolution layer is also matrix multiplied with the input of the separable large kernel convolution layer to obtain the output of the separable large kernel convolution layer; where K is the convolution kernel parameter of the separable large kernel convolution layer, and d is the expansion rate during decomposition.
7. A biomedical image registration system, characterized in that: include: The data acquisition and preprocessing module is used to acquire biomedical images and construct image pairs after preprocessing; A feature extraction module is used to extract image features from the moving image and the fixed image in each image pair, and to extract context information from the moving image; The confidence guidance mechanism module is used to perform spatial relationship enhancement processing on the image features of the moving image and the fixed image, generate a confidence map using the enhanced features, and generate an initialized deformation field in combination with the context information; wherein the number of the enhanced features is two, and the confidence map is generated using the correlation between them, and a deformation field is generated in combination with the confidence map and the pre-generated coordinate grid, which is named a rough deformation field; the rough deformation field is refined using the context information to obtain a related field; the rough deformation field is merged with the related field to obtain an initialized deformation field; The recurrent large kernel attention subnetwork is used to iteratively optimize the initialized deformation field by using the image features of the moving image and the fixed image to obtain the final deformation field, and act on the moving image to obtain the moving image registered with the fixed image.
8. A processing device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Unsupervised learning medical image registration method and system
CN113763441A
Unsupervised single-mode medical image registration method based on deep learning
CN115578427A
Brain medical image registration method and system based on local-global information cooperation
CN116309754A
Medical image registration method and device based on deep learning neural network
CN116485853A
Deformable medical image registration method based on deformation field fusion
CN116977387A
