Image processing method and device, computer equipment, and computer-readable storage medium
By performing feature extraction and dimensionality reduction on MRI images, a similar contrast channel feature set is generated and feature fusion is performed, which solves the problem of insufficient image reconstruction quality in the existing technology and achieves high-quality image fusion and accuracy of diagnostic results.
Patent Information
- Application Number
- CN202111422856.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-11-26
AI Technical Summary
Existing technology In image processing, image reconstruction methods based on auxiliary contrast cannot guarantee the accuracy of diagnostic results. Especially in MRI image processing, the fusion effect of under-sampled target images and fully-sampled auxiliary images is poor, which affects the quality of image reconstruction. .
By obtaining the under-sampled target image and the fully-sampled auxiliary image, perform feature extraction and dimensionality reduction processing, generate the under-sampled target contrast channel features and the fully-sampled auxiliary contrast channel features, perform similar contrast channel feature processing, and form a similar contrast channel feature set, and The fused image is generated through feature fusion, and the preset neural network is used for parameter adjustment to improve the quality of image reconstruction.
It achieves high-quality fusion based on under-sampled target images and fully-sampled auxiliary images, reduces the acquisition volume and scanning time in the image reconstruction process, improves the accuracy and reliability of image reconstruction, and is suitable for multi-contrast images in MRI image processing. diagnostic needs.
Smart Images

