Breast ultrasound image classification method, system, electronic equipment and medium

Breast ultrasound images are classified through one-level and two-level deep neural networks, which solves the problems of low accuracy and efficiency in breast ultrasound image classification and achieves efficient classification of rear echoes.

CN117422927BActive Publication Date: 2024-09-24TEND.AI MEDICAL TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311490395.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2024-09-24
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

In breast ultrasound image classification, due to the limited resolution of ultrasound images and the influence of speckle noise, it is difficult to sensitively capture changes in rear echo signs, resulting in low classification accuracy and efficiency.

Method used

An image classification model composed of first-level and second-level deep neural networks is used to initially classify rear echo enhancement and no change through the first-level network. The second-level network further subdivides the rear echo attenuation to generate the final classification result.

Benefits of technology

It improves the accuracy and efficiency of breast ultrasound image classification, reduces reliance on artificially set thresholds, and is suitable for ultrasound images of different qualities and sources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117422927B
    Figure CN117422927B
Patent Text Reader

Abstract

The present invention discloses a breast ultrasound image classification method, system, electronic device and medium, which relate to the field of image processing. The method comprises: obtaining a breast ultrasound image to be classified; inputting the breast ultrasound image to be classified into an image classification model to obtain a final classification result; wherein the final classification result is rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy. The present invention can improve the accuracy and efficiency of breast ultrasound image classification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing, and in particular to a breast ultrasound image classification method, system, electronic equipment and medium. Background Art

[0002] Rapid and accurate positioning of breast nodules is the key to breast ultrasound imaging. Ultrasound physicians can determine the nature and development prospects of nodules based on ultrasound images of nodule sections and develop corresponding diagnosis and treatment plans.

[0003] Posterior echo is one of the important indicators of ultrasound characteristics of breast nodules and is often used to evaluate the benign or malignant nature of nodules. Posterior echo usually refers to the acoustic echo performance below the nodule. The attenuation degree of the acoustic wave signal when penetrating the nodule area varies with the texture of the nodule. The nodule area with a dense texture will produce greater acoustic wave attenuation, and the formation of echo attenuation signs below the nodule area may indicate malignancy. The nodule area with a transparent texture is not easy to produce attenuation, and may form an enhanced echo sign below the nodule area, which may indicate benignity.

[0004] However, due to the limited resolution of ultrasound images and the inherent speckle noise, it is difficult to sensitively capture the changes in the posterior echo signs by naked eye observation, and it is often affected by subjective tendencies. A breast ultrasound image classification method is urgently needed to improve the accuracy and efficiency of breast ultrasound image classification. Summary of the invention

[0005] The object of the present invention is to provide a breast ultrasound image classification method, system, electronic equipment and medium, which can improve the accuracy and efficiency of breast ultrasound image classification.

[0006] To achieve the above object, the present invention provides the following solutions:

[0007] A breast ultrasound image classification method, the classification method comprising:

[0008] Acquiring a breast ultrasound image to be classified;

[0009] The breast ultrasound image to be classified is input into the image classification model to obtain a final classification result; wherein the final classification result is rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy; the image classification model includes a primary classification network and a secondary classification network; the primary classification network is obtained by training the primary network with a primary training set; the secondary classification network is obtained by training the secondary network with a secondary training set; both the primary network and the secondary network are deep neural networks; the primary training set includes a breast ultrasound image and a corresponding primary classification result; the corresponding primary classification result is rear echo enhancement , the rear echo remains unchanged or the rear echo attenuates; the secondary training set includes a breast ultrasound image whose primary classification result is rear echo attenuation and a corresponding secondary classification result; the secondary classification result is rear echo attenuation-sharp or rear echo attenuation-fuzzy; the breast ultrasound image to be classified is input into the primary classification network to obtain a primary classification result; when the primary classification result is that the rear echo is enhanced or the rear echo remains unchanged, the primary classification result is the final classification result; when the primary classification result is rear echo attenuation, the breast ultrasound image to be classified is input into the secondary classification network to obtain a secondary classification result, and the secondary classification result is used as the final classification result.

[0010] Optionally, the process of constructing the image classification model specifically includes:

[0011] Acquire multiple original breast ultrasound images and regions of interest of each of the original breast ultrasound images; the multiple original breast ultrasound images include rear echo enhanced images, rear echo unchanged images, rear echo attenuated-sharp images, and rear echo attenuated-unsharp images;

