Image processing method, device and system

By combining super-resolution and noise reduction processing in the image processing model, and using weighted fusion technology of multiple post-processing algorithms, users' diverse needs for image optimization style preferences are solved and efficient image optimization effects are achieved.

CN118840261APending Publication Date: 2024-10-25SHANGHAI UNITED IMAGING HEALTHCARE
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310418600.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Existing technology is difficult to satisfy users' diverse preferences for image optimization styles, and cannot simultaneously optimize high resolution and noise reduction effects.

Method used

By introducing an image processing model, combining super-resolution processing and noise reduction processing, a variety of image post-processing algorithms are used to post-process the intermediate image, and different post-processing results are integrated through weighted summation, and the weights are updated according to the style adjustment instructions input by the user. parameters to generate the target image.

Benefits of technology

It realizes the output of target images with different optimization styles according to user preferences, meets diverse image optimization needs, and improves the resolution and noise reduction effect of images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840261A_ABST
    Figure CN118840261A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an image processing method, device and system. After an image post-processing algorithm is introduced into an image processing model, target images with different optimization styles can be output by changing a fusion mode of an intermediate image and a post-processing result, for example, changing weight parameters corresponding to different post-processing results. Therefore, different preferences of the user on the image optimization style are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to an image processing method, device and system. Background Art

[0002] Super-resolution (SR) refers to the process of improving the resolution of the original image by some method, that is, reconstructing a high-resolution image based on a low-resolution image. Image super-resolution and noise reduction are two important tasks in image processing, both of which can improve image quality. However, in real-world scenarios, preferences for image optimization styles may vary. For example, in medical scenarios, sometimes you want a better super-resolution effect, sometimes you want a higher degree of noise reduction, sometimes you want a balanced performance, sometimes you want a little optimization, and sometimes you want to directly give an image with the best effect.

[0003] Therefore, it is currently desired to provide an image optimization solution that can satisfy users' different preferences for image optimization styles. Summary of the invention

[0004] The purpose of this application is to provide an image optimization solution.

[0005] The first aspect of the embodiments of this specification provides an image processing method, including: obtaining an image to be processed; inputting the image to be processed into an image processing model to obtain a target image. The image processing model is obtained based on machine learning, and the image processing model includes: a processing component for performing super-resolution processing and noise reduction processing on the image to be processed to obtain an intermediate image; a post-processing component for post-processing the intermediate image using one or more image post-processing algorithms to obtain one or more post-processing results; and an output component for fusing the intermediate image and the one or more post-processing results to obtain the target image.

[0006] In some embodiments, the one or more image post-processing algorithms are multiple image post-processing algorithms, and the one or more post-processing results are multiple post-processing results. The fusing the intermediate image and the one or more post-processing results comprises: fusing a weighted sum of the multiple post-processing results and the intermediate image.

[0007] In some embodiments, the method further includes: obtaining a style adjustment instruction for the target image input by a user; based on the style adjustment instruction, updating the weight parameters corresponding to the multiple post-processing results, and updating the weighted summation result based on the updated weight parameters; and fusing the updated weighted summation result and the intermediate image to obtain an updated target image.

[0008] In some embodiments, the style adjustment instruction is generated based on a user sliding operation on a preset button in a display interface of the target image within a preset bar area, and different positions of the preset button within the preset bar area correspond to different weight parameter value combinations.

[0009] In some embodiments, before obtaining the target image, the method further includes: obtaining a parameter set set by a user for one or more scanning protocols, the parameter set including a plurality of weight parameter values ​​corresponding to the plurality of post-processing results. The weighted summation result of the plurality of post-processing results is determined by: determining a target scanning protocol for reconstructing the image to be processed; calling a target parameter set set by a user for the target scanning protocol; and performing weighted summation of the plurality of post-processing results according to the target parameter set to obtain the weighted summation result.

[0010] In some embodiments, the image processing model is determined by: obtaining a target image optimization style input by a user; and selecting the image processing model belonging to the target image optimization style from a model library, wherein the model library includes alternative image processing models of multiple image optimization styles.

[0011] In some embodiments, the image to be processed is input into an image processing model to obtain a target image, including: obtaining a target image optimization style input by a user; determining a model input of the image processing model based on the image to be processed and the target image optimization style; and processing the model input using the image processing model to obtain the target image.

[0012] In some embodiments, the image to be processed is input into an image processing model to obtain a target image, including: inputting the image to be processed into an image processing model to obtain multiple processed images and confidence levels of the multiple processed images, wherein the multiple processed images correspond to multiple preset image optimization styles respectively; and selecting the target image from the multiple processed images based on the confidence levels of the multiple processed images.

[0013] In some embodiments, the one or more image post-processing algorithms include one or more of an image filtering algorithm, a k-space filtering algorithm, and a k-space interpolation algorithm.

