Medical image recovery method based on state space dual mechanism

Through the combination of the state space dual mechanism and the deep feature conversion layer, the problem of insufficient detail processing and computational efficiency in medical image restoration technology is solved, efficient low-quality image restoration and artifact reduction are achieved, and the diagnostic accuracy of medical images is significantly improved. sex.

CN118781002APending Publication Date: 2024-10-15HARBIN INST OF TECH

Patent Information

Application Number
CN202410995478.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing medical image restoration technology has deficiencies in detail processing and computational efficiency. In particular, the restoration effect of low-resolution images is poor, and artifacts seriously affect diagnosis.

Method used

Using a method based on the state space dual mechanism, low-quality images are mapped to latent space through convolution, using deep feature conversion layers and multiple meta-state space dual clusters for processing, and combining local perception and global modeling to achieve low-quality input images Efficient mapping relationship learning between high-quality output images.

Benefits of technology

It improves the recovery effect of medical images, improves detail processing capabilities and computing efficiency, reduces the occurrence of artifacts, and significantly improves image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118781002A_ABST
    Figure CN118781002A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medical image processing, and discloses a medical image restoration method based on a state space duality mechanism, which comprises the following steps: inputting a low-quality image, and mapping the low-quality image into a hidden space through convolution to obtain a feature map; inputting the feature map into a depth feature conversion layer, and outputting a clear restored image after the feature map is processed by the depth feature conversion layer; the depth feature conversion layer processing step comprises the following steps: processing an input feature map through a plurality of meta-state space dual clusters; and processing and outputting the feature map after the dual cluster processing of the plurality of meta-state spaces through convolution. And after the convolution-processed feature map and the input residual error are added, a clear restored image is output. According to the method, the advantages of local sensing and global modeling are combined, and efficient learning of the mapping relation between the low-quality input image and the high-quality output image is realized, so that the recovery effect of the medical image is improved, and the defects in detail processing and calculation efficiency in the prior art are overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of medical image processing, and specifically to a medical image restoration method based on a state-space duality mechanism. Background Art

[0002] Medical images are acquired through a variety of medical imaging modalities, including magnetic resonance imaging (MRI), computed tomography (CT), and positron emission tomography (PET). These acquired images effectively improve the accuracy of diagnosis, enabling medical professionals to better identify pathologies and provide more precise treatments. However, different imaging modalities face different problems that stem from their physical principles. For MRI images, the imaging process requires longer scanning times than other technologies, and the cost of obtaining high-resolution scans is beyond the acceptable range. If high-resolution images can be generated from low-resolution images after post-processing, this technology will be able to serve more medical facilities. For CT images, various methods utilize this technology and provide different diagnoses, such as whole-body CT and dental CT. The use of X-ray imaging requires a trade-off between radiation dose and image quality, and corresponding low-dose CT technology has also been developed. However, due to the limitations of imaging physics, the image quality is limited, and many methods have been proposed to improve image quality.

[0003] Although medical imaging is different from natural images, the corresponding statistics of information and degradation make it difficult to directly apply existing methods to medical images. Many algorithms designed specifically for medical images have been proposed, including MRI super-resolution and CT denoising. However, medical professionals are always concerned about the credibility of a given algorithm. Artifacts that may appear in natural images are even less acceptable in medical images because these artifacts seriously affect the diagnostic process. Therefore, the interpretability of the algorithm is crucial. Traditional image processing techniques include total variation (TV) regularization and partial differential equations, which are theoretically reliable. It is worth mentioning that the number of images has increased dramatically, and although more mathematical tools have been used, these manually designed prior knowledge still fails in some cases.

[0004] Application Contents