[0012] Determine an external matrix of the region of interest of each of the original breast ultrasound images, and determine a rear echo prediction region according to the external matrix to obtain a labeled breast ultrasound image;

[0013] Preprocessing the labeled breast ultrasound image to obtain a preprocessed breast ultrasound image; the preprocessing includes at least two operations of flip transformation, random pruning, color jittering, translation transformation, scale transformation, contrast transformation, noise disturbance and rotation transformation;

[0014] Taking the preprocessed breast ultrasound image as input and the primary classification result as output, training the primary network to obtain a primary classification network;

[0015] The classified breast ultrasound image is used as input and the secondary classification result is used as output to train the secondary network to obtain a secondary classification network; the classified breast ultrasound image is an intermediate breast ultrasound image corresponding to the rear echo attenuation of the primary classification result; the intermediate breast ultrasound image is a preprocessed breast ultrasound image.

[0016] Optionally, the annotated breast ultrasound image is preprocessed, and before being executed, the process further includes:

[0017] The annotated breast ultrasound image is scaled to the preset pixels using an interpolation algorithm.

[0018] Optionally, the interpolation algorithm is a Lanczos interpolation algorithm.

[0019] Optionally, the structure of the primary network includes an input layer, a Conv1 layer, a Fused-MBConv1, a first Fused-MBConv4, a second Fused-MBConv4, an MBConv4, a first MBConv6, a second MBConv6, a Conv2 layer, a GAP layer and a Softmax;

[0020] The input layer is connected to the Conv1 layer; the Conv1 layer is connected to the Fused-MBConv1; the Fused-MBConv1 is connected to the first Fused-MBConv4; the first Fused-MBConv4 is connected to the second Fused-MBConv4; the second Fused-MBConv4 is connected to MBConv4; the MBConv4 is connected to the first MBConv6; the first MBConv6 is connected to the second MBConv6; the second MBConv6 is connected to the Conv2 layer; the Conv2 layer is connected to the GAP layer; the GAP layer is connected to Softmax.

[0021] Optionally, the structure of the secondary network includes an input layer, the Conv1 layer, MBConv1, a first MBConv6, a second MBConv6, a third MBConv6, a fourth MBConv6, a fifth MBConv6, a sixth MBConv6, a Conv2 layer, a GAP layer and a Sigmoid;

[0022] The input layer is connected to the Conv1 layer; the Conv1 layer is connected to MBConv1; the MBConv1 is connected to the first MBConv6; the first MBConv6 is connected to the second MBConv6; the second MBConv6 is connected to the third MBConv6; the third MBConv6 is connected to the fourth MBConv6; the fourth MBConv6 is connected to the fifth MBConv6; the fifth MBConv6 is connected to the sixth MBConv6; the sixth MBConv6 is connected to the Conv2 layer; the Conv2 layer is connected to the GAP layer; the GAP layer is connected to Sigmoid.

[0023] A breast ultrasound image classification system, applying the above-mentioned breast ultrasound image classification method, the classification system comprises:

[0024] An acquisition module, used for acquiring a breast ultrasound image to be classified;

[0025] A classification module is used to input the breast ultrasound image to be classified into an image classification model to obtain a final classification result; wherein the final classification result is rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy; the image classification model includes a primary classification network and a secondary classification network; the primary classification network is obtained by training the primary network with a primary training set; the secondary classification network is obtained by training the secondary network with a secondary training set; both the primary network and the secondary network are deep neural networks; the primary training set includes a breast ultrasound image and a corresponding primary classification result; the corresponding primary classification result is a rear echo. Acoustic enhancement, no change in rear echo or attenuation of rear echo; the secondary training set includes a breast ultrasound image whose primary classification result is rear echo attenuation and a corresponding secondary classification result; the secondary classification result is rear echo attenuation-sharp or rear echo attenuation-fuzzy; the breast ultrasound image to be classified is input into the primary classification network to obtain a primary classification result; when the primary classification result is the rear echo enhancement or the rear echo no change, the primary classification result is the final classification result; when the primary classification result is rear echo attenuation, the breast ultrasound image to be classified is input into the secondary classification network to obtain a secondary classification result, and the secondary classification result is used as the final classification result.