[0014] A second aspect of the embodiments of this specification provides an image processing apparatus, which includes a processor and a storage device, wherein the storage device is used to store instructions, and when the processor executes the instructions, the image processing method described in any embodiment of this specification is implemented.

[0015] The third aspect of the embodiments of this specification provides an image processing system, including an acquisition module and a processing module. The acquisition module is used to acquire an image to be processed. The processing module is used to input the image to be processed into an image processing model to obtain a target image, and the image processing model is obtained based on machine learning. Among them, the image processing model includes: a processing component, which is used to perform super-resolution processing and noise reduction processing on the image to be processed to obtain an intermediate image; a post-processing component, which is used to use one or more image post-processing algorithms to post-process the intermediate image respectively, and obtain one or more post-processing results; an output component, which is used to fuse the intermediate image and the one or more post-processing results to obtain the target image.

[0016] The embodiments of this specification provide an image processing method, device and system. After introducing the image post-processing algorithm into the image processing model, by changing the fusion method of the intermediate image and the post-processing result (for example, changing the weight parameter), the target image of different optimization styles can be output. In this way, the different preferences of users for image optimization styles are met. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0018] Figure 1 is an exemplary module diagram of an image processing system according to some embodiments of this specification;

[0019] Figure 2 is a structural schematic diagram of an image processing model according to some embodiments of this specification;

[0020] Figure 3 is an exemplary flow chart of an image processing method according to some embodiments of this specification;

[0021] Figure 4 is another structural schematic diagram of an image processing model according to some embodiments of this specification;

[0022] Figure 5 is another structural schematic diagram of an image processing model according to some embodiments of this specification;

[0023] Figure 6 An exemplary graphical user interface according to some embodiments of the present specification is shown. DETAILED DESCRIPTION

[0024] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0025] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

[0026] As shown in this specification, unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0027] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0028] Figure 1 1 is an exemplary module diagram of an image processing system according to some embodiments of the present specification. The image processing system 100 can be implemented on a processing device. Figure 1 As shown, the image processing system 100 may include an acquisition module 110 and a processing module 120 .

[0029] The acquisition module 110 may be used to acquire an image to be processed.

[0030] The processing module 120 can be used to input the image to be processed into the image processing model 200 to obtain the target image. The image processing model 200 can be obtained based on machine learning. That is, the image processing model 200 can be a trained machine learning model. The image processing model 200 can be regarded as a part of the image processing system 100, for example, a part of the processing module 120.

[0031] It should be understood that the scope of machine learning is very broad, and it can be considered that all methods of obtaining a target model (such as the image processing model 200) by optimizing model parameters are included therein.

[0032] In some embodiments, the image processing model 200 may include a processing component 210, a post-processing component 220, and an output component 230. The processing component 210 may be used to perform super-resolution processing and noise reduction processing on the image to be processed to generate an intermediate image. The post-processing component 220 may be used to post-process the intermediate image using one or more image post-processing algorithms to obtain one or more post-processing results. The output component 230 may be used to fuse the intermediate image and the one or more post-processing results to obtain a target image. It is understood that each post-processing result may be presented as an image, and the fusion of the intermediate image and the post-processing result is the fusion of the image.

[0033] Just as an example, Figure 2 As shown, the image processing model 200 may include a GAN (Generative Adversarial Network) as a processing component 210, a post-processing component 220 integrating three image post-processing algorithms, and an output component 230. GAN performs super-resolution processing and noise reduction processing on a low-resolution image to be processed (denoted as G) to obtain an intermediate image (denoted as G'). This process can be denoted as G'=f(G), where f represents the function function of GAN. Then, the post-processing component 220 can post-process the intermediate image G' through an image filtering algorithm (ImageFliter Function, denoted as IF), a k-space filtering algorithm (KspaceFliter Function, denoted as KF) and a k-space interpolation algorithm (Interpolation Function, denoted as IN), respectively, denoted as I=IF(G'), K=KF(G') and In=IN(G'), that is, the three post-processing results of I, K and In are obtained. Furthermore, the output component 230 can fuse the weighted sum of the above three post-processing results and the intermediate image G' to obtain a high-resolution target image (denoted as O), denoted as O=G'+αI+βK+γIn, wherein α, β and γ are the weights corresponding to the above three post-processing results respectively, and the summation symbol + represents the fusion of the images, for example, the weighted sum of the pixel values ​​of corresponding pixels in multiple images is performed.

[0034] In some embodiments, the pre-training strategy can be applied to GAN. Specifically, the parameters of the pre-trained GAN can be fine-tuned to obtain a trained image processing model 200. In this way, the training cost can be saved and the training efficiency can be improved.

[0035] After introducing the image post-processing algorithm into the image processing model, by changing the fusion method of the intermediate image and the post-processing result (for example, changing the weight parameters α, β and γ), target images with different optimization styles can be output. In this way, users' diverse preferences for image optimization styles are met.

[0036] For more details about the image processing system 100 and its modules, please refer to Figure 3 and its related description.