[0005] The purpose of this application is to provide a medical image restoration method based on a state-space dual mechanism that combines the advantages of local perception and global modeling to achieve efficient learning of the mapping relationship between low-quality input images and high-quality output images, thereby improving the restoration effect of medical images and addressing the deficiencies of the prior art in detail processing and computational efficiency.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] The medical image restoration method based on the state space dual mechanism of the present invention comprises inputting a low-quality image, mapping the low-quality image into a latent space by convolution, and obtaining a feature map;

[0008] The feature map is input into the deep feature conversion layer, and after being processed by the deep feature conversion layer, a clear restored image is output;

[0009] The deep feature conversion layer processing steps include: processing the input feature map through multiple meta-state space dual clusters;

[0010] The feature graph processed by multiple meta-state space dual clusters is processed and output through convolution;

[0011] After adding the convolutional feature map to the input residual, the output is a clear restored image.

[0012] Furthermore, the method for processing the input feature map through the meta-state space dual cluster includes:

[0013] The input feature map is processed through multiple meta-state space dual modules;

[0014] The feature graph processed by multiple meta-state space dual modules is processed and output through convolution;

[0015] The convolutional feature map is added to the input residual and then output.

[0016] Furthermore, the method for processing the input feature map through the meta-state space dual module includes:

[0017] The input feature map is processed by the layer normalization function and output to the two-dimensional state space dual module;

[0018] The feature map processed by the layer normalization function is processed and output through a two-dimensional state space dual module;

[0019] The feature map processed by the two-dimensional state space dual module is added to the input residual and then output;

[0020] Perform layer normalization on the feature map of the added output;

[0021] The layer-normalized feature maps are processed through a fast feed-forward network;

[0022] The feature map processed by the fast feedforward network is added to the added output residual and then output.

[0023] Furthermore, the method of processing the feature graph processed by the layer normalization function through the two-dimensional state space dual module includes:

[0024] Perform linear mapping on the feature map processed by the layer normalization function to obtain four parts: z, A, Δ and x, B, C;

[0025] Process x, B, C through depth-wise separable convolution;

[0026] Activate x, B, C after depth-wise separable convolution through SiLU function;

[0027] Perform four-way scanning on x, B, C, A and Δ activated by SiLU function;

[0028] The results of the four-way scanning are processed by a layer normalization function;

[0029] Activate z through the SiLU function;

[0030] Multiply the z activated by the SiLU function by the four-way scanning result processed by the layer normalization function element by element;

[0031] Perform linear mapping on the multiplication result and output it.

[0032] Further, the method of performing four-way scanning on x, B, C, A and Δ activated by the SiLU function includes performing linear mapping processing on x, B, C, A and Δ activated by the SiLU function;

[0033] Expand x, B, C, A and Δ after linear mapping in horizontal and vertical directions and scan forward and reverse directions;

[0034] The scanned x, B, C, A and Δ are denoised and output through the loss function.

[0035] Furthermore, the scanned x, B, C as well as A and Δ are denoised by Charbonnier loss.

[0036] An electronic device comprises a processor, wherein the processor is coupled to a memory, wherein the memory has instructions stored therein, and when the instructions are executed by the processor, the device performs actions, wherein the actions include any of the medical image restoration methods based on the state space duality mechanism described above.

[0037] A computer program product is tangibly stored on a computer-readable medium and includes machine-executable instructions, which, when executed, enable a machine to perform the medical image restoration method based on the state-space duality mechanism according to any one of the above.

[0038] Compared with the prior art, the beneficial effects of this application are:

[0039] A linear form is used to map low-quality images to latent space through convolution, deep feature learning and transformation, and output projection to invert the features back to the image space; the deep feature transformation layer includes four meta-state space dual clusters, which calculate and process the input feature map, and process and output the feature map processed by multiple meta-state space dual clusters through convolution; after adding the feature map processed by convolution to the input residual, a clear restored image is output; this application combines the advantages of local perception and global modeling to achieve efficient learning of the mapping relationship between low-quality input images and high-quality output images, thereby improving the restoration effect of medical images and solving the shortcomings of the prior art in detail processing and computational efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the implementation methods of the present application, the drawings required for use in the implementation methods will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 is a method flow chart of the present application;