[0026] An electronic device includes a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the above-mentioned breast ultrasound image classification method.

[0027] A computer-readable storage medium stores a computer program, wherein the computer program implements the above-mentioned breast ultrasound image classification method when executed by a processor.

[0028] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0029] The present invention applies an image classification model to classify breast ultrasound images to be classified, and the final classification results obtained are rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy; and the image classification model includes a primary classification network and a secondary classification network; the breast ultrasound image to be classified is input into the primary classification network to obtain a primary classification result; when the primary classification result is the rear echo enhancement or the rear echo unchanged, the primary classification result is the final classification result; when the primary classification result is rear echo attenuation, the breast ultrasound image to be classified is input into the secondary classification network to obtain a secondary classification result, and the secondary classification result is used as the final classification result. The present invention directly obtains the final classification result through the image classification model, improves the efficiency of breast ultrasound image classification, and improves the accuracy of breast ultrasound image classification by adopting the structure of the primary classification network and the secondary classification network. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0031] Figure 1 Schematic diagram of ultrasonic rear echo of the present invention, wherein: Figure 1 a in the figure is a schematic diagram of rear echo enhancement. Figure 1 The b in the figure is a schematic diagram showing that the rear echo does not change. Figure 1 The c in the figure is the schematic diagram of the rear echo attenuation - not sharp. Figure 1 The d in the figure is the rear echo attenuation-sharpness diagram;

[0032] Figure 2 It is a practical application flow chart of the ultrasonic breast nodule posterior echo detection method of the present invention;

[0033] Figure 3 It is a rectangular schematic diagram of the rear echo and reference area of ​​the present invention;

[0034] Figure 4 It is a schematic diagram of the rear echo prediction area of ​​the present invention;

[0035] Figure 5 It is a schematic diagram of the primary network structure of the present invention;

[0036] Figure 6 It is a schematic diagram of the secondary network structure of the present invention;

[0037] Figure 7 This is a flow chart of the breast ultrasound image classification method of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] The object of the present invention is to provide a breast ultrasound image classification method, system, electronic equipment and medium, which can improve the accuracy and efficiency of breast ultrasound image classification.

[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0041] Embodiment 1

[0042] like Figure 2 and Figure 7 As shown, the present invention provides a breast ultrasound image classification method, the classification method comprising:

[0043] Step S1: Acquire a breast ultrasound image to be classified.

[0044] Step S2: Input the breast ultrasound image to be classified into the image classification model to obtain the final classification result; wherein the final classification result is rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy; the image classification model includes a primary classification network and a secondary classification network; the primary classification network is obtained by training the primary network with a primary training set; the secondary classification network is obtained by training the secondary network with a secondary training set; both the primary network and the secondary network are deep neural networks; the primary training set includes a breast ultrasound image and a corresponding primary classification result; the corresponding primary classification result is rear echo enhancement. enhancement, no change in the rear echo or attenuation of the rear echo; the secondary training set includes a breast ultrasound image whose primary classification result is rear echo attenuation and a corresponding secondary classification result; the secondary classification result is rear echo attenuation-sharp or rear echo attenuation-fuzzy; the breast ultrasound image to be classified is input into the primary classification network to obtain a primary classification result; when the primary classification result is the rear echo enhancement or the rear echo no change, the primary classification result is the final classification result; when the primary classification result is rear echo attenuation, the breast ultrasound image to be classified is input into the secondary classification network to obtain a secondary classification result, and the secondary classification result is used as the final classification result.

[0045] Furthermore, the primary network is BrEff1-net. The secondary network is BrEff2-net.

[0046] As a specific implementation, the process of constructing the image classification model specifically includes:

[0047] Step S101: Acquire multiple original breast ultrasound images and regions of interest of each of the original breast ultrasound images; the multiple original breast ultrasound images include rear echo enhanced images, rear echo unchanged images, rear echo attenuated-sharp images and rear echo attenuated-unsharp images.

[0048] In practical applications, such as Figure 1 First, obtain a breast ultrasound image that includes breast nodules. Figure 1 a in the figure is a schematic diagram of rear echo enhancement. Figure 1 The b in the figure is a schematic diagram showing that the rear echo does not change. Figure 1 The c in the figure is the schematic diagram of the rear echo attenuation - not sharp. Figure 1 d in the figure is a schematic diagram of rear echo attenuation-sharpness. The present invention uses a total of 2561 breast ultrasound images containing breast nodules, of which 602 images have rear echo enhancement, 1760 images have no rear echo change, 106 images have rear echo attenuation-sharpness, and 93 images have rear echo attenuation-unsharpness.

