An ultrasound image denoising method based on unsupervised learning model

Through the ultrasound image denoising method of the unsupervised learning model, we construct a loss function and train the denoising network, which solves the problem of Noisy-Clean image pair construction in ultrasound image denoising, achieves better noise suppression and image detail retention, and improves the Medical image quality.

CN118212153BInactive Publication Date: 2024-09-13CHENGDU UNIV OF INFORMATION TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410638731.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology requires the construction of Noisy-Clean image pairs in the process of ultrasonic image denoising, which makes it difficult to effectively remove speckle noise in medical images, affecting image quality and diagnostic results.

Method used

Using an ultrasound image denoising method based on an unsupervised learning model, by constructing a loss function, including a similarity loss function between neighborhood images, a reconstruction loss function and a regularization loss function between sub-images, the ultrasound image denoising network is trained to obtain Denoise ultrasound images to reduce dependence on data samples and preserve image details.

Benefits of technology

It achieves denoising without constructing Noisy-Clean image pairs, suppresses image speckle noise, enhances contrast, retains image texture edge details, and improves the quality and visual effects of medical images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118212153B
    Figure CN118212153B
Patent Text Reader

Abstract

The present invention discloses an ultrasonic image denoising method based on an unsupervised learning model, which belongs to the field of image processing technology, including: S1, collecting noisy ultrasonic images, denoising them, and constructing sub-images of noisy ultrasonic images and denoised ultrasonic images respectively; S2, constructing a loss function based on the sub-images of noisy ultrasonic images and the sub-images of denoised ultrasonic images; S3, based on the loss function, determining the objective function of training an ultrasonic image denoising network, and training it; S4, using the trained ultrasonic image denoising network to process the denoised ultrasonic image to obtain a denoised ultrasonic image. The method of the present invention reduces the model's dependence on data samples and gives full play to the reasoning ability of deep learning. It does not need to construct Noisy-Clean image pairs, retains more subtle features, enhances contrast while suppressing image speckle noise, and achieves better denoising effect, stronger contrast, and more obvious detail structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical image processing, and in particular relates to an ultrasonic image denoising method based on an unsupervised learning model. Background Art

[0002] Medical image denoising is an essential preprocessing technology for further processing of medical images. Ultrasound image noise is mainly speckle noise, which is inherent in ultrasound imaging systems and is formed by the coherent interference of backscattered echoes from ultrasonic scatterers during propagation. It appears as a granular, black-and-white texture structure on the image. Speckle noise masks image features with small grayscale differences, often covering up important image features used for medical diagnosis, severely reducing image quality and affecting subsequent image analysis.

[0003] In the past few years, the field of image denoising has been dominated by deep convolutional neural networks (CNNs). Unlike traditional methods that denoise images directly based on explicit models, deep learning methods use training data to optimize deep neural networks, and then use the trained models to predict denoised images, which usually have less inference time than traditional denoising methods and can achieve better results. Mainstream deep learning denoising methods require a large number of noisy-clean images as image pairs for training, but it is very difficult to construct noisy-clean image pairs, especially for medical images. In the field of image denoising, unsupervised learning models are a potential way to solve the difficulty of constructing noisy-clean image pairs.

[0004] The main purpose of image denoising is to enhance the quality of the target image and improve the visual effect. This process can be regarded as a process of finding the original clear image from a noisy image. Unlike conventional images, medical images have low contrast and most medical images have signal-related noise, so it is difficult to remove these noises using traditional natural image denoising techniques. The characteristic information contained in the medical image itself must be retained, especially the lesion-related information. Therefore, when inventing medical image denoising methods, it is necessary to enable these methods to retain detailed information such as image texture edges on the basis of the image denoising function, improve the quality of medical images, and improve visual effects. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the ultrasonic image denoising method based on an unsupervised learning model provided by the present invention solves the problem that in the existing ultrasonic image processing process, a paired Noisy-Clean image needs to be displayed, which affects the denoising effect.

[0006] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is: an ultrasound image denoising method based on an unsupervised learning model, comprising the following steps:

[0007] S1, collecting a noisy ultrasonic image, performing denoising on it, and constructing sub-images of the noisy ultrasonic image and the denoised ultrasonic image respectively;

[0008] S2. constructing a loss function based on the sub-image of the noisy ultrasound image and the sub-image of the denoised ultrasound image;