[0037] It should be understood that Figure 1 , Figure 2 The system and its modules shown can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented by dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated hardware.

[0038] It should be noted that the above description of the system and its modules is only for the convenience of description and does not limit this specification to the scope of the embodiments. It is understandable that for those skilled in the art, after understanding the principle of the system, it is possible to arbitrarily combine the various modules or form a subsystem to connect with other modules without deviating from this principle. For example, in some embodiments, the acquisition module 110 and the processing module 120 can be two modules or combined into one module. For another example, in some embodiments, the image processing system 100 can also include a training module (not shown) for training to obtain the image processing model 200, and the training module and other modules in the image processing system 100 can be implemented on the same processing device or on different processing devices. Such variations are all within the scope of protection of this specification.

[0039] Figure 3 is an exemplary flow chart of an image processing method according to some embodiments of this specification. Process 300 may be executed by one or more processors. In some embodiments, process 300 may be executed by Figure 1 The image processing system 100 shown in FIG. Figure 3 As shown, process 300 may include the following steps.

[0040] Step 310 , obtaining the image to be processed. In some embodiments, step 310 may be performed by the obtaining module 110 .

[0041] It should be noted that the method in this specification can be applied to the processing of various types of images. In other words, this specification does not impose any restrictions on the specific type of the image to be processed. For example, in a medical scenario, the image to be processed can be any one of MR (Magnetic Resonance) images, CT images, PET (Positron Emission Computed Tomography) images, etc.

[0042] When the image to be processed is an MR image, the image to be processed may include multiple channel maps. For example, G = {g1, g2, ..., g n}, where g i represents a channel map numbered i (i.e., the magnetic resonance image of the i-th single channel), which is acquired by a receiving coil of a magnetic resonance imaging device, the total number of channels n is equal to the number of receiving coils used for magnetic resonance imaging, and G represents a set of n channel maps (i.e., the total number of n single-channel magnetic resonance images). Alternatively, the image to be processed may be an image generated by fusion of multiple channel maps, for example, the weighted sum of the aforementioned n channel maps.

[0043] Step 320 , input the image to be processed into an image processing model to obtain a target image. In some embodiments, step 320 may be performed by the processing module 120 .

[0044] As mentioned above, the optimization tasks of the image processing model 200 mainly include super-resolution and noise reduction. Specifically, the processing component 210 in the image processing model 200 can perform basic super-resolution and noise reduction processing, that is, the intermediate image output by the processing component 210 has been improved to a certain extent in terms of resolution and noise level compared to the image to be processed. On this basis, the various image post-processing algorithms integrated in the post-processing component 220 in the image processing model 200 can provide further image optimization effects, that is, the target image performs better than the intermediate image, for example, the resolution is further improved and the noise level is further suppressed.

[0045] This specification does not impose any specific restrictions on the implementation of the processing component 210. The processing component 210 can be any machine learning model suitable for image processing, for example, a neural network (such as a convolutional neural network), a generative adversarial network (GAN), a GAN built based on a neural network, and the like.

[0046] It is understood that the specific image optimization effect that the post-processing component 220 can provide depends on which image post-processing algorithms it integrates. In practical applications, the corresponding image post-processing algorithm can be embedded in the post-processing component 220 according to the image optimization effect that the user may need.

[0047] In some embodiments, the one or more image post-processing algorithms may include one or more of an image filtering algorithm, a k-space filtering algorithm, a k-space interpolation algorithm, and the like.

[0048] From the perspective of optimization effect, image filtering algorithms can include one or more methods of noise reduction, enhancement (such as enhancing image details such as texture), edge smoothing, etc. More specifically, noise reduction can use the Non-Local Mean (NLM) method, enhancement can use the unsharp mask method that can perform adaptive enhancement according to the strength of the linear structure, and edge smoothing can be achieved through a coherence filter.

[0049] The k-space filtering algorithm can be implemented by using a filter based on an elliptical window function, a filter based on a rectangular window function, a new filter based on iterative operations, etc. K-space filtering can remove Gibbs artifacts in images.

[0050] K-space interpolation algorithms can include methods to fill zero values ​​at the periphery of k-space. K-space interpolation can improve image resolution.

[0051] Unlike image filtering (which belongs to pixel domain processing), the k-space related algorithms mentioned in this article (such as k-space filtering and k-space interpolation) belong to frequency domain processing. K-space, also known as Fourier space, is the filling space of the original digital data with spatial positioning coding information. Each MR image has a corresponding K-space data lattice. By Fourier transforming the data in K-space, the spatial positioning coding information in the original digital data can be decoded and MR signals of different frequencies, phases and amplitudes can be decomposed. Different frequencies and phases represent different spatial positions, while the amplitude represents the MR signal intensity. MR signals of different frequencies, phases and signal intensities are assigned to corresponding pixels to reconstruct the MR image. Fourier transform can transform the k-space data lattice into a magnetic resonance image lattice. Each point in the k-space corresponds to all the pixels of the MR image, among which the central part of the k-space determines the image contrast, and the peripheral part of the k-space determines the image resolution. That is to say, the general process of the k-space correlation algorithm includes: converting the MR image (intermediate image) into k-space data, processing the k-space data (such as filtering, interpolation), and then converting the processed k-space data into an MR image (for example, as the output of the image post-processing algorithm, also referred to as a post-processing result).