[0042] Figure 2 It is a flow chart of the meta-state space dual module processing method of the present application;

[0043] Figure 3 It is a flow chart of the two-dimensional state space dual module processing method of the present application;

[0044] Figure 4 is a flow chart of the four-way scanning processing method of the present application;

[0045] Figure 5 It is a qualitative visualization comparison of the results of this application compared with the existing model processing;

[0046] Figure 6 This is a qualitative visual effect comparison chart of this application compared with the existing model processing. DETAILED DESCRIPTION

[0047] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0048] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show the layers related to the present invention rather than being drawn according to the number, shape and size of the layers in actual implementation. In actual implementation, the type, quantity and proportion of each layer may be changed arbitrarily, and the layer layout may also be more complicated.

[0049] In the following description, numerous details are discussed to provide a more thorough explanation of embodiments of the present invention; however, it is apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details.

[0050] See also Figure 1 , a medical image restoration method based on state space dual mechanism, comprising inputting a low-quality image, mapping the low-quality image into a latent space through convolution, and obtaining a feature map;

[0051] The feature map is input into the deep feature conversion layer, and after being processed by the deep feature conversion layer, a clear restored image is output;

[0052] The deep feature conversion layer processing steps include: processing the input feature map through multiple meta-state space dual clusters;

[0053] The feature graph processed by multiple meta-state space dual clusters is processed and output through convolution;

[0054] After adding the convolutional feature map to the input residual, the output is a clear restored image.

[0055] See also Figure 1 , using a linear form, mapping low-quality images to latent space through convolution, deep feature learning and transformation, and output projection to invert the features back to the image space; the deep feature transformation layer includes four meta-state space dual clusters, which calculate and process the input feature map, and process and output the feature map processed by multiple meta-state space dual clusters through convolution; after adding the feature map processed by convolution to the input residual, a clear restored image is output; this application combines the advantages of local perception and global modeling to achieve efficient learning of the mapping relationship between low-quality input images and high-quality output images, thereby improving the restoration effect of medical images and solving the shortcomings of the prior art in detail processing and computational efficiency.

[0056] Methods for processing input feature maps through meta-state space dual clusters include:

[0057] The input feature map is processed through multiple meta-state space dual modules;

[0058] The feature graph processed by multiple meta-state space dual modules is processed and output through convolution;

[0059] The convolutional feature map is added to the input residual and then output.

[0060] See also Figure 1 Each meta-state space dual cluster includes four meta-state space dual modules, a convolutional layer and a residual connection; the meta-state space dual module can perform the forward calculation process in the form of matrix multiplication and utilize the highly optimized operation units in modern hardware accelerators; the model structure is simple and effectively improves the computing efficiency.

[0061] The method of processing the input feature map through the meta-state space dual module includes:

[0062] The input feature map is processed by the layer normalization function and output to the two-dimensional state space dual module;

[0063] The feature map processed by the layer normalization function is processed and output through a two-dimensional state space dual module;

[0064] The feature map processed by the two-dimensional state space dual module is added to the input residual and then output;

[0065] Perform layer normalization on the feature map of the added output;

[0066] The layer-normalized feature maps are processed through a fast feed-forward network;

[0067] The feature map processed by the fast feedforward network is added to the added output residual and then output.

[0068] See also Figure 5 The color of medical images obtained from X-ray machines, MRI scans, and CT scans is limited by the imaging system and is usually dominated by black, with some low-contrast white and gray. Different tissues of the human body are sensitive to specific measurement methods, which can distinguish different tissues or organs. Therefore, this special imaging method is completely different from natural images, resulting in significant differences in the corresponding image processing methods. For medical images, the models or algorithms used should be able to handle details, be efficient, and be interpretable.