[0049] Professional ultrasound physicians mark the nodule boundary contour by marking points. For any nodule P, there are no less than ten delineation points, and the nodule edge contour formed by connecting these points is recorded as the region of interest of the image. The set of all delineation points is (x i ,y i )∈P,(i≥10).

[0050] Step S102: Determine the external matrix of the region of interest of each original breast ultrasound image, and determine the rear echo prediction region according to the external matrix to obtain a labeled breast ultrasound image. The labeled breast ultrasound image is an image of the rear echo prediction region.

[0051] Step S103: applying an interpolation algorithm to the annotated breast ultrasound image to scale it to a preset pixel. Specifically, the interpolation algorithm is a Lanczos interpolation algorithm.

[0052] In practical applications, we first take the minimum circumscribed rectangular area of ​​the nodule Rect ROI , so that it satisfies:

[0053]

[0054] Where Rect RoI (x, y, w, h) is the bounding rectangle of the nodule in the image, x, y are the horizontal and vertical coordinates of the upper left corner of the bounding rectangle, w, h are the width and height of the bounding rectangle, P x is the set of horizontal coordinates of all outline points, P y It is the vertical coordinate set of all outline points. Minimum enclosing rectangular area Rect ROI correspond Figure 3 1 area in;

[0055] After obtaining the minimum bounding rectangle of the area of ​​interest, obtain the rear echo area Rect back , and its calculation formula is as follows:

[0056]

[0057] Rear echo area Rect back correspond Figure 3 2 areas in;

[0058] Rear echo reference area Rect c1 , Rect c2 The calculation formula is as follows:

[0059]

[0060]

[0061] Rear echo reference area Rect c1 , Rect c2 correspond Figure 3 3 areas in;

[0062] The steps for constructing the rear echo prediction region are as follows: first, the rear echo region and the rear echo reference region are cut out from the original image according to the above formula to obtain three images, and then the three images are spliced ​​into one image in the order of the rear echo region in the middle and the rear echo reference region on both sides to obtain the rear echo prediction region. Finally, the spliced ​​images are uniformly scaled to 224x224 pixels using the Lanczos interpolation algorithm. The steps are as follows: Figure 4 shown.

[0063] Step S104: Based on step S103, the labeled breast ultrasound image is preprocessed to obtain a preprocessed breast ultrasound image; the preprocessing includes at least two operations of flip transformation, random pruning, color jittering, translation transformation, scale transformation, contrast transformation, noise disturbance and rotation transformation.

[0064] In practical applications, before deep learning network training, in order to enrich the image training set, better extract image features, and prevent model overfitting, two to four methods are randomly selected from the following eight image enhancement methods to enhance the images during training:

[0065] 1. Flip transformation: flip the image horizontally or vertically.

[0066] 2. Random cropping: Crop a random area of ​​the image with a ratio of 0.6 to 1.0.

[0067] 3. Color jittering: Perform principal component analysis on each RGB color channel of the training set pixel value to obtain the three main direction vectors of the RGB space, and select the most important principal components (eigenvectors) to generate new color-changed image samples.

[0068] 4. Translation transformation: Move the image randomly in one of the four directions: up, down, left, or right, by 0-20 pixels, and fill the excess part with 0-intensity pixels.

[0069] 5. Scale transformation: enlarge or reduce the image according to the specified scaling ratio; or use the specified scale size to filter the image to construct a scale space. Change the size or blur of the image content, and finally change the image resolution to 0.8, 0.9, 1.1, 1.2, etc. times of the original image as a new image.

[0070] 6. Contrast transformation: First, obtain the input image to be processed. Calculate the average grayscale value of the image for subsequent processing. Perform contrast transformation on the image to enhance the contrast of the image by adjusting the brightness value and distribution of the image pixels. According to the pre-set contrast enhancement parameters, adjust the contrast of the image to obtain different degrees of contrast enhancement effects.