[0009] The loss function includes a similarity loss function between neighboring images, a reconstruction loss function, and a regularization loss function between sub-images;

[0010] S3. Based on the loss function, determine the objective function of training the ultrasound image denoising network and train it;

[0011] S4. Use the trained ultrasound image denoising network to process the denoised ultrasound image to obtain a denoised ultrasound image.

[0012] Furthermore, in step S1, the method for constructing sub-images of the noisy ultrasonic image and the denoised ultrasonic image is specifically as follows:

[0013] S11, unify the size of the input image;

[0014] The input image is a noisy ultrasound image or a denoised ultrasound image. ;

[0015] S12, dividing the input image into a number of 2×2 image units, and recombining pixels in different channels of each image unit;

[0016] S13. During the pixel reorganization process, a sub-image is constructed respectively from the pixels at the upper left, upper right, lower left and lower right of each 2×2 pixel matrix through a down sampler.

[0017] Furthermore, in step S12, the expression for recombining pixels in different channels of each image unit is:

[0018]

[0019] Where G is the downsampler, c is the number of channels, m is the height value, n is the width value, mod is the remainder function, where, , , , , H and Ware the number of channels, height and width of the input image respectively, For images.

[0020] Furthermore, in step S2, the similarity loss function between the neighborhood images is To characterize the brightness similarity between images , contrast similarity and structural similarity function.

[0021] Furthermore, the brightness similarity The expression is:

[0022]

[0023] In the formula, is a small constant, , and Respectively, images x and images y The brightness value with the most pixels in the histogram, and , Pixel i The pixel value of is the number of pixels; is the first hyperparameter, L For images y The dynamic range of pixel values ​​in the image x is a sub-image of a noisy ultrasound image g 1 ( y )or g 3 ( y ),image y is a sub-image of a noisy ultrasound image g 2 ( y )and g 4 ( y );

[0024] Contrast Similarity The expression is:

[0025]

[0026] In the formula, is a small constant, and Respectively, images x and images y The standard deviation of pixel values, , is the second hyperparameter;

[0027] Structural similarity The expression is:

[0028]

[0029] In the formula, is a small constant, For images x and images y The covariance of pixel values; where .

[0030] Furthermore, the similarity loss function between the neighborhood images is for:

[0031]

[0032] In the formula, SSIM (.) is a measure of the perceived distance between two images.

[0033] Furthermore, in step S2, the loss function is reconstructed for:

[0034]

[0035] In the formula, is the sub-image of the noisy ultrasound image After denoising, the image is the sub-image of the noisy ultrasound image Image after denoising.

[0036] Furthermore, in step S2, the regularized loss function between sub-images is for:

[0037]

[0038] In the formula, , , and To denoise ultrasound images The corresponding 4 sub-images are: and are two sub-images corresponding to the noisy ultrasound image.

[0039] Furthermore, in step S3, the objective function is:

[0040]

[0041] In the formula, and are the hyperparameters of the ultrasound image denoising network.

[0042] The beneficial effects of the present invention are:

[0043] (1) The ultrasound image denoising method provided by the present invention reduces the model's dependence on data samples and gives full play to the reasoning ability of deep learning. It does not need to construct Noisy-Clean image pairs, retains more subtle features, and enhances contrast while suppressing image speckle noise;

[0044] (2) The ultrasound image denoising method provided by the present invention can retain detail information such as image texture edges on the basis of realizing the image denoising function, thereby achieving better denoising effect, stronger contrast, more obvious detail structure, improving the quality of medical images, and improving visual effects.

[0045] (3) The unsupervised learning model method provided by the present invention and other deep learning methods were compared in simulated images and real ultrasound images. The experimental evaluation index results showed that the method of the present invention is superior to the original algorithm in terms of structure, edge protection and noise suppression. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is a flow chart of the ultrasound image denoising method based on the unsupervised learning model provided by the present invention. DETAILED DESCRIPTION

[0047] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0048] The embodiment of the present invention provides an ultrasound image denoising method based on an unsupervised learning model. Figure 1 As shown, the following steps are included:

[0049] S1, collecting a noisy ultrasonic image, performing denoising on it, and constructing sub-images of the noisy ultrasonic image and the denoised ultrasonic image respectively;

[0050] S2. constructing a loss function based on the sub-image of the noisy ultrasound image and the sub-image of the denoised ultrasound image;