[0052] Referring to the foregoing, the target image can be obtained by fusing the intermediate image and the post-processing result. Therefore, by changing the fusion method of these images (such as weight parameters), output images (target images) of different optimization styles can be obtained. As an example only, image fusion can include fusing the weighted sum of multiple post-processing results and the intermediate image. For example, referring to Figure 2 , O=G'+αI+βK+γIn, where O represents the output image, G' represents the intermediate image, I, K and In represent the three post-processing results output by the post-processing component 220, and α, β and γ are weight parameters (the value range is [0, 1]).

[0053] It is worth noting that parameters related to image fusion (such as weight parameters) can be set as model parameters, that is, parameters that need to be adjusted during model training. These parameters determine the optimization style of the output image (target image) to a certain extent. For ease of understanding, an extreme example is given here. If only the image is optimized to a certain extent, then the model parameters can be configured to shield the influence of the post-processing component 220 on the output image. For example, Figure 2 The weight parameters α, β and γ in can be set to 0 at the same time.

[0054] In addition, in some embodiments, the internal parameters of the image post-processing algorithm can also be set as model parameters. When the image post-processing algorithm is used alone for image optimization, the internal parameters of the algorithm are usually determined based on manual experience, and there is a lack of clear means to search for better parameters (for example, the image post-processing effect is enhanced after the parameter update). The embodiment of this specification proposes to introduce the image post-processing algorithm into the AI ​​system (image processing model 200), based on which the internal parameters of the algorithm can be continuously optimized through supervised learning (such as supervised or semi-supervised) until the image post-processing effect reaches the expected level.

[0055] In order to achieve diverse image optimization styles, the embodiments of this specification provide several exemplary model training ideas.

[0056] In the first training approach, only one image processing model can be trained (see Figure 2 ), the model input is an image with low resolution and low signal-to-noise ratio, and the model output is an image with high resolution and high signal-to-noise ratio. It should be understood that "high" and "low" in this specification are relative to the model input and the model output. In some embodiments, "high" may also mean higher than a certain threshold, and "low" may also mean lower than a certain threshold.

[0057] Considering that the acquisition cost of high-resolution images is usually high, more samples can be obtained through reverse optimization based on the gold standard (Ground Truth, GT). Specifically, GT (also known as label) can use images with high resolution and high signal-to-noise ratio. For example, by collecting multiple high-resolution images and averaging these images, a high-resolution and high-signal-to-noise ratio image can be obtained as GT. By downsampling and denoising GT (i.e., reverse optimization), the image resolution and signal-to-noise ratio can be reduced. By performing multiple reverse optimizations on the same GT (i.e., the same output image), multiple input images can be obtained, and each input image can form a sample with the GT. In the above manner, a training dataset can be constructed based on a small number of GTs.

[0058] When the first training approach is adopted, a set of model parameters can be obtained through model training. In the model application stage, the system 100 can use this set of parameters by default to perform model prediction to obtain the target image. Figure 2 , the model parameters obtained through model training include α=0.9, β=0.7 and γ=0.2, then the system 100 (output component 230) can fuse different post-processing results by default according to α=0.9, β=0.7 and γ=0.2 to obtain the target image.

[0059] In some embodiments, when the first training idea is adopted, the user can set parameter sets for one or more scanning protocols in advance, that is, before obtaining the target image, the system 100 can obtain the parameter sets set by the user for one or more scanning protocols, and the parameter sets may include multiple weight parameters (such as α, β and γ) corresponding to multiple post-processing results. Based on this, the system 100 (output component 230) can fuse different post-processing results in the following manner: determine the target scanning protocol for reconstructing the image to be processed; call the target parameter set set by the user for the target scanning protocol; perform weighted summation on the multiple post-processing results according to the target parameter set to obtain the weighted summation result of the multiple post-processing results. Similarly, the user can set parameter sets for one or more scanning parts (for example, head, chest, heart, ribs, blood vessels, etc.) in advance, that is, before obtaining the target image, the system 100 can obtain the parameter sets set by the user for one or more scanning parts, and the parameter sets include multiple weight parameters corresponding to multiple post-processing results. Based on this, the system 100 (output component 230) can fuse different post-processing results in the following manner: determine the target scanning protocol for reconstructing the image to be processed; call the target parameter set set by the user for the target scanning protocol; and perform weighted summation of the multiple post-processing results according to the target parameter set to obtain a weighted summation result of the multiple post-processing results.