[0071] 7. Noise perturbation: Receive an original image as input, generate a salt and pepper noise image of the same size as the original image; generate a Gaussian noise image of the same size as the original image; fuse the generated noise image with the original image, and output the fused image as the perturbed image. The fused image has increased randomness and complexity, and retains the main features of the original image. By processing the perturbed image, the robustness and saturation of the image processing algorithm can be improved.

[0072] 8. Rotation transformation: Rotate the image randomly by 0-15 degrees in either clockwise or counterclockwise direction, and fill the excess part with 0-intensity pixels.

[0073] Step S105: taking the preprocessed breast ultrasound image as input and the primary classification result as output, training the primary network to obtain a primary classification network.

[0074] Step S106: Taking the classified breast ultrasound image as input and the secondary classification result as output, the secondary network is trained to obtain a secondary classification network; the classified breast ultrasound image is an intermediate breast ultrasound image corresponding to the rear echo attenuation of the primary classification result; the intermediate breast ultrasound image is a preprocessed breast ultrasound image.

[0075] In practical applications, the present invention constructs a two-stage network to classify the posterior breast echo. Figure 5 and Figure 6 As shown. The primary network is BrEff1-net and the secondary network is BrEff2-net. The inputs of the primary network and the secondary network during training are the images of the rear echo prediction area processed by step 103 and step 104. BrEff1-net is BreastEfficientStage1Net, which is improved based on the existing network EfficientNetv2s; BrEff2-net is BreastEfficientStage2Net, which is improved based on the existing network EfficientNetb0.

[0076] In the present invention, BrEff1-net is first used as a deep neural network to classify the input image into three categories: rear echo enhancement, rear echo attenuation, and rear echo unchanged. The first-level network uses the EfficientNetV2-s architecture as the basic skeleton.

[0077] BrEff1-net contains an input layer with input size (w, h, c), where w=224, h=224, c=3, and the input layer is connected to the skeleton network EfficientNetV2-s, which consists of a series of repeated MBConv-Blocks and Fused-MBConv-Block. The MBConv module is the core module in the EfficientNet series, mainly composed of a series of depthwise separable convolution, dilated convolution and Squeeze-and-Excitation (SE) modules, which are used to extract image features at different levels. Fused-MBConv-Block combines Depthwise Separable Convolution and Squeeze-and-Excitation to improve the efficiency and performance of the network. After all convolutional layers, the convolution output is expanded using a global average pooling layer, then connected to a dropout layer with a probability of 0.5, and finally connected to the output layer using a softmax activation function. The intermediate layer uses leaky ReLU as the activation function, and the Adam optimizer is used for parameter backpropagation during training. The output results are divided into three categories: rear echo enhancement, rear echo attenuation, and rear echo unchanged. If the output of the primary network is rear echo enhancement or rear echo unchanged, then it is the final output result. If the output of the primary network is rear echo attenuation, then the input original image is input into the secondary network for further judgment.

[0078] Specifically, the structure of the first-level network includes an input layer, a Conv1 layer, a Fused-MBConv1, a first Fused-MBConv4, a second Fused-MBConv4, an MBConv4, a first MBConv6, a second MBConv6, a Conv2 layer, a GAP layer and a Softmax.

[0079] The input layer is connected to the Conv1 layer; the Conv1 layer is connected to the Fused-MBConv1; the Fused-MBConv1 is connected to the first Fused-MBConv4; the first Fused-MBConv4 is connected to the second Fused-MBConv4; the second Fused-MBConv4 is connected to MBConv4; the MBConv4 is connected to the first MBConv6; the first MBConv6 is connected to the second MBConv6; the second MBConv6 is connected to the Conv2 layer; the Conv2 layer is connected to the GAP layer; the GAP layer is connected to Softmax.

[0080] Furthermore, BrEff1-net contains an input layer with input size (w, h, c), where w = 224, h = 224, c = 3, the input layer is connected to a Conv1 layer with size K3×3, and then the Conv1 layer is connected to two Fused-MBConv1 layers with size K3×3, the two Fused-MBConv1 layers are then connected to four Fused-MBConv4 layers with size K3×3, and the four Fused-MBConv4 layers are then connected to four Fused-MB Conv4, size is K3×3, the four-layer Fused-MBConv4 is then connected to the six-layer MBConv4, size is K3×3, the six-layer MBConv4 is then connected to the nine-layer MBConv6, size is K3×3, the nine-layer MBConv6 is then connected to the fifteen-layer MBConv6, size is K3×3, the fifteen-layer MBConv6 is then connected to a Conv2 layer, size is K1×1, a Conv2 layer is then connected to the GAP layer, and the GAP layer is then connected to Softmax.