[0069] See also Figure 2Compared with the existing parallel scanning algorithms, the advantage of state space duality (SSD) computing comes from the duality property with the attention mechanism it introduces; this mechanism enables it to perform the forward computing process in the form of matrix multiplication and utilize the highly optimized computing units in modern hardware accelerators; in addition to the advantages in the computing process, SSD also uses sequential pixel processing methods, so compared with the existing Transformer model based on local image blocks, its processing granularity is finer;

[0070] This application adopts two-dimensional state space duality, and performs layer normalization processing on the input feature map through formula 1, processes the feature map processed by the layer normalization function through the two-dimensional state space dual module, and adds the feature map processed by the two-dimensional state space dual module to the input residual and outputs it;

[0071] w=2DSSD(LayerNorm(m))+m, Formula 1;

[0072] Among them, m is the input feature map, w is the output after the feature map processed by the two-dimensional state space dual module is added to the input residual;

[0073] Through formula 2, the feature map of the added output is subjected to layer normalization processing, the feature map subjected to layer normalization processing is processed through a fast feedforward network, and the feature map processed by the fast feedforward network is added to the residual of the added output and then output;

[0074] u=EFFN(LayerNorm(w))+w, formula 2;

[0075] Among them, u is the output after the feature map processed by the fast feedforward network is added to the added output residual;

[0076] The above method performs fine-grained pixel-level processing on the input feature map, and has interpretability based on state space theory.

[0077] The method of processing the feature map processed by the layer normalization function through the two-dimensional state space dual module includes:

[0078] The feature map processed by the layer normalization function is linearly mapped through the fully connected layer to obtain four parts: z, A, Δ and x, B, C;

[0079] Process x, B, C through depth-wise separable convolution;

[0080] Activate x, B, C after depth-wise separable convolution through SiLU function;

[0081] Perform four-way scanning on x, B, C, A and Δ activated by SiLU function;

[0082] The results of the four-way scanning are processed by a layer normalization function;

[0083] Activate z through the SiLU function;

[0084] Multiply the z activated by the SiLU function by the four-way scanning result processed by the layer normalization function element by element;

[0085] The multiplication result is linearly mapped and output through the fully connected layer.

[0086] See also Figure 3 , through formula 3, the feature map processed by the layer normalization function is linearly mapped to obtain four parts: z, A, Δ and x, B, C:

[0087] z,x,B,C,Δ=Linear(u), Formula 3;

[0088] u is the input of the linear mapping, z is used as a parameter-containing residual connection, A is only related to the input and isolated from the output, so it is designed as an input-independent parameter to reduce the amount of calculation; Δ is used as a time scale parameter to control the four-way scanning process, and x, B, and C have a greater impact on the output;

[0089] According to formula 4, x, B, C are processed by depth-wise separable convolution, and x, B, C processed by depth-wise separable convolution are activated:

[0090] x, B, C = SiLU(DWConv(x, B, C)), Formula 4;

[0091] Through formula 5, x, B, C, A and Δ activated by the SiLU function are scanned in four directions:

[0092]

[0093] Among them, ChunkScan is the core scanning function of the state space duality;

[0094] Through formula 6, z activated by the SiLU function is multiplied element by element with the four-way scanning result processed by the layer normalization function:

[0095]

[0096] Through formula 7, the multiplication result is linearly mapped and output;

[0097] t= Li near(g), formula 7;

[0098] This application can effectively retain the details in the medical image while removing noise, avoiding the problem of information loss caused by over-smoothing.

[0099] The method for performing four-way scanning on x, B, C, A and Δ activated by the SiLU function includes performing linear mapping processing on x, B, C, A and Δ activated by the SiLU function through a fully connected layer;

[0100] Expand x, B, C, A and Δ after linear mapping in horizontal and vertical directions and scan forward and reverse directions;

[0101] The scanned x, B, C, A and Δ are denoised and output through the loss function.