[0060] Under the second training idea, multiple candidate image processing models (hereinafter referred to as models) can be trained, each model can correspond to an image optimization style (hereinafter referred to as style), and each style model can output images of that style. The style of each model can be determined by the training data set of the model, that is, in order to obtain a model of a specific style, a training data set of a specific style can be used for model training. The method of obtaining the training data set under the second training idea can refer to the first training idea.

[0061] As an example only, three styles of models can be trained, namely, high super-resolution model, high denoising model and balanced model. In order to obtain the three styles of models, three sets of training data sets (i.e., three styles of training data sets) can be collected, namely, high super-resolution training data sets, high denoising training data sets and balanced training data sets, and each set of training data sets is used to train a style of model. By controlling the degree of downsampling (such as the downsampling multiple) and the degree of noise addition (such as the noise size) of GT, training data sets of different styles can be constructed. It is worth noting that the degree of improvement in resolution and the degree of improvement in signal-to-noise ratio (from input image to output image) often cannot reach a high level at the same time (the model may not converge). Therefore, different training data sets can be sorted from low to high according to the degree of improvement in image resolution as high denoising training data set → balanced training data set → high super-resolution training data set; according to the degree of improvement in signal-to-noise ratio, they can be sorted from low to high as high super-resolution training data set → balanced training data set → high denoising training data set.

[0062] Furthermore, based on the trained models of several basic styles, models of more styles can be generated. For example, the basic styles may include a high super-resolution style, a high noise reduction style, and a balanced style. By performing linear interpolation between the parameters of the high super-resolution model and the balanced model, the parameters of one or more models whose styles are between the high super-resolution style and the balanced style can be obtained. Similarly, by performing linear interpolation between the parameters of the high noise reduction model and the balanced model, the parameters of one or more models whose styles are between the high noise reduction style and the balanced style can be obtained.

[0063] When the second training approach is adopted, in the model application stage, the system 100 can obtain the target image optimization style (such as the hyper-resolution style) input by the user, and then select a model belonging to the target image optimization style from the model library for image optimization (step 320), wherein the model library includes alternative image processing models of multiple image optimization styles.

[0064] In some embodiments, the target image optimization style can also be determined based on the target scanning protocol used to reconstruct the image to be processed. Specifically, the user can pre-set the image optimization style that one or more scanning protocols are respectively adapted to, that is, before obtaining the target image, the system 100 can obtain the image optimization style that one or more scanning protocols set by the user are respectively adapted to. Based on this, the system 100 can determine the image optimization style adapted to the target scanning protocol as the target image optimization style. For example, assuming that there are three image optimization styles supported by the model, namely, high super score style, high noise reduction style and balanced style, accordingly, the system 100 can create scanning protocol groups corresponding to these three styles, namely, high super group, high noise reduction group and balanced group. The user can add any scanning protocol to the group corresponding to the image optimization style it is adapted to, so as to realize the setting of the scanning protocol adapted to the scanning protocol. Similarly, the target image optimization style can also be determined based on the target scanning part contained in the image to be processed. Specifically, the user can pre-set one or more scanning parts respectively adapted to the image optimization style, that is, before obtaining the target image, the system 100 can obtain the image optimization style respectively adapted to the one or more scanning parts (e.g., head, chest, heart, ribs, blood vessels, etc.) set by the user. Based on this, the system 100 can determine the image optimization style adapted to the target scanning protocol as the target image optimization style.

[0065] Under the third training idea, the image optimization style can be used as part of the model input, that is, the model input can include the input image and the image optimization style. For example, different image optimization styles can be encoded with one-hot encoding, and the model input can include the encoding vector (i.e., one-hot vector) of the input image and the image optimization style. At this time, it can be understood that the image optimization style is used as an additional condition to guide the model to process the input image into the desired output image of the style, that is, the image optimization style in the model input can be regarded as the desired image optimization style (referred to as the desired style). The method for obtaining the training data set under the third training idea can refer to the second training idea. Specifically, under the third training idea, the sample includes the input image and the desired style, and the desired style can be determined according to the true style of the GT. For example, the high super-score training data set, the high denoising training data set and the balanced training data set can be merged to obtain the training data set under the third training idea, wherein the desired style in the samples belonging to the high super-score training data set can be set to the high super-score style, the desired style in the samples belonging to the high denoising training data set can be set to the high denoising style, and the desired style in the samples belonging to the balanced training data set can be set to the balanced style.

[0066] In some embodiments, reference Figure 4, the desired style can be used as conditional information to input the conditional GAN ​​(as processing component 210) in the image processing model 200. Compared with GAN, the conditional GAN ​​adds additional conditional information as input.