[0051] The loss function includes a similarity loss function between neighboring images, a reconstruction loss function, and a regularization loss function between sub-images;

[0052] S3. Based on the loss function, determine the objective function of training the ultrasound image denoising network and train it;

[0053] S4. Use the trained ultrasound image denoising network to process the denoised ultrasound image to obtain a denoised ultrasound image.

[0054] The above-mentioned process of implementing ultrasonic image denoising provided by the embodiment of the present invention constitutes an improved unsupervised learning model based on the Neighbor2Neighbor model. In this embodiment, since the Neighbor2Neighbor unsupervised learning model relies on the assumption that the noise distribution conforms to statistical independence, under this assumption, it can achieve denoising through a single noise image. However, this method cannot suppress correlated or structured noise. Since most noises, especially ultrasonic image noise, are correlated, in order to improve the generalization ability of the denoising model, in this embodiment, a term is added to the Neighbor2Neighbor model to constrain the structural similarity between neighborhood images, so as to more effectively suppress independent and correlated noise. At the same time, in order to improve the quality of the denoising effect of the model, in view of the pixel loss problem caused by the random neighborhood downsampler, the downsampling strategy is improved in this embodiment to ensure that the detail information in the downsampled sub-image is fully retained, thereby improving the accuracy and detail recovery ability of the denoising model.

[0055] In step S1 of the embodiment of the present invention, firstly, a real noisy ultrasonic image is collected by an ultrasonic diagnostic apparatus as a data set, and then the data set is subsequently processed.

[0056] In step S1 of the embodiment of the present invention, the method for constructing sub-images of the noisy ultrasonic image and the denoised ultrasonic image is specifically as follows:

[0057] S11, unify the size of the input image;

[0058] The input image is a noisy ultrasound image or a denoised ultrasound image. ;

[0059] S12, dividing the input image into a number of 2×2 image units, and recombining pixels in different channels of each image unit;

[0060] S13. During the pixel reorganization process, a sub-image is constructed respectively from the pixels at the upper left, upper right, lower left and lower right of each 2×2 pixel matrix through a down sampler.

[0061] In step S11 of this embodiment, the image size is unified to 512×512 for subsequent processing.

[0062] In this embodiment, the size is The pixels of the input image are reorganized into a size of Low-resolution images of , H and W are the number of channels, height and width of the input image respectively.

[0063] In step S12 of this embodiment, the expression for recombining pixels in different channels of each image unit is:

[0064]

[0065] Where G is the downsampler, c is the number of channels, m is the height value, n is the width value, mod is the remainder function, where, , , , , H and W are the number of channels, height and width of the input image respectively, For images.

[0066] In this embodiment, the sub-images corresponding to the noisy ultrasound image are respectively represented as g 1 ( y ), g 2 ( y ), g 3 ( y )and g 4 ( y );Denoising Ultrasound Image The corresponding sub-images are represented as , , and .

[0067] In step S2 of the embodiment of the present invention, the similarity loss function between the neighborhood images is To characterize the brightness similarity between images , contrast similarity and structural similarity The function is expressed as: , which is used to measure the SSIM metric of the perceived distance between two images. The SSIM metric takes into account the image x and images y The perceptual distance between two images is measured by the similarity of brightness, contrast, and structural information.

[0068] In this embodiment, the brightness similarity The expression is:

[0069]

[0070] In the formula, is a small constant, , and Respectively, images x and images y The brightness value with the most pixels in the histogram, and ;in, Pixel i The pixel value of is the number of pixels, , is the first hyperparameter, L For images y The dynamic range of pixel values ​​in ;

[0071] image x is a sub-image of a noisy ultrasound image g 1 ( y )or g 3 ( y ),image y is a sub-image of a noisy ultrasound image g 2 ( y )and g 4 (y );

[0072] Specifically, in this embodiment, the ultrasound image content information is usually concentrated in the image value area corresponding to the area with more pixel points in the histogram. These areas often contain important diagnostic information. Therefore, the brightness similarity used in this embodiment is to take the pixel value corresponding to the high point in the histogram as The brightness value of the image is replaced by the original This improvement is crucial to improving the diagnostic accuracy and image quality of ultrasound images, especially when dealing with complex images with uneven brightness distribution. .

[0073] In this embodiment, the contrast similarity The expression is:

[0074]