[0081] In the present invention, BrEff2-net is used as a secondary network, and the images classified as rear echo attenuation are further divided into two subclasses: rear echo attenuation-sharp and rear echo attenuation-blurred.

[0082] The secondary network uses the EfficientNet-b0 architecture as the basic skeleton. BrEff2-net contains an input layer with an input size of (w, h, c), where w=224, h=224, c=3. The input layer is connected to the skeleton network EfficientNetV2-b0, which is also composed of a series of repeated Blocks. Each Block consists of multiple MBConv modules and a convolutional layer. After all convolutional layers, the convolution output is expanded using a global average pooling layer, then connected to a dropout layer with a probability of 0.5, and finally connected to the output layer using a sigmoid activation function. The intermediate layer uses leaky ReLU as the activation function, and the Adam optimizer is used for parameter back propagation during training. The output results are divided into two categories, namely rear echo attenuation-sharp and rear echo attenuation-blurred.

[0083] Specifically, the structure of the secondary network includes an input layer, the Conv1 layer, MBConv1, a first MBConv6, a second MBConv6, a third MBConv6, a fourth MBConv6, a fifth MBConv6, a sixth MBConv6, a Conv2 layer, a GAP layer and a Sigmoid.

[0084] The input layer is connected to the Conv1 layer; the Conv1 layer is connected to MBConv1; the MBConv1 is connected to the first MBConv6; the first MBConv6 is connected to the second MBConv6; the second MBConv6 is connected to the third MBConv6; the third MBConv6 is connected to the fourth MBConv6; the fourth MBConv6 is connected to the fifth MBConv6; the fifth MBConv6 is connected to the sixth MBConv6; the sixth MBConv6 is connected to the Conv2 layer; the Conv2 layer is connected to the GAP layer; the GAP layer is connected to Sigmoid.

[0085] Further, the secondary network includes an input layer with an input size of (w, h, c), where w = 224, h = 224, c = 3, the input layer is connected to a Conv1 layer with a size of K3×3, and then the Conv1 layer is connected to a MBConv1 layer with a size of K3×3, one MBConv1 layer is next connected to two MBConv6 layers with a size of K3×3, two MBConv6 layers are next connected to two MBConv6 layers with a size of K5×5, two MBConv6 layers are next connected to three MBConv6 layers with a size of K3×3, three MBConv6 layers are next connected to three MBConv6 layers with a size of K5×5, three MBConv6 layers are next connected to four MBConv6 layers with a size of K5×5, four MBConv6 layers are next connected to a MBConv6 layer with a size of K3×3, one MBConv6 layer is next connected to a Conv2 layer with a size of K1×1, one Conv2 layer is next connected to a GAP layer, and the GAP layer is next connected to Sigmoid.

[0086] The final output results of the present invention are the output results of the primary network and the secondary network, which are respectively the rear echo enhancement and the rear echo unchanged output of the primary network and the rear echo attenuation-sharp or rear echo attenuation-fuzzy output of the secondary network.

[0087] The present invention has the following advantages:

[0088] 1) Compared with the traditional single image processing threshold measurement method, this method uses the BrEff-net deep network to extract multiple deep features related to the posterior echo of the nodule, so it has a higher accuracy than the previous method. In addition, this method adapts to ultrasound images of different quality and sources through image data enhancement methods, and has a low degree of dependence on artificially set thresholds, and has a wider applicability.

[0089] 2) This method uses a two-stage deep learning network to further subdivide the posterior echo attenuation, which meets clinical needs. The secondary network uses a lightweight network to reduce the amount of calculation. Compared with traditional deep learning algorithms, the computational efficiency and accuracy can be further improved. Compared with other machine learning-based methods, this method uses a large number of images for training and covers a wide range of nodules, which also ensures that this method can make accurate measurements on different types of nodules.

[0090] Embodiment 2

[0091] In order to execute the method corresponding to the above embodiment 1 to achieve corresponding functions and technical effects, a breast ultrasound image classification system is provided below, and the classification system includes:

[0092] The acquisition module is used to acquire the breast ultrasound image to be classified.