[0067] When the third training idea is adopted, in the model application stage, the system 100 can obtain the target image optimization style input by the user, and determine the model input of the image processing model 200 based on the image to be processed and the target image optimization style. Furthermore, the system 100 can use the image processing model 200 to process the model input to obtain the target image. In some embodiments, the target image optimization style can also be determined based on the target scanning protocol (or the scanning part contained in the image to be processed) used to reconstruct the image to be processed. For more details, please refer to the relevant description of the second training idea. In some embodiments, the system 100 can determine the model input of the image processing model 200 based on the image to be processed and the system default style. The system default style can be any image optimization style. In some embodiments, the user can modify the system default style.

[0068] Under the fourth training idea, the model input includes the input image and the expected style, and the model output includes the output image and its confidence (for example, in the form of probability), which can reflect the degree of closeness of the true style of the output image to the expected style. The method for obtaining the training data set under the fourth training idea can refer to the third training idea. Under the fourth training idea, the sample label can be composed of two parts, one part is the image label (which can be recorded as label1), and the other part is the confidence label (which can be recorded as label2), and the confidence label can be determined based on the difference between the predicted image and the label image. Compared with the third training idea, the confidence can quantify the degree of closeness of the true style of the output image to the expected style, so as to screen highly reliable output images (for example, output images whose confidence exceeds a set threshold).

[0069] In some embodiments, reference Figure 5 The image processing model 200 may further include a scoring module cascaded with the post-processing component 220, and the scoring module may calculate the confidence level (eg, 0.95) of the output image (eg, the target image) based on the output image.

[0070] When the fourth training idea is adopted, in the model application stage, the image to be processed needs to be input into the image processing model to obtain multiple processed images and the confidence of the multiple processed images, and the multiple processed images correspond to the preset multiple image optimization styles. Specifically, for each image optimization style, the system 100 can input the image to be processed and the corresponding image optimization style into the image processing model 200 to obtain the processed image corresponding to the image optimization style and the confidence of the image. Further, the system 100 can select a target image from the multiple processed images. For example, the system 100 can determine the image with the highest confidence among all processed images (i.e., all output images of the desired style) as the target image. Assuming that there are three image optimization styles, namely, high super-resolution style, high noise reduction style and balanced style, and the confidence of the images output by the model for these three desired styles are 0.6, 0.8 and 0.9 respectively, then the system 100 can determine the image with the highest confidence (0.9) output by the model as the target image.

[0071] Regarding the parameter update of the model, under the first three training ideas, the value of the loss function can be determined based on the predicted image and the label image (GT) output by the model. For example, the loss function may include feature loss and perceptual loss. Furthermore, according to the value of the loss function, the model parameters can be iteratively updated using a parameter update algorithm (e.g., a gradient descent algorithm) until the termination condition is met. For example, when the value of the loss function reaches a minimum value or oscillates within a small range, it can be considered that the model has converged, and the termination condition is met. During the training process, the processing component 210 (such as GAN) and the post-processing component 220 iterate and optimize each other until the termination condition is met.

[0072] For the fourth training idea, the model can be divided into two parts for training in sequence, the first part includes a processing component 210 and a post-processing component 220, and the second part is a scoring module. Each training instance may include multiple expected styles (for example, the aforementioned three styles), input images and label images corresponding to the multiple expected styles. In the first stage, the value of the first loss (which may include feature loss and perceptual loss) can be calculated based on the difference between the predicted image and the label image, and then, the model parameters of the first part can be continuously adjusted to minimize the first loss. In the second stage, the model parameters of the first part remain unchanged, and only the model parameters of the second part are adjusted. Specifically, the second loss (denoted as loss1) can be calculated based on the predicted image and the label image, and the third loss (denoted as loss2) can be calculated based on the prediction confidence and the second loss. At this time, the optimized loss (denoted as loss) is the sum of the second loss and the third loss, that is, loss=loss1+loss2, and the model parameters of the second part can be continuously adjusted to minimize loss. It is worth noting that the second loss (loss1) reflects the degree of proximity between the true style of the predicted image and the expected style from the perspective of image distribution. The smaller the loss1, the closer the true style of the predicted image is to the expected style, while the prediction confidence reflects the degree of proximity between the true style of the predicted image and the expected style from the perspective of the score. The higher the prediction confidence (score), the closer the true style of the predicted image is to the expected style. Therefore, loss1 can be converted into a confidence label (for example, by taking the inverse of loss1 or a similar method to obtain a confidence label), and then the third loss is calculated based on the difference between the prediction confidence and the confidence label.

[0073] In the model application stage, the system 100 can provide two working modes: automatic mode and manual mode. The following introduces these two working modes in combination with each training idea. Figure 6 When the "Auto" button is selected, the automatic mode takes effect. In addition, when the "Original Image" button is selected, the image display interface can switch from displaying the optimized target image to displaying the image to be processed before optimization.

[0074] In some embodiments, during the model application phase, the system 100 may automatically recommend an optimized image to the user according to the system default settings (the recommended image is the target image). For example, referring to the foregoing, under the first training idea, the system 100 may use the parameter combination obtained through model training by default to perform model prediction to obtain the target image. For another example, referring to the foregoing, under the second training idea, the system 100 may obtain the model input based on the image to be processed and the system default style to obtain the target image.

