Endoscopic image registration method and device based on multi-scale context
By introducing a hierarchical aggregation module and an adaptive feature scaling module into the deep convolutional network, the problem of reducing the reversibility of the registration field in the traditional cascade registration framework is solved, and higher-precision endoscopic image registration is achieved, which is suitable for High real-time requirements for clinical applications.
Patent Information
- Application Number
- CN202111088565.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-16
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-09-16
AI Technical Summary
The traditional cascade registration framework reduces the reversibility of the registration field in clinical applications, resulting in low registration accuracy.
A multi-scale context endoscopic image registration method is used to generate a feature pyramid through a deep convolutional network, and a hierarchical aggregation module and an adaptive feature scaling module are integrated in each convolution block to integrate multi-scale context information and adaptive scaling. Feature maps,generate parameterized registration fields.
It improves the registration accuracy with a smaller number of folded pixels, avoids the reduction in reversibility of the registration field caused by the cascade framework, and meets the high real-time requirements in computer-assisted surgery.
Smart Images

Figure CN113850852B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image registration, and in particular to a multi-scale context-based endoscopic image registration method and device. Background Art
[0002] Image registration is a basic task in the field of image processing, which aims to establish the correspondence between edges, key points, objects or surfaces in a pair of n-dimensional images. Image registration is crucial in clinical applications, such as tumor growth monitoring, computer-assisted surgery, etc., which require accurate image registration.
[0003] However, traditional registration methods cannot meet the real-time requirements of some clinical applications. For example, endoscopic image registration in computer-assisted surgery requires extremely high real-time performance. Deep learning-based registration methods have been shown to be a promising alternative to traditional methods, which align any new image pairs from the same distribution within a fraction of a second of inference time. However, this method relies heavily on the quality and quantity of ground truth (such as registration fields or key points) to establish deformation maps. Inspired by traditional iterative optimization techniques, many works have adopted a cascaded registration framework to handle large deformation areas that are not considered in VoxelMorph. However, the cascaded registration framework is not only cumbersome, but also reduces the reversibility of the registration field, that is, the registration field will contain more folded pixels. Collapsed pixels are impossible in practice, so the cascaded registration framework often causes large registration errors in clinical applications. Summary of the invention
[0004] The embodiments of the present application provide a multi-scale contextual endoscopic image registration method and device for solving the following technical problems: the traditional cascade registration framework reduces reversibility and has low registration accuracy.
[0005] The present application embodiment adopts the following technical solutions:
[0006] On the one hand, an embodiment of the present application provides an endoscopic image registration method based on multi-scale context, the method comprising: performing grayscale processing on a received floating image and a fixed image, and synthesizing the processed floating image and the fixed image into one image to obtain a composite image; encoding the composite image through a deep convolutional network to generate a feature pyramid; within each convolution block of the feature pyramid, detecting the multi-scale context information of the composite image through a hierarchical aggregation module to obtain a multi-scale feature map of the composite image; adaptively scaling the multi-scale feature map through an adaptive feature scaling module to obtain a target multi-scale feature map; decoding the target multi-scale feature map through the deep convolutional network to generate a corresponding parameterized registration field.
[0007] The embodiment of the present application integrates a hierarchical aggregation module and an adaptive feature scaling module in the convolution block of a deep convolutional network. The hierarchical aggregation module detects the multi-scale context information of the synthesized image in each convolution block, and fuses the multi-scale context information into the multi-scale feature map, which can better handle the displacement between a pair of images during the registration process. The multi-scale feature map is then refined at an angle in the global receptive field by the adaptive feature scaling module, which can overcome the defect that the traditional convolution operation can only use information in a local area at a time, thereby adaptively and differentially re-dividing the multi-scale feature map according to the statistics of the image features themselves. This solution can obtain better registration accuracy with a smaller number of folded pixels.
[0008] In a feasible implementation, encoding the synthetic image through a deep convolutional network to generate a feature pyramid specifically includes: inputting the synthetic image into the encoding path of the deep convolutional network; wherein the deep convolutional network is a U-Net architecture; extracting features of the synthetic image input into the encoding path through a convolution block with a step size of m to generate a feature pyramid containing n levels; wherein each convolution block contains a hierarchical aggregation module and an adaptive feature scaling module.
[0009] The embodiment of the present application parameters the registration field by constructing a deep convolutional network with a U-shaped structure. Generating the registration field by a single convolutional network can avoid the decrease in the reversibility of the registration field caused by the cascade framework.
[0010] In a feasible implementation, within each convolution block of the feature pyramid, the multi-scale context information of the synthetic image is detected by a hierarchical aggregation module to obtain a multi-scale feature map of the synthetic image, specifically including: in the hierarchical aggregation module, the feature map of the synthetic image is projected into a target feature map by using a maximum pooling technique and a convolution operation; wherein the target feature map and the multi-scale feature map have the same resolution in spatial and channel dimensions; based on the target feature map and the feature map of the synthetic image, a fusion feature is constructed, and a feature transformation is performed on the fusion feature; the fusion features after each step of feature transformation are connected to obtain a multi-scale feature; wherein the multi-scale feature contains the multi-scale context information; based on the multi-scale feature, a multi-scale feature map of the synthetic image is generated.
[0011] In a feasible implementation, the hierarchical aggregation module includes a first hierarchical aggregation module and a second hierarchical aggregation module; the feature map of the synthesized image is projected into the target feature map by using the maximum pooling technology and the convolution operation, specifically including: in the decoding stage, through the first hierarchical aggregation module, according to Y=Conv 1×1(MP(X)), projecting the feature map of the synthesized image into the target feature map; where X is the feature map of the synthesized image, Conv 1×1 represents a 1×1 convolution operation; MP represents a maximum pooling operation; Y represents the target feature map; or, in the encoding stage, through the second-level aggregation module, according to Y=Conv 1×1 (X) Projecting the feature map of the synthesized image into the target feature map.
[0012] In a feasible implementation manner, based on the target feature map and the feature map of the synthetic image, a fusion feature is constructed, and feature transformation is performed on the fusion feature, specifically including: 1 =σ(Conv 3×3 (X)), the feature map of the synthetic image is transformed by 3×3 convolution operation and Leaky ReLU activation function to obtain the first step output feature O 1 ; Among them, Conv 3×3 Table 3×3 convolution operation; σ is the Leaky ReLU activation function; according to Concat(Y,O i-1 ), connect the target feature map with the output feature of the previous step to obtain the fusion feature; wherein Concat is a connection operation; according to O i =σ(Conv 3×3 (Concat(Y,O i-1 ))), perform feature transformation on the fusion feature to obtain the output feature O of the i-th step i ; Wherein, 2≤i≤S, S is the total number of steps for feature transformation.
[0013] In a feasible implementation, the fusion features after each step of feature transformation are connected to obtain multi-scale features, and a multi-scale feature map of the synthetic image is generated based on the multi-scale features, specifically including: according to X ms =Concat(O 1 ,……,O S ), output feature O at each step i Connect and obtain the multi-scale feature X ms ; Based on the multi-scale feature X ms , generate the corresponding multi-scale feature map.
[0014] The embodiment of the present application connects the output of each 3×3 convolution together through a hierarchical aggregation module to obtain multi-scale features of the image. Compared with the traditional operation of extracting features of different scales, this method is more parameter efficient, and the hierarchical aggregation module allows any number of 3×3 convolutions. Therefore, the number of feature scales can be adjusted according to the available computing resources.
[0015] In a feasible implementation, the multi-scale feature map is adaptively scaled by an adaptive feature scaling module to obtain a target multi-scale feature map, specifically including: generating a channel descriptor by the adaptive feature scaling module; wherein the channel descriptor embeds the global distribution of the channel features of the multi-scale feature map; inputting the channel descriptor into a multi-layer perceptron MLP to generate a channel scaling map; and adaptively scaling the multi-scale feature map by the channel scaling map to obtain the target multi-scale feature map.
[0016] In a feasible implementation manner, a channel descriptor is generated by the adaptive feature scaling module, specifically comprising: c = GAP ( ms ), generate the channel descriptor z of the multi-scale feature map c Among them, F GAP is a global average pooling operation; the channel descriptor is input into a multi-layer perceptron MLP to generate a channel expansion map, specifically including: according to s c = 2 (W 2 σ 1 (W 1 z c )) to generate channel expansion graph s c ; Among them, σ 1 represents the ReLU activation function, σ 2 represents the sigmoid activation function, W 1 and W 2 represents the weights of the two fully connected layers of the deep convolutional network; adaptively scaling the multi-scale feature map through the channel scaling map to obtain the target multi-scale feature map, specifically comprising: according to Multiply the channel expansion map with the corresponding element in the multi-scale feature map to obtain the target multi-scale feature map Among them, ⊙ is the element-wise product calculation method.
[0017] Since the hierarchical aggregation module is based on convolution operations and is used to extract feature maps within the local receptive field, this feature inevitably weakens the expressiveness of the multi-scale feature map. The embodiment of the present application introduces an adaptive feature scaling mechanism to refine the multi-scale feature map based on the relationship between the channels of the feature map, thereby solving the above problem.
[0018] In a feasible implementation, after decoding the target multi-scale feature map through the deep convolutional network to generate a corresponding parameterized registration field, the method further includes: resampling the floating image through the parameterized registration field, mapping each pixel in the floating image to a corresponding mapping position in the fixed image; deforming the mapped floating image through a deformation operation to obtain a corresponding deformed image; wherein the similarity between the deformed image and the fixed image is greater than a preset threshold.
[0019] On the other hand, an embodiment of the present application also provides an endoscopic image registration device based on multi-scale context, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor so that the at least one processor can execute an endoscopic image registration method based on multi-scale context as described in any of the above embodiments.
[0020] In summary, this application proposes an effective hierarchical aggregation module to fuse multi-scale contextual information into feature maps, so as to better handle the displacement between a pair of images during the registration process. The hierarchical aggregation module and the adaptive feature scaling module are inserted into the general U-Net architecture to achieve accurate and flexible deformation registration. Detailed experiments and analysis show that the scheme of this application can improve the registration accuracy with fewer collapsed pixels. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0022] Figure 1 A flow chart of an endoscopic image registration method based on multi-scale context provided in an embodiment of the present application.
[0023] Figure 2 A schematic diagram of an unsupervised deformable registration framework provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of the structure of an endoscopic image registration device based on multi-scale context is provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0026] Figure 1 A flowchart of an endoscopic image registration method based on multi-scale context is provided in an embodiment of the present application, such as Figure 1 As shown, the endoscopic image registration method provided in the embodiment of the present application specifically includes steps S101-S106:
[0027] S101, the unsupervised deformable registration framework processes the received floating image and fixed image into grayscale images, and synthesizes the processed floating image and fixed image into one image to obtain a synthesized image.
[0028] Specifically, the present application pre-constructs an unsupervised deformable registration framework for image registration. During the construction and training phase, the unsupervised deformable registration framework mainly consists of a deep convolutional network and a deformation operation. In addition, the framework can be combined with iterative refinement techniques to further improve the quality of deformed images during inference. Figure 2 A schematic diagram of an unsupervised deformable registration framework provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the unsupervised deformable registration framework 200 preprocesses the received floating image 201 and fixed image 202 into grayscale images, and then synthesizes the two grayscale images into one image to obtain a synthesized image.
[0029] In a feasible implementation, the image matrix of a grayscale image with a resolution of a*b is [a,b,1], in which the first two dimensions represent the resolution of the image and the third dimension represents the channel component. If the resolutions of two grayscale images are both 300*400, then the image matrices of the two images are both [300,400,1], and the synthesis method for synthesizing the two grayscale images is: adding the image matrices of the two grayscale images in the third dimension, and the image matrix of the resulting synthesized image is [300,400,2].
[0030] In one embodiment, when the method is applied to endoscopic image registration in computer-assisted surgery, the floating image and the fixed image may be two adjacent frames of images in the endoscopic image.
[0031] S102, the unsupervised deformable registration framework encodes the synthetic image through a deep convolutional network to generate a feature pyramid.
[0032] Specifically, Figure 2 As shown, the deep convolutional network 203 in the unsupervised deformable registration framework 200 is a U-Net architecture, including an encoding stage, a decoding stage, and a jump connection. The unsupervised deformable registration framework 200 inputs the obtained synthetic image into the encoding path of the deep convolutional network 203.
[0033] Furthermore, the deep convolutional network 203 extracts features from the synthetic image of the input coding path through a convolution block with a step size of m, and generates a feature pyramid containing n levels.
[0034] In one embodiment, the deep convolutional network 203 encodes the input synthetic image through a convolution block with a stride of 2, thereby generating a feature pyramid containing 4 levels. The encoding method can be implemented using existing technologies such as downsampling.
[0035] S103, the unsupervised deformable registration framework detects the multi-scale context information of the synthesized image through a hierarchical aggregation module inside each convolution block of the feature pyramid to obtain a multi-scale feature map.
[0036] Specifically, the key to obtaining feature maps at multiple scales is to gradually increase the receptive field. The receptive field refers to the mapping area from pixels in the feature map to the input image. Whenever a feature map is subjected to a convolution operation, the effective receptive field is expanded. Therefore, the embodiment of the present application adds a hierarchical aggregation module and an adaptive feature scaling module to each convolution block in the deep convolutional network. A hierarchical aggregation transformation module is designed by connecting multiple 3×3 convolutions in a hierarchical manner. An adaptive feature scaling module is designed based on the relationship between channels of the feature map.
[0037] Furthermore, after each convolution block extracts features from the synthetic image to obtain a feature map, the hierarchical aggregation module uses maximum pooling technology and convolution operations to project the feature map of the synthetic image into a target feature map with the same resolution as the final output multi-scale feature map in spatial and channel dimensions.
[0038] Furthermore, the hierarchical aggregation module constructs a fusion feature of the target feature map and the feature map of the synthetic image based on the obtained target feature map and the feature map of the synthetic image, and performs feature transformation on the fusion feature to expand the effective receptive field. Then, the fusion features after each feature transformation are connected to obtain the multi-scale features of the synthetic image. This method can be used to fuse the multi-scale context information of the synthetic image into the multi-scale features. Finally, based on the obtained multi-scale features, a multi-scale feature map of the synthetic image is generated.
[0039] As a feasible implementation, the hierarchical aggregation module includes a hierarchical aggregation module A (i.e., a first hierarchical aggregation module) and a hierarchical aggregation module B (i.e., a second hierarchical aggregation module). Hierarchical aggregation module A combines a maximum pooling operation and a 1×1 convolution operation, and hierarchical aggregation module B combines a single 1×1 convolution operation.
[0040] Furthermore, in each convolutional block in the decoding stage, through the first-level aggregation module, according to Y = Conv 1×1 (MP(X)), project the feature map of the synthesized image into the target feature map. Where X is the feature map of the synthesized image, Conv 1×1 represents a 1×1 convolution operation, MP represents the maximum pooling operation, and Y represents the target feature map.
[0041] Furthermore, in the convolution block of the encoding stage, through the second-level aggregation module, according to Y = Conv 1×1 (X), project the feature map of the synthesized image into the target feature map.
[0042] Further, according to O 1 =(Conv 3×3 (X)), the feature map X of the synthetic image is transformed through 3×3 convolution operation and Leaky ReLU activation function to obtain the first step output feature O 1 ; Among them, Conv 3×3 Table 3×3 convolution operation; σ is the Leaky ReLU activation function. Then according to Concat(Y,O i-1 ), the target feature map Y is combined with the output feature O of the previous step i-1 Connect to obtain fusion features; Concat is a connection operation.
[0043] Further, according to O i =σ(Conv 3×3 (Concat(Y,O i-1 ))) Through 3×3 convolution operation and LeakyReLU activation function, the fusion feature Concat(Y,O i-1 ) to perform feature transformation and obtain the output feature O of the i-th step i ; Where 2≤i≤S, S is the total number of steps for feature transformation. The purpose of feature transformation is to expand the receptive field.
[0044] In one embodiment, in order to strike a balance between accuracy and efficiency, experiments have shown that the optimal value of S is 2. However, according to specific requirements of actual applications, S can be flexibly set and is not limited to a value of 2.
[0045] Furthermore, the Concat function is used to combine the output features O obtained in each step i Perform a connection operation to obtain multi-scale features X ms =Concat(O 1 ,……,O S ). Finally, based on the obtained multi-scale feature X ms , generating the corresponding multi-scale feature map. Compared with the summation operation, the concatenation operation can maintain the feature expression ability of the multi-scale feature map as a whole. Compared with the operation in the Inception module that extracts features of different scales by increasing the size of the convolution kernel, the hierarchical aggregation module in this application is more parameter efficient. In addition, the hierarchical aggregation module allows any number of 3×3 convolutions, so the number of feature scales can be adjusted according to the available computing resources.
[0046] S104, the unsupervised deformable registration framework adaptively scales the multi-scale feature map through an adaptive feature scaling module to obtain a target multi-scale feature map.
[0047] Specifically, the multi-scale feature maps generated by the hierarchical aggregation module have achieved remarkable performance, but there is still a problem. The hierarchical aggregation module is based on convolution operations to extract feature maps within the local receptive field, and this feature inevitably weakens the expressive power of the multi-scale feature maps.
[0048] To solve the above problems, an adaptive feature scaling module is built inside each convolutional block of the deep convolutional network. This module refines the multi-scale feature map generated by the hierarchical aggregation module based on the channel relationship of the feature map. First, the adaptive feature scaling module generates a channel descriptor through global average pooling operation. The channel descriptor embeds the global distribution of the channel features of the multi-scale feature map.
[0049] Furthermore, the channel descriptor is input into a multilayer perceptron (MLP) to generate a channel scaling map. The multi-scale feature map is then adaptively scaled using the channel scaling map to obtain a target multi-scale feature map.
[0050] In a feasible implementation, the adaptive feature scaling module performs a global average pooling operation according to the formula z c =F GAP (X ms ), generate channel descriptors z of multi-scale feature maps c Among them, F GAP is a global average pooling operation to promote the information from the global receptive field to be utilized by its lower layers.
[0051] Furthermore, the adaptive feature scaling module converts the channel descriptor z c Input into the multi-layer perceptron (MLP) and according to s c =σ 2 (W 2 σ 1 (W 1 z c )) to generate channel expansion graph s c ; Among them, σ 1 represents the ReLU activation function, σ 2 represents the sigmoid activation function, W 1 and W 2 Represents the weights of two fully connected layers of a deep convolutional network.
[0052] Furthermore, the adaptive feature scaling module is based on Scale the channel c Multiply it with the corresponding element in the multi-scale feature map generated in the hierarchical aggregation module to obtain the target multi-scale feature map Among them, ⊙ represents the element-wise product operation method.
[0053] S105. The unsupervised deformable registration framework decodes the target multi-scale feature map through a deep convolutional network to generate a corresponding parameterized registration field.
[0054] Specifically, the deep convolutional network propagates the pyramid feature correspondences of each level generated in the encoding stage to the decoding stage for decoding through long-distance skip connections. In the decoding stage, upsampling (repeating rows and columns of feature maps), concatenating feature maps, and convolutional blocks are used alternately to generate the output parameterized registration field.
[0055] S106, the unsupervised deformable registration framework maps the floating image through a parameterized registration field, and deforms the mapped floating image through a deformation operation to obtain a corresponding deformed image.
[0056] Specifically, Figure 2 As shown, the floating image 201 is resampled by parameterizing the registration field 204 , and each pixel in the floating image 201 is mapped to a corresponding mapping position in the fixed image 202 , so that the floating image 201 is aligned with the fixed image 202 .
[0057] Furthermore, through the deformation operation 205, the mapped floating image 201 is deformed to obtain a corresponding deformed image 206. The obtained deformed image 206 is the final result of the image registration. The similarity between the deformed image 206 and the fixed image 202 can reflect the accuracy of the image registration. Under normal circumstances, the similarity between the deformed image 206 and the fixed image 202 should be greater than a preset threshold.
[0058] In one embodiment, the deformation operation 205 may employ a warp deformation tool.
[0059] Figure 3 A schematic diagram of the structure of an endoscopic image registration device based on multi-scale context provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the device includes:
[0060] At least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform:
[0061] Processing the received floating image and fixed image into grayscale images, and synthesizing the processed floating image and fixed image into one image to obtain a synthesized image;
[0062] Encode the synthetic image through a deep convolutional network to generate a feature pyramid;
[0063] In each convolution block of the feature pyramid, the multi-scale context information of the synthesized image is detected through the hierarchical aggregation module to obtain the multi-scale feature map of the synthesized image;
[0064] The multi-scale feature map is adaptively scaled by the adaptive feature scaling module to obtain the target multi-scale feature map;
[0065] The target multi-scale feature map is decoded through a deep convolutional network to generate the corresponding parameterized registration field.
[0066] The unsupervised deformable registration framework provided in the embodiment of the present application has been verified on the datasets of SCARED and MICCAI InstrumentSegmentation and Tracking Challenge 2015. The experimental results show that compared with the three commonly used registration methods SyN, NiftyReg and VoxelMorph, the framework of the present application achieves better registration accuracy with fewer folded pixels. The embodiment of the present application proposes a new endoscopic image registration method based on multi-scale context, introduces a hierarchical aggregation module and an adaptive feature scaling module into the framework, and provides a new method for obtaining an ideal registration field between a pair of images.
[0067] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0068] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0069] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the embodiments of the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present application should be included in the scope of the claims of the present application.
Claims
1. A multi-scale context-based endoscopic image registration method, characterized in that: The method comprises: grayscale processing is performed on the received floating image and the fixed image, and the processed floating image and the fixed image are combined into one image to obtain a combined image; The synthetic image is encoded by a deep convolutional network to generate a feature pyramid, which specifically includes: Input the synthesized image into the encoding path of the deep convolutional network; wherein the deep convolutional network is a U-Net architecture; extract features of the synthesized image input into the encoding path through a convolutional block with a step size of m, and generate a feature pyramid containing n levels; wherein each convolutional block contains a hierarchical aggregation module and an adaptive feature scaling module; In each convolution block of the feature pyramid, the multi-scale context information of the synthesized image is detected by a hierarchical aggregation module to obtain a multi-scale feature map, which specifically includes: In the hierarchical aggregation module, a maximum pooling technique and a convolution operation are used to project the feature map of the synthesized image into a target feature map; wherein the target feature map and the multi-scale feature map have the same resolution in spatial and channel dimensions; Based on the target feature map and the feature map of the synthetic image, a fusion feature is constructed, and a feature transformation is performed on the fusion feature; the fusion feature after each step of feature transformation is connected to obtain a multi-scale feature; wherein the multi-scale feature contains the multi-scale context information; based on the multi-scale feature, a multi-scale feature map of the synthetic image is generated; Adaptively scaling the multi-scale feature map through an adaptive feature scaling module to obtain a target multi-scale feature map; The target multi-scale feature map is decoded by the deep convolutional network to generate a corresponding parameterized registration field.
2. The multi-scale context-based endoscopic image registration method according to claim 1, characterized in that: The hierarchical aggregation module includes a first hierarchical aggregation module and a second hierarchical aggregation module; The feature map of the synthesized image is projected into the target feature map by using the maximum pooling technique and the convolution operation, specifically including: In the decoding stage, through the first-level aggregation module, according to Y=Conv 1×1 (MP(X)), projecting the feature map of the synthesized image into the target feature map; where X is the feature map of the synthesized image, Conv 1×1 represents a 1×1 convolution operation; MP represents a maximum pooling operation; Y represents the target feature map; or, In the encoding stage, through the second-level aggregation module, according to Y=Conv 1×1 (X) Projecting the feature map of the synthesized image into the target feature map.
3. The multi-scale context-based endoscopic image registration method according to claim 2, characterized in that: Based on the target feature map and the feature map of the synthetic image, a fusion feature is constructed, and feature transformation is performed on the fusion feature, specifically including: According to O1=σ(Conv 3×3 (X)), the feature map of the synthetic image is transformed by a 3×3 convolution operation and a Leaky ReLU activation function to obtain the first step output feature O1; wherein Conv 3×3 represents a 3×3 convolution operation; σ is the Leaky ReLU activation function; According to Concat(Y,O i-1 ), connect the target feature map with the output feature of the previous step to obtain the fusion feature; wherein Concat is a connection operation; According to O i =σ(Conv 3×3 (Concat(Y,O i-1 ))), perform feature transformation on the fusion feature to obtain the output feature O of the i-th step i ; Wherein, 2≤i≤S, S is the total number of steps for feature transformation.
4. The multi-scale context-based endoscopic image registration method according to claim 3, characterized in that: The fusion features after each step of feature transformation are connected to obtain multi-scale features, and a multi-scale feature map of the synthetic image is generated based on the multi-scale features, specifically including: According to X ms =Concat(01,...,O S ), output feature O at each step i Connect and obtain the multi-scale feature X ms ; Based on the multi-scale feature X ms , generate the corresponding multi-scale feature map.
5. The multi-scale context-based endoscopic image registration method according to claim 4, characterized in that: Adaptively scaling the multi-scale feature map by an adaptive feature scaling module to obtain a target multi-scale feature map specifically includes: Generate a channel descriptor through the adaptive feature scaling module; wherein the channel descriptor embeds the global distribution of the channel features of the multi-scale feature map; Inputting the channel descriptor into a multi-layer perceptron MLP to generate a channel expansion graph; The multi-scale feature map is adaptively scaled by using the channel scaling map to obtain the target multi-scale feature map.
6. The multi-scale context-based endoscopic image registration method according to claim 5, characterized in that: A channel descriptor is generated through the adaptive feature scaling module, specifically including: According to z c =F GAP (X ms ), generate the channel descriptor z of the multi-scale feature map c ; Among them, F GAP is the global average pooling operation; The channel descriptor is input into a multi-layer perceptron MLP to generate a channel expansion graph, specifically including: According to s c =σ2(W2σ1(W1z c )) to generate channel expansion graph s c ; Wherein, σ1 represents the ReLU activation function, σ2 represents the sigmoid activation function, and W1 and W2 represent the weights of the two fully connected layers of the deep convolutional network; Adaptively scaling the multi-scale feature map through the channel scaling map to obtain the target multi-scale feature map specifically includes: according to Multiply the channel expansion map with the corresponding element in the multi-scale feature map to obtain the target multi-scale feature map Among them, ⊙ is the element-wise product calculation method.
7. The multi-scale context-based endoscopic image registration method according to claim 1, characterized in that: After decoding the target multi-scale feature map through the deep convolutional network to generate a corresponding parameterized registration field, the method further includes: Resampling the floating image through the parameterized registration field, mapping each pixel in the floating image to a corresponding mapping position in the fixed image; The mapped floating image is deformed through a deformation operation to obtain a corresponding deformed image; wherein the similarity between the deformed image and the fixed image is greater than a preset threshold.
8. An endoscopic image registration device based on multi-scale context, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a multi-scale context-based endoscopic image registration method according to any one of claims 1-7.
Citation Information
Patent Citations
Unsupervised medical image registration method and system based on deep learning
CN113344991A
ML-based methods for pseudo-CT and HR mr image estimation
US20200034948A1