[0093] A classification module is used to input the breast ultrasound image to be classified into an image classification model to obtain a final classification result; wherein the final classification result is rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy; the image classification model includes a primary classification network and a secondary classification network; the primary classification network is obtained by training the primary network with a primary training set; the secondary classification network is obtained by training the secondary network with a secondary training set; both the primary network and the secondary network are deep neural networks; the primary training set includes a breast ultrasound image and a corresponding primary classification result; the corresponding primary classification result is a rear echo. Acoustic enhancement, no change in rear echo or attenuation of rear echo; the secondary training set includes a breast ultrasound image whose primary classification result is rear echo attenuation and a corresponding secondary classification result; the secondary classification result is rear echo attenuation-sharp or rear echo attenuation-fuzzy; the breast ultrasound image to be classified is input into the primary classification network to obtain a primary classification result; when the primary classification result is the rear echo enhancement or the rear echo no change, the primary classification result is the final classification result; when the primary classification result is rear echo attenuation, the breast ultrasound image to be classified is input into the secondary classification network to obtain a secondary classification result, and the secondary classification result is used as the final classification result.

[0094] Embodiment 3

[0095] An embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the breast ultrasound image classification method of the first embodiment.

[0096] Optionally, the above-mentioned electronic device may be a server.

[0097] In addition, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which implements the breast ultrasound image classification method of the first embodiment when executed by a processor.

[0098] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0099] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. 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 limiting the present invention.

Claims

1. A breast ultrasound image classification method, characterized in that: The classification method includes: Acquiring a breast ultrasound image to be classified; The breast ultrasound image to be classified is input into the image classification model to obtain a final classification result; wherein the final classification result is posterior echo enhancement, posterior echo unchanged, posterior echo attenuation-sharp or posterior echo attenuation-fuzzy; the image classification model includes a primary classification network and a secondary classification network; the primary classification network is obtained by training the primary network with a primary training set; the secondary classification network is obtained by training the secondary network with a secondary training set; both the primary network and the secondary network are deep neural networks; the primary training set includes breast ultrasound images and corresponding primary classification results; the corresponding primary classification results are posterior echo enhancement, posterior echo unchanged, posterior echo attenuation-sharp or posterior echo attenuation-fuzzy The rear echo is unchanged or the rear echo is attenuated; the secondary training set includes a breast ultrasound image whose primary classification result is rear echo attenuation and a corresponding secondary classification result; the secondary classification result is rear echo attenuation-sharp or rear echo attenuation-fuzzy; the breast ultrasound image to be classified is input into the primary classification network to obtain a primary classification result; when the primary classification result is the rear echo enhancement or the rear echo is unchanged, the primary classification result is the final classification result; when the primary classification result is rear echo attenuation, the breast ultrasound image to be classified is input into the secondary classification network to obtain a secondary classification result, and the secondary classification result is used as the final classification result; The construction process of the image classification model specifically includes: Acquire multiple original breast ultrasound images and regions of interest of each of the original breast ultrasound images; the multiple original breast ultrasound images include rear echo enhanced images, rear echo unchanged images, rear echo attenuated-sharp images, and rear echo attenuated-unsharp images; Determine the external matrix of the region of interest of each original breast ultrasound image, and determine the rear echo prediction region according to the external matrix to obtain a labeled breast ultrasound image; Preprocessing the labeled breast ultrasound image to obtain a preprocessed breast ultrasound image; the preprocessing includes at least two operations of flip transformation, random pruning, color jittering, translation transformation, scale transformation, contrast transformation, noise disturbance and rotation transformation; Taking the preprocessed breast ultrasound image as input and the primary classification result as output, training the primary network to obtain a primary classification network; The classified breast ultrasound image is used as input and the secondary classification result is used as output to train the secondary network to obtain a secondary classification network; the classified breast ultrasound image is an intermediate breast ultrasound image corresponding to the rear echo attenuation of the primary classification result; the intermediate breast ultrasound image is a preprocessed breast ultrasound image.

2. The breast ultrasound image classification method according to claim 1, characterized in that: The labeled breast ultrasound image is preprocessed, and before being executed, the process also includes: The annotated breast ultrasound image is scaled to the preset pixels using an interpolation algorithm.

3. The breast ultrasound image classification method according to claim 2, characterized in that: The interpolation algorithm is the Lanczos interpolation algorithm.