[0102] See also Figure 4 The model processes information in the form of a sequence. When a two-dimensional matrix containing spatial information is unfolded into a sequence, its inherent dimension is reduced. The core calculation process involves a scanning operation, which is a one-way operation. Each pixel can only notice the pixel in front of it in the sequence. However, each pixel is spatially adjacent to four pixels in two directions. For this reason, this application uses a four-way scanning method to compensate for the loss of spatial information caused by dimensionality reduction. The scanning process includes horizontal and vertical expansion and forward and reverse scanning, so that the four adjacent pixels of each pixel are visible to itself, ensuring global perception capabilities. The identifiers "h / v" and "f / b" in the figure represent "horizontal / vertical" and "forward / backward", respectively. The corresponding color changes between different sequences represent different sequential expansions.

[0103] The scanned x, B, C as well as A and Δ are denoised by Charbonnier loss.

[0104] The scanned x, B, C, A and Δ are denoised using formula 8:

[0105] L1(k,p)=||kf θ (p)||1, Formula 8;

[0106]

[0107] Among them, f θ (·) is an over-parameterized neural network model, k is the input, p is the true label of k, and ε is 0.001. For the CT image denoising problem, the Charbonnier loss with better regularity is selected.

[0108] See also Figure 5First, the test was conducted on a super-resolution MRI dataset containing more than 500 T2-weighted images. Using conventional data augmentation methods, the images were cut into 128*128 image slices for training and compared with four mainstream super-resolution image restoration models. These models used convolutional neural networks and self-attention structures as baseline models and performed relatively well in this field. The dataset was divided into 70%, 10% and 20% to obtain training sets, validation sets and test sets, and quantitative comparisons were conducted on the test sets. The comparison indicators included Peak Signal to Noise Ratio (PSNR) and Structural Similarity Index (SSIM Index, hereinafter referred to as SSIM). The higher the values ​​of these two indicators, the better. For the selected comparison models (EDSR, SRCNN, SwinIR, Real-ESRGAN), if the model code is open source and available, the parameters used in the relevant papers to achieve the highest indicators are used for comparison experiments; if the code is not open source, the code is written according to the model structure and parameter guidance described in the article to train and export the model. In terms of average PSNR, the model of this application is 0.66dB higher than the SwinIR model, and the SSIM is 0.940, which is very close to the highest level of 0.944. In addition, it should be noted that in order to achieve the best SSIM value of 0.944 of the SwinIR model, the existing model parameters are more than twice as many as the model of this application. In addition to quantitative indicators, this application also provides qualitative visualization results. Figure 5 It can be observed that the result of the Real-ESRGAN model over-smoothes the original image, resulting in a lot of information loss; the model of this application is visually closer to SRCNN, but this application effectively overcomes the large number of artifacts that appear at the edge of the image.

[0109] See also Figure 6 In addition, a simulation experiment of image denoising was conducted on a low-dose CT image dataset. These images simulated CT images under 25% full-dose conditions. The dataset was also divided into 70%, 10%, and 20% segments. The images were cut into 256*256 blocks during training. The selected comparison models include BM3D, AirNet, CTFormer, and DnCNN. The average PSNR value of the model in this application is 41.50, reaching the highest level. In addition, the SSIM measurement value is 0.909, also reaching the highest. Figure 6The qualitative visual effect shows that most of the selected comparison models over-smooth the image, resulting in serious loss of details. This processing method is very fatal in medical images that focus on details and may lead to serious consequences such as misdiagnosis. The model of this application has a good balance between removing noise and maintaining noise-like tissue details.

[0110] An electronic device comprises a processor, wherein the processor is coupled to a memory, wherein the memory has instructions stored therein, and when the instructions are executed by the processor, the device performs actions, wherein the actions include any of the medical image restoration methods based on the state space duality mechanism described above.

[0111] A computer program product is tangibly stored on a computer-readable medium and includes machine-executable instructions, which, when executed, enable a machine to perform the medical image restoration method based on the state-space duality mechanism according to any one of the above.