[0075] In some embodiments, during the model application phase, the system 100 may optimize the image according to user settings.

[0076] For example, under the first training concept, referring to the aforementioned content, the user can pre-set parameter sets for one or more scanning protocols (or scanning parts) so that the system 100 calls the appropriate parameter set in automatic mode to complete image optimization (step 320).

[0077] For example, under the second training idea, referring to the aforementioned content, the user can input the target image optimization style in real time, or the user can pre-set one or more image optimization styles that are adapted to the scanning protocols (or scanning parts), so that the system 100 can call the appropriate model from the model library in automatic mode to complete the image optimization and display the optimized target image.

[0078] In some embodiments, under the third training idea, referring to the foregoing content, the user can input the target image optimization style, or the user can pre-set one or more image optimization styles that are respectively adapted to the scanning protocols (or scanning parts), so that the system 100 generates a model input including the image to be processed and the target image optimization style in automatic mode, and then completes the image optimization through model reasoning, and displays the optimized target image.

[0079] In some embodiments, under the fourth training concept, referring to the foregoing content, the system 100 can select a target image for display from a plurality of images of desired styles based on confidence in the automatic mode.

[0080] The manual mode may not be restricted to any one training idea. After the system 100 displays the target image in the automatic mode, the user may trigger the manual mode through manual operation to adjust the image optimization style of the target image. Specifically, the process 300 may further include: obtaining a style adjustment instruction for the target image input by the user; based on the style adjustment instruction, updating the weight parameters corresponding to the multiple post-processing results, and updating the weighted summation result of the multiple post-processing results based on the updated weight parameters; fusing the updated weighted summation result and the intermediate image to obtain an updated target image. The updated target image may be displayed to the user in real time. It will be understood that the above update process may be repeatedly executed until the user observes that the target image is updated to the expected style.

[0081] In some embodiments, the style adjustment instruction may indicate an updated image optimization style. Accordingly, the system 100 may pre-store parameter sets corresponding to a plurality of image optimization styles (including at least two weight parameters corresponding to the at least two image post-processing algorithms, such as α, β, and γ), so that the weight parameters corresponding to the at least two post-processing results may be updated based on the style adjustment instruction. In the display interface of the target image, buttons corresponding to a plurality of image optimization styles may be provided. When the user clicks a button corresponding to any image optimization style, a style adjustment instruction may be initiated to instruct the target image to be adjusted to the image optimization style.

[0082] In some embodiments, the style adjustment instruction may directly include the updated weight parameter value. Specifically, the style adjustment instruction is generated based on the user's sliding operation of a preset button in the display interface of the target image within a preset bar area, and different positions of the preset button within the preset bar area correspond to different weight parameter value combinations. Whenever the user slides the preset button to a certain position, a style adjustment instruction may be initiated that may include the weight parameter value corresponding to the position. For example, Figure 6 As shown, the display interface of the target image can provide a single drag bar (including a preset bar area and a preset button) for synchronously controlling multiple weight parameter values, that is, these weight parameter values ​​can be equal, such as α=β=γ. A single drag bar can simplify user operations. Of course, the display interface of the target image can also provide multiple drag bars, each of which can be used to control a weight parameter value separately. For example, three drag bars can be provided, respectively used to manually adjust the size of α, β and γ. Multiple drag bars can achieve more delicate style adjustments.

[0083] It should be noted that the above description of the relevant process is only for example and explanation, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the process under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.

[0084] The beneficial effects that may be brought about by the embodiments of this specification include but are not limited to: (1) After the image post-processing algorithm is introduced into the machine learning system, by changing the fusion method of the intermediate image and the post-processing result, the target image with different optimization styles can be output, which meets the user's diverse preferences for image optimization styles; (2) The system provides automatic mode and manual mode, and is very easy to use. It should be noted that different embodiments may produce different beneficial effects. In different embodiments, the beneficial effects that may be produced may be any one or a combination of the above, or any other possible beneficial effects.

[0085] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation on the embodiments of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to the embodiments of this specification. Such modifications, improvements and corrections are suggested in the embodiments of this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.

[0086] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment" and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different locations in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.

[0087] In addition, it will be appreciated by those skilled in the art that the various aspects of the embodiments of this specification may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, the various aspects of the embodiments of this specification may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may all be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, the various aspects of the embodiments of this specification may be represented as a computer product located in one or more computer-readable media, the product including computer-readable program code.

[0088] A computer storage medium may include a propagated data signal containing computer program code, for example, in baseband or as part of a carrier wave. The propagated signal may be in a variety of forms, including electromagnetic, optical, etc., or a suitable combination. A computer storage medium may be any computer-readable medium other than a computer-readable storage medium, which can be connected to an instruction execution system, device or apparatus to communicate, propagate or transmit the program for use. The program code on the computer storage medium may be transmitted via any suitable medium, including radio, cable, fiber optic cable, RF, or similar media, or any combination of the above media.