[0075] In the formula, is a small constant, and Respectively, images x and images y The standard deviation of pixel values, , , is the second hyperparameter;

[0076] In this embodiment, the structural similarity The expression is:

[0077]

[0078] In the formula, is a small constant, For images x and images y The covariance of pixel values; where , The molecules and The denominator of can be reduced, thus obtaining the similarity loss function between neighborhood images in this embodiment: for:

[0079]

[0080] In the formula, SSIM (.) is a measure of the perceived distance between two images, and as a small constant to avoid zero in the denominator.

[0081] In step S2 of the embodiment of the present invention, the loss function is reconstructed. for:

[0082]

[0083] In the formula, is the sub-image of the noisy ultrasound image After denoising, the image is the sub-image of the noisy ultrasound image Image after denoising.

[0084] In step S2 of the embodiment of the present invention, the regularized loss function between the sub-images is for:

[0085]

[0086] In the formula, , , and To denoise ultrasound images The corresponding 4 sub-images are: and are two sub-images corresponding to the noisy ultrasound image.

[0087] In step S3 of the present invention, the objective function is:

[0088]

[0089] In the formula, and are the hyperparameters of the ultrasound image denoising network.

[0090] The ultrasonic image denoising network when performing denoising processing in steps S1 and S3 of this embodiment Both are UNet denoising networks, and the objective function is minimized during training. The goal is to train and update the ultrasound image denoising network.

[0091] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0092] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A method for ultrasonic image denoising based on an unsupervised learning model, characterized in that: The following steps are involved: S1, collecting a noisy ultrasonic image, performing denoising on it, and constructing sub-images of the noisy ultrasonic image and the denoised ultrasonic image respectively; S2. constructing a loss function based on the sub-image of the noisy ultrasound image and the sub-image of the denoised ultrasound image; The loss function includes a similarity loss function between neighboring images, a reconstruction loss function, and a regularization loss function between sub-images; S3. Based on the loss function, determine the objective function of training the ultrasound image denoising network and train it; S4, using the trained ultrasound image denoising network to process the denoised ultrasound image to obtain a denoised ultrasound image; In step S2, the similarity loss function between the neighborhood images is To characterize the brightness similarity between images , contrast similarity and structural similarity Function of The brightness similarity The expression is: In the formula, is a small constant, , and Respectively, images x and images y The brightness value with the most pixels in the histogram, and , Pixel i The pixel value of is the number of pixels; is the first hyperparameter, L For images y The dynamic range of pixel values ​​in the image x is a sub-image of a noisy ultrasound image g 1( y )or g 3( y ),image y is a sub-image of a noisy ultrasound image g 2( y )and g 4( y ); Contrast Similarity The expression is: In the formula, is a small constant, and Respectively, images x and images y The standard deviation of pixel values, , is the second hyperparameter; Structural similarity The expression is: In the formula, is a small constant, For images x and images y Covariance of pixel values; where ; The similarity loss function between the neighborhood images for: In the formula, SSIM (.) is a measure of the perceived distance between two images; In step S2, the loss function is reconstructed for: In the formula, is the sub-image of the noisy ultrasound image After denoising, the image is the sub-image of the noisy ultrasound image The image after denoising; In step S2, the regular loss function between sub-images for: In the formula, , , and To denoise ultrasound images The corresponding 4 sub-images are: and are two sub-images corresponding to the noisy ultrasound image; In step S3, the objective function is: In the formula, and are the hyperparameters of the ultrasound image denoising network.

2. The ultrasonic image denoising method based on an unsupervised learning model according to claim 1, characterized in that: In step S1, the method for constructing sub-images of the noisy ultrasonic image and the denoised ultrasonic image is specifically as follows: S11, unify the size of the input image; The input image is a noisy ultrasound image or a denoised ultrasound image. ; S12, dividing the input image into a number of 2×2 image units, and recombining pixels in different channels of each image unit; S13. During the pixel reorganization process, a sub-image is constructed respectively from the pixels at the upper left, upper right, lower left and lower right of each 2×2 pixel matrix through a down sampler.

3. The ultrasonic image denoising method based on unsupervised learning model according to claim 2, characterized in that: In step S12, the expression for recombining pixels in different channels of each image unit is: Where G is the downsampler, c is the number of channels, m is the height value, n is the width value, mod is the remainder function, where, , , , , H and W are the number of channels, height and width of the input image respectively, For images.