[0112] In the above-mentioned embodiments, although the present invention has been described in conjunction with the specific embodiments of the present invention, many replacements, modifications and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. The embodiments of the present invention are intended to cover all such replacements, modifications and variations falling within the broad scope of the appended claims.

[0113] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A medical image restoration method based on a state space duality mechanism, characterized in that: It includes inputting a low-quality image, mapping the low-quality image into a latent space through convolution, and obtaining a feature map; The feature map is input into the deep feature conversion layer, and after being processed by the deep feature conversion layer, a clear restored image is output; The deep feature conversion layer processing steps include: processing the input feature map through multiple meta-state space dual clusters; The feature graph processed by multiple meta-state space dual clusters is processed and output through convolution; After adding the convolutional feature map to the input residual, the output is a clear restored image.

2. The medical image restoration method based on state space duality mechanism according to claim 1, characterized in that: Methods for processing input feature maps through meta-state space dual clusters include: The input feature map is processed through multiple meta-state space dual modules; The feature graph processed by multiple meta-state space dual modules is processed and output through convolution; The convolutional feature map is added to the input residual and then output.

3. The medical image restoration method based on state space duality mechanism according to claim 2, characterized in that: The method of processing the input feature map through the meta-state space dual module includes: The input feature map is processed by the layer normalization function and output to the two-dimensional state space dual module; The feature map processed by the layer normalization function is processed and output through a two-dimensional state space dual module; The feature map processed by the two-dimensional state space dual module is added to the input residual and then output; Perform layer normalization on the feature map of the added output; The layer-normalized feature maps are processed through a fast feed-forward network; The feature map processed by the fast feedforward network is added to the added output residual and then output.

4. The medical image restoration method based on state space duality mechanism according to claim 3, characterized in that: The method of processing the feature map processed by the layer normalization function through the two-dimensional state space dual module includes: Perform linear mapping on the feature map processed by the layer normalization function to obtain four parts: z, A, Δ and x, B, C; Process x, B, C through depth-wise separable convolution; Activate x, B, C after depth-wise separable convolution through SiLU function; Perform four-way scanning on x, B, C, A and Δ activated by SiLU function; The results of the four-way scanning are processed by a layer normalization function; Activate z through the SiLU function; Multiply the z activated by the SiLU function by the four-way scanning result processed by the layer normalization function element by element; Perform linear mapping on the multiplication result and output it.

5. The medical image restoration method based on state space duality mechanism according to claim 4, characterized in that: The method for performing four-way scanning on x, B, C, A and Δ activated by the SiLU function includes performing linear mapping processing on x, B, C, A and Δ activated by the SiLU function; Expand x, B, C, A and Δ processed by linear mapping horizontally and vertically and scan forward and backward; The scanned x, B, C, A and Δ are denoised and output through the loss function.

6. The medical image restoration method based on state space duality mechanism according to claim 5, characterized in that: The scanned x, B, C as well as A and Δ are denoised by Charbonnier loss.

7. An electronic device, characterized in that: The invention comprises a processor, wherein the processor is coupled to a memory, wherein the memory has instructions stored therein, and when the instructions are executed by the processor, the device performs actions, wherein the actions include the medical image restoration method based on the state space duality mechanism as described in any one of claims 1 to 6.

8. A computer program product, the computer program product being tangibly stored on a computer-readable medium and comprising machine-executable instructions, which when executed, cause a machine to perform the medical image restoration method based on the state-space duality mechanism according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Image restoration method based on state space model

    CN118195905A

  • Method and system for processing image based on weighted multiple kernels

    US20230073175A1

Cited By

  • Remote sensing image segmentation method based on state space dual transformation and channel mixing

    CN120472177A

  • Remote sensing image segmentation method based on state space dual transformation and channel mixing

    CN120472177B