[0089] The computer program coding required for the operation of each part of the embodiment of this specification can be written in any one or more programming languages, including object-oriented programming languages ​​such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python, etc., conventional procedural programming languages ​​such as C language, VisualBasic, Fortran2003, Perl, COBOL2002, PHP, ABAP, dynamic programming languages ​​such as Python, Ruby and Groovy, or other programming languages, etc. The program coding can be run completely on the user's computer, or run on the user's computer as an independent software package, or partly run on the user's computer and partly run on the remote computer, or run completely on the remote computer or processing equipment. In the latter case, the remote computer can be connected to the user's computer by any network form, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (e.g., by the Internet), or in a cloud computing environment, or used as a service such as software as a service (SaaS).

[0090] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in the embodiments of this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of the embodiments of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing processing device or mobile device.

[0091] Similarly, it should be noted that in order to simplify the description of the embodiments disclosed in this specification, thereby helping to understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the objects of the embodiments of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

[0092] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification is hereby incorporated by reference in its entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this application (currently or later attached to this application) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.

[0093] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of the embodiments of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. An image processing method, characterized in that: include: Get the image to be processed; Inputting the image to be processed into an image processing model to obtain a target image; The image processing model is obtained based on machine learning; The image processing model includes: A processing component, used for performing super-resolution processing and noise reduction processing on the image to be processed to obtain an intermediate image; A post-processing component, used to post-process the intermediate images using one or more image post-processing algorithms to obtain one or more post-processing results; An output component is used to fuse the intermediate image and the one or more post-processing results to obtain the target image.

2. The method according to claim 1, characterized in that The one or more image post-processing algorithms are multiple image post-processing algorithms, and the one or more post-processing results are multiple post-processing results; The fusing the intermediate image and the one or more post-processing results comprises: fusing a weighted sum result of the multiple post-processing results and the intermediate image.

3. The method according to claim 2, characterized in that The method further comprises: Acquire a style adjustment instruction for the target image input by a user; Based on the style adjustment instruction, updating weight parameters corresponding to the plurality of post-processing results, and updating the weighted summation result based on the updated weight parameters; and The updated weighted summation result and the intermediate image are fused to obtain an updated target image.

4. The method according to claim 3, characterized in that The style adjustment instruction is generated based on a user's sliding operation on a preset button in a display interface of the target image within a preset bar area, and different positions of the preset button within the preset bar area correspond to different weight parameter value combinations.

5. The method according to claim 2, characterized in that Before obtaining the target image, the method further includes: Acquire a parameter set set by a user for one or more scanning protocols, wherein the parameter set includes a plurality of weight parameter values ​​corresponding to the plurality of post-processing results; The weighted sum of the multiple post-processing results is determined by: Determining a target scanning protocol for reconstructing the image to be processed; Invoking a target parameter set set by a user for the target scanning protocol; The plurality of post-processing results are weightedly summed according to the target parameter set to obtain the weighted sum result.

6. The method according to claim 1, characterized in that The image processing model is determined by: Obtaining a target image optimization style input by a user; and The image processing model belonging to the target image optimization style is selected from a model library; the model library includes candidate image processing models of multiple image optimization styles.

7. The method according to claim 1, characterized in that Inputting the image to be processed into an image processing model to obtain a target image comprises: Obtaining a target image optimization style input by a user; determining a model input of the image processing model based on the image to be processed and the target image optimization style; processing the model input using the image processing model to obtain the target image; or, The image to be processed is input into an image processing model to obtain multiple processed images and confidence levels of the multiple processed images, wherein the multiple processed images correspond to multiple preset image optimization styles respectively; based on the confidence levels of the multiple processed images, the target image is selected from the multiple processed images.

8. The method according to claim 1, characterized in that The one or more image post-processing algorithms include one or more of an image filtering algorithm, a k-space filtering algorithm, and a k-space interpolation algorithm.

9. An image processing device, characterized in that: The method comprises a processor and a storage device, wherein the storage device is used to store instructions. When the processor executes the instructions, the image processing method according to any one of claims 1 to 8 is implemented.

10. An image processing system, characterized in that: Includes an acquisition module and a processing module; The acquisition module is used to acquire the image to be processed; The processing module is used to input the image to be processed into an image processing model to obtain a target image; The image processing model is obtained based on machine learning; The image processing model includes: A processing component, used for performing super-resolution processing and noise reduction processing on the image to be processed to obtain an intermediate image; A post-processing component, used to post-process the intermediate images using one or more image post-processing algorithms to obtain one or more post-processing results; An output component is used to fuse the intermediate image and the one or more post-processing results to obtain the target image.

Citation Information

Cited By

  • Multi-user super-resolution processing method and device, equipment and medium

    CN121437271A