4. The breast ultrasound image classification method according to claim 1, characterized in that: The structure of the primary network includes an input layer, a Conv1 layer, a Fused-MBConv1, a first Fused-MBConv4, a second Fused-MBConv4, an MBConv4, a first MBConv6, a second MBConv6, a Conv2 layer, a GAP layer and a Softmax; The input layer is connected to the Conv1 layer; the Conv1 layer is connected to the Fused-MBConv1; the Fused-MBConv1 is connected to the first Fused-MBConv4; the first Fused-MBConv4 is connected to the second Fused-MBConv4; the second Fused-MBConv4 is connected to MBConv4; the MBConv4 is connected to the first MBConv6; the first MBConv6 is connected to the second MBConv6; the second MBConv6 is connected to the Conv2 layer; the Conv2 layer is connected to the GAP layer; the GAP layer is connected to Softmax.

5. The breast ultrasound image classification method according to claim 1, characterized in that: The structure of the secondary network includes an input layer, a Conv1 layer, an MBConv1, a first MBConv6, a second MBConv6, a third MBConv6, a fourth MBConv6, a fifth MBConv6, a sixth MBConv6, a Conv2 layer, a GAP layer and a Sigmoid; The input layer is connected to the Conv1 layer; the Conv1 layer is connected to MBConv1; the MBConv1 is connected to the first MBConv6; the first MBConv6 is connected to the second MBConv6; the second MBConv6 is connected to the third MBConv6; the third MBConv6 is connected to the fourth MBConv6; the fourth MBConv6 is connected to the fifth MBConv6; the fifth MBConv6 is connected to the sixth MBConv6; the sixth MBConv6 is connected to the Conv2 layer; the Conv2 layer is connected to the GAP layer; the GAP layer is connected to Sigmoid.

6. A breast ultrasound image classification system, characterized in that: The classification system includes: An acquisition module, used for acquiring a breast ultrasound image to be classified; A classification module is used to input the breast ultrasound image to be classified into an image classification model to obtain a final classification result; wherein the final classification result is rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy; the image classification model includes a primary classification network and a secondary classification network; the primary classification network is obtained by training the primary network with a primary training set; the secondary classification network is obtained by training the secondary network with a secondary training set; both the primary network and the secondary network are deep neural networks; the primary training set includes breast ultrasound images and corresponding primary classification results; the corresponding primary classification results are rear echo enhancement, rear echo unchanged, rear echo attenuation-sharp or rear echo attenuation-fuzzy. The secondary training set includes breast ultrasound images whose primary classification result is rear echo attenuation and corresponding secondary classification results; the secondary classification result is rear echo attenuation-sharp or rear echo attenuation-fuzzy; the breast ultrasound image to be classified is input into the primary classification network to obtain a primary classification result; when the primary classification result is the rear echo enhancement or the rear echo does not change, the primary classification result is the final classification result; when the primary classification result is rear echo attenuation, the breast ultrasound image to be classified is input into the secondary classification network to obtain a secondary classification result, and the secondary classification result is used as the final classification result; The construction process of the image classification model specifically includes: Acquire multiple original breast ultrasound images and regions of interest of each of the original breast ultrasound images; the multiple original breast ultrasound images include rear echo enhanced images, rear echo unchanged images, rear echo attenuated-sharp images, and rear echo attenuated-unsharp images; Determine the external matrix of the region of interest of each original breast ultrasound image, and determine the rear echo prediction region according to the external matrix to obtain a labeled breast ultrasound image; Preprocessing the labeled breast ultrasound image to obtain a preprocessed breast ultrasound image; the preprocessing includes at least two operations of flip transformation, random pruning, color jittering, translation transformation, scale transformation, contrast transformation, noise disturbance and rotation transformation; Taking the preprocessed breast ultrasound image as input and the primary classification result as output, training the primary network to obtain a primary classification network; The classified breast ultrasound image is used as input and the secondary classification result is used as output to train the secondary network to obtain a secondary classification network; the classified breast ultrasound image is an intermediate breast ultrasound image corresponding to the rear echo attenuation of the primary classification result; the intermediate breast ultrasound image is a preprocessed breast ultrasound image.

7. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the breast ultrasound image classification method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The device stores a computer program, which, when executed by a processor, implements the breast ultrasound image classification method according to any one of claims 1 to 5.