Figure CN114155379B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to an image processing method and apparatus, a computer device, and a computer-readable storage medium. Background Art
[0002] When performing image processing, image fusion based on auxiliary images is required. For example, when processing Magnetic Resonance Imaging (MRI) images, the acquisition of MRI images often takes the form of "paired acquisition". For example, MRI imaging of the knee area has two versions: proton density weighted and fat suppressed; these two images visually have similar anatomical structures and completely different contrasts, and the scanning time of the former is often lower than that of the latter. Therefore, a natural idea is to combine deep learning technology to use images acquired with auxiliary contrast to assist in accelerating the imaging of target contrast. In the related art, there are some image reconstruction methods based on auxiliary contrast images, but the reconstruction effect is poor and the accuracy of the diagnostic results cannot be guaranteed. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides an image processing method and apparatus, a computer device, and a computer-readable storage medium, which can improve the quality of image reconstruction.
[0004] An image processing method according to a first aspect of the present invention includes:
[0005] Acquire an under-sampled target image and a fully-sampled auxiliary image;
[0006] Performing feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and performing feature extraction processing on the fully-sampled auxiliary image to obtain a fully-sampled auxiliary feature map;
[0007] Performing dimensionality reduction processing on the under-sampled target feature map to obtain under-sampled target contrast channel features, and performing dimensionality reduction processing on the fully-sampled auxiliary feature map to obtain fully-sampled auxiliary contrast channel features;
[0008] Performing contrast channel feature similarity processing according to the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature to obtain a similar contrast channel feature set;
[0009] Feature fusion is performed according to the similar contrast channel feature set and the under-sampled target contrast channel feature to obtain a fused image.
[0010] The image processing method according to the embodiment of the present invention has at least the following beneficial effects: the fused image of the embodiment of the present invention is generated based on the undersampled target image and the fully sampled auxiliary image, and channel feature similarity processing is performed on the undersampled target feature map and the fully sampled auxiliary feature map to obtain a similar contrast channel feature set, and feature fusion is performed based on the similar contrast channel feature set and the undersampled contrast channel features, and image reconstruction is performed based on the fused features, thereby ensuring the quality of image reconstruction.
[0011] According to some embodiments of the present invention, the step of performing dimensionality reduction processing on the undersampled target feature map to obtain an undersampled target contrast channel feature, and performing dimensionality reduction processing on the fully sampled auxiliary feature map to obtain a fully sampled auxiliary contrast channel feature, comprises:
[0012] The under-sampled target feature map is subjected to multi-scale block processing to obtain an under-sampled target feature block, and the fully-sampled auxiliary feature map is subjected to multi-scale block processing to obtain a fully-sampled auxiliary feature block;
[0013] The under-sampled target feature block is subjected to dimensionality reduction processing to obtain under-sampled target contrast channel features, and the fully-sampled auxiliary feature block is subjected to dimensionality reduction processing to obtain fully-sampled auxiliary contrast channel features.
[0014] According to some embodiments of the present invention, performing feature fusion according to the similar contrast channel feature set and the undersampled target contrast channel feature to obtain a fused image includes:
[0015] The similar contrast channel feature set and the under-sampled target contrast channel feature are input into a preset neural network for sampling, encoding and decoding processing to obtain a fused image.
[0016] According to some embodiments of the present invention, the preset neural network is obtained by the following steps, including:
[0017] Acquire a fully sampled target image;
[0018] Inputting the fully sampled target image and the fused image into a preset first loss function to obtain a first loss value;
[0019] Parameters of the preset neural network are adjusted according to the first loss value.
[0020] According to some embodiments of the present invention, the step of adjusting the parameters of the preset neural network according to the first loss value further includes:
[0021] Inputting the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature into a preset second loss function to obtain a second loss value;
[0022] Parameters of the preset neural network are adjusted according to the second loss value and the first loss value.
[0023] According to some embodiments of the present invention, acquiring the under-sampled target image and the fully-sampled auxiliary image includes:
[0024] Acquire under-sampled target image data and fully-sampled auxiliary image data;
[0025] The under-sampled target image data is subjected to inverse Fourier transform processing to obtain an under-sampled target image, and the fully-sampled auxiliary image data is subjected to inverse Fourier transform processing to obtain a fully-sampled auxiliary image.
[0026] According to some embodiments of the present invention, performing feature extraction processing on the undersampled target image to obtain an undersampled target feature map, and performing feature extraction processing on the fully sampled auxiliary image to obtain a fully sampled auxiliary feature map, comprises:
[0027] The under-sampled target image is subjected to a double-layer convolution process to obtain an under-sampled target feature map, and the fully-sampled auxiliary image is subjected to a double-layer convolution process to obtain a fully-sampled auxiliary feature map.
[0028] An image processing device according to a second aspect of the present invention includes:
[0029] Image acquisition module: used to acquire under-sampled target images and fully sampled auxiliary images;
[0030] Feature extraction module: used for performing feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and performing feature extraction processing on the fully-sampled auxiliary image to obtain a fully-sampled auxiliary feature map;
[0031] Dimensionality reduction processing module: used for performing dimensionality reduction processing on the under-sampled target feature map to obtain under-sampled target contrast channel features, and performing dimensionality reduction processing on the fully sampled auxiliary feature map to obtain fully sampled auxiliary contrast channel features;
[0032] A feature similarity processing module: used for performing contrast channel feature similarity processing according to the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature to obtain a similar contrast channel feature set;
[0033] Image fusion module: used for performing feature fusion according to the similar contrast channel feature set and the under-sampled target contrast channel feature to obtain a fused image.
[0034] The image processing device according to the embodiment of the present invention has at least the following beneficial effects: the fused image of the device of the embodiment of the present disclosure is generated based on the undersampled target image and the fully sampled auxiliary image, and feature fusion is performed according to the similar contrast channel feature set and the undersampled contrast channel feature, and image fusion is performed according to the fused features to achieve image reconstruction, thereby ensuring the quality of image reconstruction.
[0035] A computer device according to a third aspect of the present invention includes:
[0036] at least one processor, and
[0037] a memory communicatively connected to the at least one processor; wherein,
[0038] 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 so that the at least one processor can perform the image processing method as described in any one of the embodiments of the present invention.
[0039] According to the computer-readable storage medium of the fourth aspect embodiment of the present invention, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the image processing method as described in any one of the embodiments of the present invention.
[0040] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention will be further described below with reference to the accompanying drawings and embodiments, wherein:
[0042] Figure 1 A flowchart of an image processing method provided by a disclosed embodiment of the present invention;
[0043] Figure 2 for Figure 1 Flow chart of step S130 in FIG.
[0044] Figure 3 for Figure 1 Flow chart of step S150 in FIG.
[0045] Figure 4 yes Figure 3 Flow chart of step S310 in FIG.
[0046] Figure 5 yes Figure 4 Flow chart of step S430 in FIG.
[0047] Figure 6 for Figure 1Flow chart of step S110 in FIG.
[0048] Figure 7 yes Figure 1 Flowchart of step S120 in . DETAILED DESCRIPTION
[0049] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0050] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0051] In the description of the present invention, "several" means more than one, "many" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0052] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0053] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0054] First, the nouns involved in the present invention are analyzed:
[0055] Magnetic Resonance Imaging (MRI) is an imaging technology that uses the signals generated by the resonance of atomic nuclei in a strong magnetic field to reconstruct images. It is an important and widely used medical imaging technology that can be used to image the internal structures of the human body.
[0056] In real life, doctors need to combine complete MRI images with multiple contrasts to diagnose diseases, so they need to perform multiple long scans on patients. However, increasing the scanning time will not only cause discomfort to patients, but may also introduce motion artifacts and reduce the efficiency of magnetic resonance imaging. Reducing the scanning time will reduce the amount of data collected, which will lead to a decrease in the quality of MRI images, which is not conducive to the accurate diagnosis of the medical system. It is necessary to effectively fuse multi-contrast images. The existing method is to use simple fusion methods such as splicing and addition before inputting features into the network. For example, simply splicing the target and auxiliary contrast images as network input, or limiting the simple linear combination of the spliced multi-contrast features. The inability to handle the fusion of features from different contrasts makes the efficiency and interpretability of these feature fusions low.
[0057] Based on this, the embodiments of the present invention propose an image processing method and apparatus, a computer device, and a computer-readable storage medium, and disclose a more explanatory feature fusion mechanism, which improves the accuracy of image fusion by utilizing the multi-contrast characteristics of the feature map and the similarity dependence of the contrast in the feature map. The embodiment of the present invention proposes a cross-contrast channel selection module to better fuse multi-contrast features because, in practice, some auxiliary contrast channel maps are very similar to the target contrast, so feature fusion is performed across contrast channels to improve the image reconstruction effect. Furthermore, the exact similarity relationship between the channels of the target and auxiliary feature maps sometimes depends on their corresponding spatial positions. For example, in some parts of the feature map, the channel maps of the two contrasts appear to be complementary, while in other areas they may be very similar. Before performing cross-contrast channel selection, the present invention first expands the auxiliary feature map in the form of multi-scale blocking to improve its spatial adaptability during feature channel similarity processing, thereby further improving the image reconstruction effect.
[0058] The embodiments of the present disclosure provide an image processing method and apparatus, a computer device, and a computer-readable storage medium, which are specifically described through the following embodiments. First, the image processing method in the embodiments of the present disclosure is described.
[0059] Reference Figure 1 According to the image processing method of the first aspect of the embodiment of the present disclosure, it includes but is not limited to steps S110 to S150.
[0060] S110, acquiring an under-sampled target image and a fully-sampled auxiliary image;
[0061] S120, performing feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and performing feature extraction processing on the fully-sampled auxiliary image to obtain a fully-sampled auxiliary feature map;
[0062] S130, performing dimensionality reduction processing on the under-sampled target feature map to obtain under-sampled target contrast channel features, and performing dimensionality reduction processing on the fully-sampled auxiliary feature map to obtain fully-sampled auxiliary contrast channel features;
[0063] S140, performing contrast channel feature similarity processing according to the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature to obtain a similar contrast channel feature set;
[0064] S150, performing feature fusion according to the similar contrast channel feature set and the under-sampled target contrast channel feature to obtain a fused image.
[0065] In step S110, the acquisition amount of the fully sampled target image is large, so the scanning time is long, which will increase the patient's discomfort. Therefore, the acquisition amount is reduced to obtain an under-sampled target image, but the reduction in the acquisition amount will affect the quality of the target image, so the fully sampled auxiliary image is introduced. It should be noted that although the auxiliary image is obtained by full sampling, the scanning time to obtain the fully sampled auxiliary image is shorter. The reconstructed image is obtained by combining the under-sampled target image and the fully sampled auxiliary image. It not only effectively reduces the acquisition amount and alleviates the user's discomfort, but also improves the reconstruction effect of the target image and ensures the image reconstruction quality.
[0066] In step S120, the undersampled target image and the fully sampled auxiliary image are not completely similar. Some undersampled target image contrast features are similar to those of the fully sampled auxiliary image contrast features, while others are completely different. If the images are simply fused, the imaging quality will be affected. Therefore, in this step, feature extraction processing is performed to obtain an undersampled target feature map and a fully sampled auxiliary feature map.
[0067] In step S130, first use a global average pooling W p Operation to transform the undersampled target feature map F t and the fully sampled auxiliary feature map F a Dimensionality reduction, two channels are represented by P through the following formula (1): t and P a .
[0068] P=W p (F) (1)
[0069] where F∈R C×H×W and P∈RC×1×1 , which can be further transformed into a dimensional vector by normalization, which summarizes the information contained in each channel of the feature map, namely where || ||2 is the L2 norm.
[0070] In step S140, by and Matrix multiplication can generate a C×C cross-comparison channel similarity matrix, please refer to the following formula (2):
[0071]
[0072] Among them, the similarity S means that the element in the i-th row and j-th column describes F t The i-th channel and F a We then apply the argmax operation to each row of S from F a Select the one with F t The indices of the most similar channels in , get an index vector Ω∈R C×1 Ω is then used to obtain the a Filter out t The most relevant channels constitute the auxiliary contrast features after channel filtering That is, the similar contrast channel feature set. The purpose is to improve the image reconstruction quality based on the similar contrast channel feature set.
[0073] In step S150, a fused image is obtained based on a similar contrast channel feature set and undersampled target contrast channel features, thereby reducing the amount of acquisition and scanning time compared to a fully sampled target image, and performing feature fusion based on a similar contrast channel feature set, thereby overcoming the shortcoming of most current models having poor effects when reconstructing multi-contrast images, improving the quality of image reconstruction, and ensuring the accuracy and reliability of the medical system's diagnostic results.
[0074] The image processing method provided by the disclosed embodiment of the present invention performs feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and performs feature extraction processing on the fully sampled auxiliary image to obtain a fully sampled auxiliary feature map; performs dimensionality reduction processing on the under-sampled target feature map to obtain under-sampled target contrast channel features, and performs dimensionality reduction processing on the fully sampled auxiliary feature map to obtain fully sampled auxiliary contrast channel features; performs contrast channel feature similarity processing based on the under-sampled target contrast channel features and the fully sampled auxiliary contrast channel features to obtain a similar contrast channel feature set; performs feature fusion based on the similar contrast channel feature set and the under-sampled target contrast channel features to obtain a fused image to achieve image reconstruction. The fused image of the embodiment of the present invention is generated by the under-sampled target image and the fully sampled auxiliary image. Since the scanning amount of the under-sampled target image and the fully sampled auxiliary image is small, the scanning time of the machine and the discomfort of the patient are reduced. Furthermore, channel feature similarity processing is performed on the undersampled target feature map and the fully sampled auxiliary feature map to obtain a similar contrast channel feature set, feature fusion is performed based on the similar contrast channel feature set and the undersampled contrast channel features, and image reconstruction is performed based on the fused features, thereby ensuring the quality of image reconstruction.
[0075] In some embodiments, Figure 2 As shown, step S130 specifically includes the following steps:
[0076] S210, performing multi-scale block processing on the under-sampled target feature map to obtain an under-sampled target feature block, and performing multi-scale block processing on the fully-sampled auxiliary feature map to obtain a fully-sampled auxiliary feature block;
[0077] S220, performing dimensionality reduction processing on the under-sampled target feature block to obtain under-sampled target contrast channel features, and performing dimensionality reduction processing on the fully-sampled auxiliary feature block to obtain fully-sampled auxiliary contrast channel features.
[0078] In steps S210 to S220, the exact similarity relationship between the channels of the undersampled target feature map and the fully sampled auxiliary feature map sometimes depends on their corresponding spatial locations. For example, in some parts of the feature map, the channel maps of the two contrasts appear to be complementary, while in other areas they may be very similar. Therefore, a p Such a rough representation of information may mislead the process of cross-contrast channel feature fusion. Therefore, the embodiment of the present invention proposes to divide each feature map into multiple blocks of different scales before performing channel feature similarity processing, and perform multi-scale block-based feature learning.
[0079] In one embodiment, for a feature map F of a certain contrast, we divide it into several blocks of size M×M in space, generating a total of Block. And by changing the block size M, block segmentation schemes of different scales can be easily obtained. Then, for the undersampled target feature block and the fully sampled auxiliary feature block, each feature block is sent to the channel feature similarity processing module to generate its corresponding fusion feature, please refer to the following formula (3):
[0080]
[0081] in represents the i-th block of the j-th scale of the original feature map, and f represents the channel feature similarity module. Finally, we spatially combine all the fused feature blocks of a single scale to restore the size of the original features at the block scale. For the fused features obtained at different block scales, we concatenate them and pass them through a 1×1 convolution layer to achieve the final merging.
[0082] In some embodiments, Figure 3 As shown, step S150 specifically includes the following steps:
[0083] S310, inputting the similar contrast channel feature set and the under-sampled target contrast channel feature into a preset neural network for sampling, encoding and decoding processing to obtain a fused image.
[0084] In step S310, the similar contrast feature set and the undersampled target contrast feature are added and fused to generate the final fusion feature, as shown in the following formula (4):
[0085]
[0086] Fusion feature F S It is then sent to a deep fully convolutional network for up and down sampling and encoding and decoding operations to generate a reconstructed contrast image, that is, a fused image.
[0087] In some embodiments, Figure 4 As shown, step S310 specifically further includes the steps of:
[0088] S410, acquiring a fully sampled target image;
[0089] S420, inputting the fully sampled target image and the fused image into a preset first loss function to obtain a first loss value;
[0090] S430: Adjust parameters of a preset neural network according to the first loss value.
[0091] In step S410 to step S430, a fully sampled target image is obtained by full sampling scanning, and the fully sampled target image and the fused image are input into a first loss function to obtain a first loss value, wherein the first loss function is shown in the following formula (5):
[0092]
[0093] in, and are the fused image and the fully sampled target image respectively.
[0094] The parameters of the preset neural network are adjusted according to the first loss value. In this embodiment, the fully sampled target image is used as a reference image to guide the training of the preset neural network, aiming to obtain a neural network model with better image reconstruction quality.
[0095] In some embodiments, Figure 5 As shown, step S430 specifically further includes the steps of:
[0096] S510, inputting the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature into a preset second loss function to obtain a second loss value;
[0097] S520, adjusting parameters of a preset neural network according to the second loss value and the first loss value.
[0098] In step S510, the second loss function is as shown in the following formula (6):
[0099]
[0100] The second loss function of the embodiment of the present invention is channel-by-channel and block-by-block, that is, independent loss constraints are performed on specific channel dimensions and corresponding block spatial positions, and finally the overall sum is added, in order to increase the channel and spatial adaptability of the constraints.
[0101] It should be noted that, in practice, the channel maps of some fully sampled auxiliary images are very similar to the channel maps of the undersampled target images, so the image reconstruction effect can be improved by performing feature fusion across channels. Furthermore, the exact similarity relationship between the channels of the target and auxiliary feature maps sometimes depends on their corresponding spatial positions. For example, in some parts of the feature map, the channel maps of these two contrasts appear to be complementary, while in other areas they may be very similar. In this embodiment, the loss function is channel-by-channel and block-by-block, which can better mine the potential similar features of the image. According to the adjustment of the loss value of the second loss function, the spatial adaptability of the auxiliary contrast feature map in the feature channel selection is improved, and the image reconstruction effect is further improved.
[0102] In step S520, a final loss function is obtained according to the second loss value and the first loss value. The final loss function uses a linear combination of the two and is controlled by a hyperparameter λ, as shown in the following formula (7):
[0103]
[0104] After calculating the loss and the corresponding gradient according to the final loss function, the parameters of the preset neural network are adjusted.
[0105] In some embodiments, Figure 6 As shown, step S110 specifically includes the following steps:
[0106] S610, acquiring under-sampled target image data and fully-sampled auxiliary image data;
[0107] S620, performing inverse Fourier transform processing on the under-sampled target image data to obtain an under-sampled target image, and performing inverse Fourier transform processing on the fully-sampled auxiliary image data to obtain a fully-sampled auxiliary image.
[0108] In step S610 to step S620, an MRI apparatus is used to obtain under-sampled target contrast K-space data, and fill with zeros to obtain under-sampled target image data, and fully sampled auxiliary image K-space data is obtained to obtain fully sampled auxiliary image data. The under-sampled target image data and the fully sampled auxiliary image data are subjected to inverse Fourier transform processing to obtain an under-sampled target image and a fully sampled auxiliary image.
[0109] In some embodiments, Figure 7 As shown, step S120 specifically includes the steps of:
[0110] S710, performing a double-layer convolution process on the under-sampled target image to obtain an under-sampled target feature map, and performing a double-layer convolution process on the fully-sampled auxiliary image to obtain a fully-sampled auxiliary feature map.
[0111] In step S710, the undersampled target image and the fully sampled auxiliary image are respectively passed through two independent double-layer convolution modules (the structure is Conv(1,64)+Conv(64,64)) to extract feature maps, thereby obtaining an undersampled contrast feature map and an auxiliary contrast feature map.
[0112] The present disclosure also provides an image processing device for implementing the above image processing method, the image processing device comprising:
[0113] Image acquisition module: used to acquire under-sampled target images and fully sampled auxiliary images;
[0114] Feature extraction module: used to perform feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and perform feature extraction processing on the fully sampled auxiliary image to obtain a fully sampled auxiliary feature map;
[0115] Dimensionality reduction processing module: used to perform dimensionality reduction processing on the under-sampled target feature map to obtain the under-sampled target contrast channel feature, and perform dimensionality reduction processing on the fully sampled auxiliary feature map to obtain the fully sampled auxiliary contrast channel feature;
[0116] Feature similarity processing module: used for performing contrast channel feature similarity processing according to undersampled target contrast channel features and auxiliary contrast channel features to obtain a similar contrast channel feature set;
[0117] Image fusion module: used to perform feature fusion based on similar contrast feature set and undersampled target contrast feature to obtain a fused image.
[0118] The present disclosure also provides a computer device, including:
[0119] at least one processor, and
[0120] a memory communicatively connected to at least one processor; wherein,
[0121] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the at least one processor to perform any method in the embodiments of the present invention. For example, the execution of the above described Figure 1 Steps S110 to S150 of the method, Figure 2 Steps S210 to S220 of the method, Figure 3 Step S310 of the method, Figure 4 Steps S410 to S430 of the method, Figure 5 Steps S510 to S520 of the method, Figure 6 Steps S610 to S620 of the method, Figure 7 Method step S710 in .
[0122] The computer device of the embodiment of the present disclosure executes any one of the methods of the embodiment of the present disclosure, so that the fused image of the device of the embodiment of the present disclosure is generated based on the undersampled target image and the fully sampled auxiliary image, reducing the scanning time of the machine and the discomfort of the patient. And feature fusion is performed based on the similar contrast channel feature set and the undersampled target channel feature, and image reconstruction is performed based on the fused features, which ensures the quality of image reconstruction while ensuring a short scanning time.
[0123] The present disclosure also provides a computer-readable storage medium, which stores computer-executable instructions, which are used to enable a computer to execute the method of the present disclosure. Figure 1 Steps S110 to S150 of the method, Figure 2 Steps S210 to S220 of the method, Figure 3 Step S310 of the method, Figure 4 Steps S410 to S430 of the method, Figure 5 Steps S510 to S520 of the method, Figure 6 Steps S610 to S620 of the method, Figure 7 Method step S710 in .
[0124] The image processing method, image processing device, computer equipment, and computer-readable storage medium provided by the embodiments of the present disclosure perform feature extraction processing on the undersampled target image to obtain an undersampled target feature map, and perform feature extraction processing on the fully sampled auxiliary image to obtain a fully sampled auxiliary feature map; perform dimensionality reduction processing on the undersampled target feature map to obtain undersampled target contrast channel features, and perform dimensionality reduction processing on the fully sampled auxiliary feature map to obtain fully sampled auxiliary contrast channel features; perform contrast channel feature similarity processing based on the undersampled target contrast channel features and the fully sampled auxiliary contrast channel features to obtain a similar contrast channel feature set; perform feature fusion based on the similar contrast channel feature set and the undersampled target contrast channel features to obtain a fused image to achieve image reconstruction. The fused image of the embodiment of the present invention is generated by the undersampled target image and the fully sampled auxiliary image. Since the scanning amount of the undersampled target image and the fully sampled auxiliary image is small, the scanning time of the machine and the discomfort of the patient are reduced. Furthermore, feature similarity processing is performed on the undersampled target feature map and the fully sampled auxiliary feature map to obtain a similar contrast channel feature set, feature fusion is performed based on the similar contrast channel feature set and the undersampled contrast channel features, and image reconstructed based on the fused features, thereby ensuring the quality of image reconstruction.
[0125] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0126] The embodiments described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
[0127] It can be understood by those skilled in the art that Figures 1 to 7 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present disclosure, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.
[0128] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above and the functional modules / units in the devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0129] The terms "first", "second", etc. in the specification of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0130] It should be understood that in the present invention, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0131] In the several embodiments provided by the present invention, it should be understood that the disclosed method can be implemented in other ways. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0132] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0133] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0134] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0135] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in the relevant technical field without departing from the purpose of the present invention. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
Claims
1. An image processing method, characterized in that: include: Acquire an under-sampled target image and a fully-sampled auxiliary image; Performing feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and performing feature extraction processing on the fully-sampled auxiliary image to obtain a fully-sampled auxiliary feature map; Performing dimensionality reduction processing on the under-sampled target feature map to obtain under-sampled target contrast channel features, and performing dimensionality reduction processing on the fully-sampled auxiliary feature map to obtain fully-sampled auxiliary contrast channel features; Performing contrast channel feature similarity processing according to the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature to obtain a similar contrast channel feature set; the similar contrast channel feature set includes at least one auxiliary contrast feature; Performing feature fusion according to the similar contrast channel feature set and the under-sampled target contrast channel feature to obtain a fused image; The performing of contrast channel feature similarity processing according to the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature to obtain a similar contrast channel feature set includes: Generate a cross-contrast channel similarity matrix by matrix multiplication of the under-sampled target contrast channel features and the fully sampled auxiliary contrast channel features; Applying a preset operation to each row of the cross-comparison channel similarity matrix to obtain an index vector; The channels related to the under-sampled target feature map are filtered out from the fully sampled auxiliary feature map according to the index vector to obtain the auxiliary contrast feature.
2. The image processing method according to claim 1, characterized in that: The step of performing dimensionality reduction processing on the under-sampled target feature map to obtain under-sampled target contrast channel features, and performing dimensionality reduction processing on the fully-sampled auxiliary feature map to obtain fully-sampled auxiliary contrast channel features, comprises: The under-sampled target feature map is subjected to multi-scale block processing to obtain an under-sampled target feature block, and the fully-sampled auxiliary feature map is subjected to multi-scale block processing to obtain a fully-sampled auxiliary feature block; The under-sampled target feature block is subjected to dimensionality reduction processing to obtain under-sampled target contrast channel features, and the fully-sampled auxiliary feature block is subjected to dimensionality reduction processing to obtain fully-sampled auxiliary contrast channel features.
3. The image processing method according to claim 2, characterized in that: The step of performing feature fusion according to the similar contrast channel feature set and the under-sampled target contrast channel feature to obtain a fused image includes: The similar contrast channel feature set and the under-sampled target contrast channel feature are input into a preset neural network for sampling, encoding and decoding processing to obtain a fused image.
4. The image processing method according to claim 3, characterized in that: The preset neural network is obtained by the following steps, including: Acquire a fully sampled target image; Inputting the fully sampled target image and the fused image into a preset first loss function to obtain a first loss value; Parameters of the preset neural network are adjusted according to the first loss value.
5. The image processing method according to claim 4, characterized in that: The step of adjusting the parameters of the preset neural network according to the first loss value further includes: Inputting the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature into a preset second loss function to obtain a second loss value; Parameters of the preset neural network are adjusted according to the second loss value and the first loss value.
6. The image processing method according to claim 1, characterized in that: The step of acquiring the under-sampled target image and the fully-sampled auxiliary image comprises: Acquire under-sampled target image data and fully-sampled auxiliary image data; The under-sampled target image data is subjected to inverse Fourier transform processing to obtain an under-sampled target image, and the fully-sampled auxiliary image data is subjected to inverse Fourier transform processing to obtain a fully-sampled auxiliary image.
7. The image processing method according to claim 1, characterized in that: The step of performing feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and performing feature extraction processing on the fully-sampled auxiliary image to obtain a fully-sampled auxiliary feature map, comprises: The under-sampled target image is subjected to a double-layer convolution process to obtain an under-sampled target feature map, and the fully-sampled auxiliary image is subjected to a double-layer convolution process to obtain a fully-sampled auxiliary feature map.
8. An image processing device, characterized in that: include: Image acquisition module: used to acquire under-sampled target images and fully sampled auxiliary images; Feature extraction module: used for performing feature extraction processing on the under-sampled target image to obtain an under-sampled target feature map, and performing feature extraction processing on the fully-sampled auxiliary image to obtain a fully-sampled auxiliary feature map; Dimensionality reduction processing module: used for performing dimensionality reduction processing on the under-sampled target feature map to obtain under-sampled target contrast channel features, and performing dimensionality reduction processing on the fully sampled auxiliary feature map to obtain fully sampled auxiliary contrast channel features; A feature similarity processing module: used for performing contrast channel feature similarity processing according to the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature to obtain a similar contrast channel feature set; the similar contrast channel feature set includes at least one auxiliary contrast feature; Image fusion module: used for performing feature fusion according to the similar contrast channel feature set and the under-sampled target contrast channel feature to obtain a fused image; The performing of contrast channel feature similarity processing according to the under-sampled target contrast channel feature and the fully sampled auxiliary contrast channel feature to obtain a similar contrast channel feature set includes: Generate a cross-contrast channel similarity matrix by matrix multiplication of the under-sampled target contrast channel features and the fully sampled auxiliary contrast channel features; Applying a preset operation to each row of the cross-comparison channel similarity matrix to obtain an index vector; The channels related to the under-sampled target feature map are filtered out from the fully sampled auxiliary feature map according to the index vector to obtain the auxiliary contrast feature.
9. A computer device, characterized in that: include: at least one processor, and 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 the image processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the image processing method according to any one of claims 1 to 7.
