Breast ultrasound recognition classification method
By constructing a breast ultrasound recognition and classification method, and adopting a breast region of interest category recognition model with physical view decoupling and Monte Carlo sampling mechanism, the problems of feature uninterpretability and unreliable output of deep learning models in breast ultrasound image analysis are solved, and more efficient and reliable region of interest classification is achieved.
Patent Information
- Application Number
- CN202611654463.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-26
- Publication Date
- 2026-11-24
AI Technical Summary
Existing deep learning models lack interpretability of clinical features and have unreliable output confidence in breast ultrasound image analysis, leading to complex and unreliable classification of regions of interest.
A breast ultrasound identification and classification method is designed. By decoupling the physical view of the input layer and the path-level random sampling mechanism, a breast region of interest category identification model is constructed. The method adopts edge narrow band, internal echo, posterior acoustic, shape geometry, global context and calcification feature views, combined with Monte Carlo sampling and a three-layer fully connected neural network to achieve independent feature extraction and reliable output.
This improves the interpretability of white-box features and the reliability of classification in breast ultrasound image analysis, and enhances the accuracy and reliability of category determination for regions of interest.
Smart Images

Figure CN123160969A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a breast ultrasound identification and classification method, belonging to the field of ultrasound image recognition technology. Background Technology
[0002] The localization and attribute determination of regions of interest (ROIs) in breast ultrasound images is an important research topic in the field of medical image analysis. In ultrasound images, the independent extraction and comprehensive evaluation of multi-dimensional physical features of local tissue regions (i.e., nodular structures), including their morphological contours, internal echo distribution, posterior acoustic features, distribution of microcalcifications, and spatial relationship with surrounding anatomical structures, is a key technical approach for determining the category of a region of interest. The multi-dimensional feature descriptors specified in existing clinical imaging reporting and data systems are a formalized standard for this analytical process.
[0003] However, ultrasound imaging equipment, limited by its acoustic physics, inevitably introduces inherent defects such as speckle noise, beam attenuation, and low tissue contrast into images. In practical image processing scenarios, different regions of interest (ROIs) often exhibit highly heterogeneous morphological and textural features. Analysis based on the BI-RADS feature dictionary typically requires comprehensive consideration of multiple independent dimensions, such as the region's shape factor, edge sharpness, internal gray-level uniformity, and back echo attenuation. However, not every region simultaneously possesses typical and consistent dimensional features. Therefore, the ambiguity in attribute judgment caused by inconsistencies or incompleteness in multidimensional image features makes the classification of ROIs extremely complex, and relying solely on human experience is insufficient to achieve stable and repeatable analytical results.
[0004] In recent years, deep learning technology has been widely applied to the automatic detection and classification of regions of interest in breast ultrasound images, achieving high accuracy. However, existing mainstream deep learning models exhibit two major technical shortcomings when dealing with the ambiguity in attribute judgment: First, black-box feature coupling. Most existing models use a single input of the entire image, resulting in the network mixing region edges, internal textures, and surrounding background information in the same feature space during feature extraction. This prevents the independent decoupling of physical dimensions, unlike structured analysis, leading to a lack of interpretable feature basis in the output. Second, blindly confident single-point estimation. Traditional networks typically output only a single Softmax confidence probability. Even when facing atypical samples with severe feature conflicts and extremely low image signal-to-noise ratios, the model still provides a deterministic class probability value, failing to perceive and output its own "confidence uncertainty" or "prediction error risk" for this judgment. This black-box decision-making mechanism, lacking quantitative output of uncertainty, severely limits its practicality and reliability in auxiliary analysis scenarios requiring high-reliability interpretation. Summary of the Invention
[0005] The technical problem to be solved by this invention is to provide a breast ultrasound identification and classification method. By decoupling the physical view of the input layer and using a path-level random sampling mechanism, this method solves the problems of lack of clinical feature interpretability and unreliable output confidence in existing deep learning models for breast ultrasound analysis, thereby improving the efficiency of breast ultrasound image analysis and classification.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: The present invention designs a breast ultrasound recognition and classification method, which constructs a network to be trained according to the following steps A to E, and trains the network to be trained based on a preset number of breast ultrasound sample images, and the location of each region of interest and its true category in each breast ultrasound sample image are known, so as to obtain a breast region of interest category recognition model.
[0007] Step A. Create medical view type modules for the region of interest of the breast. Use the input of each medical view type module as the input of the network to be trained. Receive breast ultrasound images and corresponding binary mask images of the same size for the region of interest. Each medical view type module outputs the corresponding type of medical view image for the region of interest of the breast. Then proceed to Step B.
[0008] Step B. Create each encoding module that is connected to the output of each medical view type module with a one-to-one correspondence between the input end and the output end. Each encoding module extracts the high-dimensional semantic clinical feature vector of the medical view image of the type it receives and outputs it. Then proceed to step C.
[0009] Step C. Create a path-level Monte Carlo sampling module, which has a built-in gating unit that is connected to the output of each encoding module in a one-to-one correspondence with the input end. Based on the preset retention probability corresponding to each gating unit as a whole, each gating unit performs random control on whether to retain the received high-dimensional semantic clinical feature vector and outputs the result. Then proceed to step D.
[0010] Step D. Create a splicing module, receive the outputs of each gated unit in the path-level Monte Carlo sampling module, perform splicing and output, and then proceed to step E;
[0011] Step E. Create a three-layer fully connected neural network whose input end is connected to the output end of the stitching module. The output end of the three-layer fully connected neural network constitutes the output end of the network to be trained. The three-layer fully connected neural network processes the output of the stitching module and outputs the probability values of each region of interest in the breast ultrasound image with respect to the preset categories.
[0012] As a preferred embodiment of the present invention: the medical view type modules for the region of interest of the breast include a narrow-band edge view module, an internal echo view module, a posterior acoustic view module, a shape geometry view module, and a global context view module;
[0013] Each medical view type module receives breast ultrasound images. And a binary mask image of the same size corresponding to the region of interest. The edge narrowband view module is defined by the following formula:
[0014] ;
[0015] Get a narrow-band view at the edge ,in, Indicates the size is structural elements, This indicates a morphological dilation operation. This indicates a binary mask image. according to Perform morphological dilation operation. This indicates a morphological etching operation. This indicates a binary mask image. according to Perform morphological etching operations. This indicates a pixel-by-pixel multiplication operation;
[0016] The internal echo view module is defined by the following formula:
[0017] ;
[0018] Obtain internal echo view ,in, Indicates the size is structural elements, This indicates a binary mask image. according to Perform morphological etching operations;
[0019] The rear acoustic view module is based on a binary mask image. Determining breast ultrasound images In each region of interest in breast ultrasound images The image is constructed by marking the pixel regions that the ultrasonic beam passes through after penetrating each region of interest, with a maximum area threshold of not less than a preset threshold. ;
[0020] The shape geometry view module is for the received binary mask image. Perform Euclidean distance transformation on the binary mask image. Perform a pixel-by-pixel traversal: If a pixel is located inside the region of interest (ROI), calculate the minimum Euclidean distance from the pixel to the boundary of its ROI and update the pixel value using the minimum Euclidean distance; if a pixel is located outside the ROI, update the pixel value to 0, and then convert the binary mask image... Update to shape geometry view ;
[0021] The global context view module first uses the binary mask image. Determining breast ultrasound images Select each region of interest in the breast ultrasound image and then preserve the breast ultrasound image. The size range remains unchanged, respectively targeting breast ultrasound images. Each region of interest (ROI) is expanded outward by a preset distance, and the ROI is updated, thereby updating the breast ultrasound image. Update to global context view .
[0022] As a preferred embodiment of the present invention: the medical view type modules concerning the region of interest of the breast further include a calcification feature view module, which receives breast ultrasound images. And a binary mask image of the same size corresponding to the region of interest. Firstly, regarding breast ultrasound images Perform filtering to obtain a filtered response image. Then, update the absolute values of each pixel in the filtered response image by taking the absolute values. Finally, compare the filtered response image with the binary mask image. Pixel multiplication operations between pixels yield a calcification feature view. .
[0023] As a preferred embodiment of the present invention: the calcification feature view module first utilizes a Laplacian high-pass filter operator on the received breast ultrasound image. Perform filtering to obtain the filtered response image.
[0024] As a preferred technical solution of the present invention: each encoding module in step B is a ResNet backbone network.
[0025] As a preferred embodiment of the present invention: the three-layer fully connected neural network in step E is for the output of the splicing module Process according to the following formula:
[0026] ;
[0027] Obtain a matrix consisting of the probability values of each region of interest in a breast ultrasound image with respect to a preset category. ,in, This represents the Sigmoid activation function. express Activation function These represent the weight matrices of the first, second, and third fully connected layers of the neural network, respectively. These represent the bias vectors of the first, second, and third fully connected neural networks, respectively.
[0028] As a preferred technical solution of the present invention: based on a preset number of breast ultrasound sample images, and knowing the location and true category of each region of interest in each breast ultrasound sample image, for each breast ultrasound sample image, according to the location of each region of interest in the breast ultrasound sample image, a binary mask image of the same size as the breast ultrasound sample image and about each region of interest is created, thereby obtaining each breast ultrasound sample image and its binary mask image, and knowing the true category of each region of interest in each breast ultrasound sample image;
[0029] It also includes an auxiliary training module. The output of the network to be trained is connected to the input of the auxiliary training module to construct a comprehensive network. The output of the auxiliary training module constitutes the output of the comprehensive network. The auxiliary training module is used to receive the probability values of each region of interest in the breast ultrasound image output by the network to be trained with respect to preset categories. Then, for each region of interest in the breast ultrasound image, based on the probability values of the region of interest with respect to preset categories, the analysis category corresponding to the region of interest is constructed by the category corresponding to the highest probability value and output.
[0030] Based on each breast ultrasound sample image and its binary mask image, as well as the true category of each region of interest in each breast ultrasound sample image, the breast ultrasound sample image and its binary mask image are used as input, and the analysis category corresponding to each region of interest in the breast ultrasound sample image is used as output. The comprehensive network is trained to obtain the trained comprehensive network, that is, the trained network corresponding to the network to be trained, which serves as the breast region of interest category recognition model.
[0031] As a preferred technical solution of the present invention: the comprehensive network is trained according to the following binary cross-entropy loss function;
[0032] ;
[0033] ;
[0034] in, Indicates the first Total classification loss over training iterations This indicates the number of breast ultrasound sample images. Indicates the sequence number of the breast ultrasound sample image. Indicates the first A one-dimensional matrix composed of the true classes of each region of interest in a breast ultrasound sample image. Indicates the first In the training iteration, the... A one-dimensional matrix composed of the probability values corresponding to the analysis categories of each region of interest in a breast ultrasound sample image. This indicates that the number of elements is equal to the first element. A one-dimensional matrix containing the number of regions of interest (ROIs) in a breast ultrasound sample image, with each element being 1. This indicates a pixel-by-pixel multiplication operation. Indicates the first In the training iteration, the... A one-dimensional matrix composed of the intermediate loss values of each region of interest in a breast ultrasound sample image. Indicates the first The number of regions of interest in each breast ultrasound sample image. express The Middle The intermediate loss of each region of interest.
[0035] As a preferred technical solution of the present invention: a breast region of interest (ROI) category recognition model performs a preset operation on a target breast ultrasound image and a corresponding binary mask image of the same size regarding the ROI. This process obtains the regions of interest (ROIs) in the target breast ultrasound image for each preset category. The probability value is then used to determine the region of interest in the target breast ultrasound image, and the following steps are performed accordingly. To the steps ;
[0036] step For each preset category, obtain the region of interest related to the category. The average of these probability values constitutes the target probability value of the region of interest (ROI) with respect to the category. This leads to the acquisition of the target probability value of the ROI for each category, and then the process proceeds to the next step. ;
[0037] step Based on the target probability values of each category within the region of interest, the category with the highest target probability value is selected as the target category corresponding to the region of interest, and then the process proceeds to the next step. ;
[0038] step Based on the region of interest regarding the target category The probability value is used to calculate the corresponding standard deviation, which constitutes the reliability value of the target category corresponding to the region of interest.
[0039] The breast ultrasound identification and classification method described in this invention, compared with the prior art, has the following technical advantages:
[0040] This invention designs a breast ultrasound recognition and classification method, which designs a breast region of interest (ROI) category recognition model. Using breast ultrasound images and corresponding binary masked images of the same size related to the ROI as the analysis objects, it considers six independent views: edge narrow band, internal echo, posterior acoustics, shape geometry, global context, and calcification features. This achieves physical isolation and independent capture of various ultrasound features, fundamentally avoiding feature entanglement at the shallow level. Furthermore, the randomness of a path-level Monte Carlo sampling mechanism is introduced, randomly blocking specific complete physical feature paths during the inference stage, realistically simulating scenarios where partial evidence is missing due to limited image quality. Finally, after stitching, a three-layer fully connected neural network is applied to output the probability values and reliability values of each ROI in the breast ultrasound image for each preset category, obtaining the category judgment of the ROI. This significantly improves the interpretability of white-box features in medical image analysis using deep learning. Attached Figure Description
[0041] Figure 1 This is a schematic diagram of the structure of the breast region of interest category recognition model in the breast ultrasound recognition and classification method designed in this invention;
[0042] Figure 2 These are schematic diagrams of various medical views in the breast ultrasound identification and classification method designed in this invention. Detailed Implementation
[0043] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0044] The breast ultrasound identification and classification method designed in this invention can be used in practical applications, such as... Figure 1 As shown, the specific design follows steps A to E to construct the network to be trained.
[0045] Step A. Create medical view type modules for the breast region of interest. Use the input of each medical view type module as the input of the network to be trained. Receive breast ultrasound images and corresponding binary mask images of the same size for the region of interest. Each medical view type module outputs the corresponding type of medical view image for the breast region of interest. Then proceed to Step B.
[0046] In practical applications, such as Figure 2 As shown, the various medical view types modules related to the region of interest of the breast include the edge narrow band view module, the internal echo view module, the posterior acoustic view module, the shape geometry view module, the global context view module, and the calcification feature view module.
[0047] Each medical view type module receives breast ultrasound images. And a binary mask image of the same size corresponding to the region of interest. Among them, such as Figure 2 As shown, the edge narrowband view module is defined by the following formula:
[0048] ;
[0049] Get a narrow-band view at the edge ,in, Indicates the size is structural elements, This indicates a morphological dilation operation. This indicates a binary mask image. according to Perform morphological dilation operation. This indicates a morphological etching operation. This indicates a binary mask image. according to Perform morphological etching operations. This indicates a pixel-by-pixel multiplication operation.
[0050] The edge narrowband view is designed to capture the microscopic edge morphology at the junction of the region of interest (ROI) and surrounding tissue in breast ultrasound images. This view physically cuts off the interference between the internal texture of the ROI and the distant background, forcing the subsequent network to focus entirely on the pixel gradient mutations within the transition zone. In practical applications, this view is used to characterize the ROI with respect to predefined invasive edge features such as "spiculated", "angular", and "micro-lobulated".
[0051] like Figure 2 As shown, the internal echo view module is defined by the following formula:
[0052] ;
[0053] Obtain internal echo view The aim was to analyze the cytoplasmic and stromal components within the region of interest in breast ultrasound images. Indicates the size is structural elements, This indicates a binary mask image. according to Perform morphological corrosion operation.
[0054] like Figure 2 As shown, the rear acoustic view module is based on the binary mask image. Determining breast ultrasound images In each region of interest in breast ultrasound images The image is constructed by marking the pixel regions that the ultrasonic beam passes through after penetrating each region of interest, with a maximum area threshold of not less than a preset threshold. The posterior acoustic view is designed to evaluate the attenuation or enhancement effect of the ultrasound beam penetrating the region of interest in a breast ultrasound image. This view is specifically used to extract and compare the relative echo brightness difference between the area directly below the region of interest and the normal glands on both sides in a breast ultrasound image.
[0055] like Figure 2 As shown, the shape geometry view aims to extract the pure topological geometric features and spatial growth characteristics of the region of interest in a breast ultrasound image. The shape geometry view module is designed for the received binary mask image. Perform Euclidean distance transformation on the binary mask image. Perform a pixel-by-pixel traversal: If a pixel is located inside the region of interest (ROI), calculate the minimum Euclidean distance from the pixel to the boundary of its ROI and update the pixel value using the minimum Euclidean distance; if a pixel is located outside the ROI, update the pixel value to 0, and then convert the binary mask image... Update to shape geometry view That is, the closer the pixel is to the deep center of the region of interest, the larger its value. This method of transforming discrete two-dimensional contours into continuous distance gradient matrices not only implicitly encodes the absolute contour edge of the nodule, but also accurately quantifies the irregular changes in the aspect ratio, central symmetry and local thickness of the nodule through the spatial distribution of the internal distance gradient.
[0056] like Figure 2 As shown, the global context view module first uses the binary mask image... Determining breast ultrasound images Select each region of interest in the breast ultrasound image and then preserve the breast ultrasound image. The size range remains unchanged, respectively targeting breast ultrasound images. Each region of interest (ROI) is expanded outward by a preset distance, and the ROI is updated, thereby updating the breast ultrasound image. Update to global context view The global context view aims to evaluate the macroscopic anatomical impact of the region of interest in a breast ultrasound image on its surrounding microenvironment. The obtained global context view The generation simultaneously includes macroscopic images of the region of interest (ROI) itself and its surrounding extended glands and fascia in the breast ultrasound image. This view provides a complete spatial anatomical context for capturing the surrounding tissue response caused by the outward invasion of the ROI in the breast ultrasound image.
[0057] like Figure 2 As shown, the calcification feature view module receives breast ultrasound images. And a binary mask image of the same size corresponding to the region of interest. First, a Laplacian high-pass filter operator is used to filter the received breast ultrasound images. Perform filtering to obtain a filtered response image. Then, update the absolute values of each pixel in the filtered response image by taking the absolute values. Finally, compare the filtered response image with the binary mask image. Pixel multiplication operations between pixels yield a calcification feature view. The calcification feature view is designed to capture punctate high-frequency echogenic signals caused by microcalcifications in breast ultrasound images with high sensitivity. This view improves the model's ability to specifically identify scattered or clustered microcalcifications and prevents weak calcification signals from being drowned out by the surrounding hypoechoic background.
[0058] Step B. As Figure 1 As shown, using the ResNet backbone network, each encoding module is created with its input end connected to the output end of each medical view type module. Each encoding module extracts the high-dimensional semantic clinical feature vector of the medical view image of the type it receives and outputs it. Then, the process proceeds to step C.
[0059] Step C. Figure 1 As shown, a path-level Monte Carlo sampling module is created, which has built-in gating units that are connected one-to-one with the output of each encoding module. Based on the preset retention probability corresponding to each gating unit as a whole, each gating unit performs random control on whether to retain the received high-dimensional semantic clinical feature vector and outputs the result. Then, the process proceeds to step D.
[0060] Step D. As Figure 1 As shown, a splicing module is created, which receives the outputs of each gated unit in the path-level Monte Carlo sampling module, performs splicing and output, and then proceeds to step E.
[0061] Step E. Figure 1 As shown, a three-layer fully connected neural network is created with its input end connected to the output end of the stitching module. The output end of the three-layer fully connected neural network constitutes the output end of the network to be trained. The three-layer fully connected neural network processes the output of the stitching module and outputs the probability values of each region of interest in the breast ultrasound image with respect to the preset categories.
[0062] In practical applications, the three-layer fully connected neural network is used for the output of the splicing module. Process according to the following formula:
[0063] ;
[0064] Obtain a matrix consisting of the probability values of each region of interest in a breast ultrasound image with respect to a preset category. ,in, This represents the Sigmoid activation function. express Activation function These represent the weight matrices of the first, second, and third fully connected layers of the neural network, respectively. These represent the bias vectors of the first, second, and third fully connected neural networks, respectively.
[0065] Following steps A to E above, a network to be trained is constructed. In practical applications, based on a preset number of breast ultrasound sample images, and knowing the location and true category of each region of interest in each breast ultrasound sample image, the network to be trained is trained to obtain a breast region of interest category recognition model.
[0066] Regarding the training of the network to be trained, in practical applications, the specific design is based on a preset number of breast ultrasound sample images. The location and true category of each region of interest in each breast ultrasound sample image are known. For each breast ultrasound sample image, a binary mask image of the same size as the breast ultrasound sample image is created based on the location of each region of interest in the breast ultrasound sample image. Thus, each breast ultrasound sample image and its binary mask image are obtained, and the true category of each region of interest in each breast ultrasound sample image is known.
[0067] Further, an auxiliary training module is introduced. The output end of the network to be trained is designed to connect to the input end of the auxiliary training module to construct a comprehensive network. The output end of the auxiliary training module constitutes the output end of the comprehensive network. The auxiliary training module is used to receive the probability values of each region of interest in the breast ultrasound image output by the network to be trained with respect to preset categories. Then, for each region of interest in the breast ultrasound image, based on the probability values of the region of interest with respect to preset categories, the analysis category corresponding to the region of interest is constructed by the category corresponding to the highest probability value, and then output.
[0068] Based on each breast ultrasound sample image and its binary mask image, as well as the true category of each region of interest in each breast ultrasound sample image, the breast ultrasound sample image and its binary mask image are used as input, and the analysis category corresponding to each region of interest in the breast ultrasound sample image is used as output. The comprehensive network is trained to obtain the trained comprehensive network, that is, the trained network corresponding to the network to be trained, which serves as the breast region of interest category recognition model.
[0069] Furthermore, the following binary cross-entropy loss function is applied during the training of the integrated network.
[0070] ;
[0071] ;
[0072] in, Indicates the first Total classification loss over training iterations This indicates the number of breast ultrasound sample images. Indicates the sequence number of the breast ultrasound sample image. Indicates the first A one-dimensional matrix composed of the true classes of each region of interest in a breast ultrasound sample image. Indicates the first In the training iteration, the... A one-dimensional matrix composed of the probability values corresponding to the analysis categories of each region of interest in a breast ultrasound sample image. This indicates that the number of elements is equal to the first element. A one-dimensional matrix containing the number of regions of interest (ROIs) in a breast ultrasound sample image, with each element being 1. This indicates a pixel-by-pixel multiplication operation. Indicates the first In the training iteration, the... A one-dimensional matrix composed of the intermediate loss values of each region of interest in a breast ultrasound sample image. Indicates the first The number of regions of interest in each breast ultrasound sample image. express The Middle The intermediate loss of each region of interest.
[0073] The above training process yields a breast region of interest (ROI) category recognition model. In practical applications of this model, such as... Figure 1 As shown, the breast region of interest (ROI) category recognition model performs a preset operation on the target breast ultrasound image and a corresponding binary mask image of the same size related to the ROI. This process obtains the regions of interest (ROIs) in the target breast ultrasound image for each preset category. The probability value is then used to determine the region of interest in the target breast ultrasound image, and the following steps are performed accordingly. To the steps .
[0074] step For each preset category, obtain the region of interest related to the category. The average of these probability values constitutes the target probability value of the region of interest (ROI) with respect to the category. This leads to the acquisition of the target probability value of the ROI for each category, and then the process proceeds to the next step. .
[0075] step Based on the target probability values of each category within the region of interest, the category with the highest target probability value is selected as the target category corresponding to the region of interest, and then the process proceeds to the next step. .
[0076] step Based on the region of interest regarding the target category The probability value is used to calculate the corresponding standard deviation, which constitutes the reliability value of the target category corresponding to the region of interest.
[0077] The above technical solution designs a breast ultrasound recognition and classification method, and designs a breast region of interest (ROI) category recognition model. It uses breast ultrasound images and corresponding binary masked images of the same size related to the ROI as the analysis objects, considering six independent views: edge narrow band, internal echo, posterior acoustics, shape geometry, global context, and calcification features. This achieves physical isolation and independent capture of various ultrasound features, fundamentally avoiding feature entanglement in the shallow layer of the model. Furthermore, it introduces the randomness of a path-level Monte Carlo sampling mechanism, randomly blocking specific complete physical feature paths during the inference stage, realistically simulating scenarios where partial evidence is missing due to limited image quality. Finally, after stitching, a three-layer fully connected neural network is applied to output the probability values and reliability values of each ROI in the breast ultrasound image for each preset category, obtaining the category judgment of the ROI. This significantly improves the interpretability of white-box features in deep learning for medical image analysis.
[0078] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.
Claims
1. A method for breast ultrasound identification and classification, characterized in that: Following steps A to E, a network to be trained is constructed. Based on a preset number of breast ultrasound sample images, and knowing the location and true category of each region of interest in each breast ultrasound sample image, the network to be trained is trained to obtain a breast region of interest category recognition model. Step A. Create medical view type modules for the region of interest of the breast. Use the input of each medical view type module as the input of the network to be trained. Receive breast ultrasound images and corresponding binary mask images of the same size for the region of interest. Each medical view type module outputs the corresponding type of medical view image for the region of interest of the breast. Then proceed to Step B. Step B. Create each encoding module that is connected to the output of each medical view type module with a one-to-one correspondence between the input end and the output end. Each encoding module extracts the high-dimensional semantic clinical feature vector of the medical view image of the type it receives and outputs it. Then proceed to step C. Step C. Create a path-level Monte Carlo sampling module, which has a built-in gating unit that is connected to the output of each encoding module in a one-to-one correspondence with the input end. Based on the preset retention probability corresponding to each gating unit as a whole, each gating unit performs random control on whether to retain the received high-dimensional semantic clinical feature vector and outputs the result. Then proceed to step D. Step D. Create a splicing module, receive the outputs of each gated unit in the path-level Monte Carlo sampling module, perform splicing and output, and then proceed to step E; Step E. Create a three-layer fully connected neural network whose input end is connected to the output end of the stitching module. The output end of the three-layer fully connected neural network constitutes the output end of the network to be trained. The three-layer fully connected neural network processes the output of the stitching module and outputs the probability values of each region of interest in the breast ultrasound image with respect to the preset categories.
2. The breast ultrasound identification and classification method according to claim 1, characterized in that: The various medical view type modules related to the region of interest of the breast include the edge narrow band view module, the internal echo view module, the posterior acoustic view module, the shape geometry view module, and the global context view module; Each medical view type module receives breast ultrasound images. And a binary mask image of the same size corresponding to the region of interest. The edge narrowband view module is defined by the following formula: ; Get a narrow-band view at the edge ,in, Indicates the size is structural elements, This indicates a morphological dilation operation. This indicates a binary mask image. according to Perform morphological dilation operation. This indicates a morphological etching operation. This indicates a binary mask image. according to Perform morphological etching operations. This indicates a pixel-by-pixel multiplication operation; The internal echo view module is defined by the following formula: ; Obtain internal echo view ,in, Indicates the size is structural elements, This indicates a binary mask image. according to Perform morphological etching operations; The rear acoustic view module is based on a binary mask image. Determining breast ultrasound images In each region of interest in breast ultrasound images The image is constructed by marking the pixel regions that the ultrasonic beam passes through after penetrating each region of interest, with a maximum area threshold of not less than a preset threshold. ; The shape geometry view module is for the received binary mask image. Perform Euclidean distance transformation on the binary mask image. Perform a pixel-by-pixel traversal: If a pixel is located inside the region of interest (ROI), calculate the minimum Euclidean distance from the pixel to the boundary of its ROI and update the pixel value using the minimum Euclidean distance; if a pixel is located outside the ROI, update the pixel value to 0, and then convert the binary mask image... Update to shape geometry view ; The global context view module first uses the binary mask image. Determining breast ultrasound images Select each region of interest in the breast ultrasound image and then preserve the breast ultrasound image. The size range remains unchanged, respectively targeting breast ultrasound images. Each region of interest (ROI) is expanded outward by a preset distance, and the ROI is updated, thereby updating the breast ultrasound image. Update to global context view .
3. The breast ultrasound identification and classification method according to claim 2, characterized in that: The various medical view type modules related to the region of interest in the breast also include a calcification feature view module, which receives breast ultrasound images. And a binary mask image of the same size corresponding to the region of interest. Firstly, regarding breast ultrasound images Perform filtering to obtain a filtered response image. Then, update the absolute values of each pixel in the filtered response image by taking the absolute values. Finally, compare the filtered response image with the binary mask image. Pixel multiplication operations between pixels yield a calcification feature view. .
4. The breast ultrasound identification and classification method according to claim 3, characterized in that: The calcification feature view module first utilizes a Laplacian high-pass filter operator on the received breast ultrasound images. Perform filtering to obtain the filtered response image.
5. The breast ultrasound identification and classification method according to claim 1, characterized in that: Each encoding module in step B is a ResNet backbone network.
6. The breast ultrasound identification and classification method according to claim 1, characterized in that: The three-layer fully connected neural network in step E is for the output of the splicing module. Process according to the following formula: ; Obtain a matrix consisting of the probability values of each region of interest in a breast ultrasound image with respect to a preset category. ,in, This represents the Sigmoid activation function. express Activation function These represent the weight matrices of the first, second, and third fully connected layers of the neural network, respectively. These represent the bias vectors of the first, second, and third fully connected neural networks, respectively.
7. The breast ultrasound identification and classification method according to claim 1, characterized in that: Based on a preset number of breast ultrasound sample images, and knowing the location and true category of each region of interest in each breast ultrasound sample image, for each breast ultrasound sample image, according to the location of each region of interest in the breast ultrasound sample image, a binary mask image of the same size as the breast ultrasound sample image and about each region of interest is created, thereby obtaining each breast ultrasound sample image and its binary mask image, and knowing the true category of each region of interest in each breast ultrasound sample image; It also includes an auxiliary training module. The output of the network to be trained is connected to the input of the auxiliary training module to construct a comprehensive network. The output of the auxiliary training module constitutes the output of the comprehensive network. The auxiliary training module is used to receive the probability values of each region of interest in the breast ultrasound image output by the network to be trained with respect to preset categories. Then, for each region of interest in the breast ultrasound image, based on the probability values of the region of interest with respect to preset categories, the analysis category corresponding to the region of interest is constructed by the category corresponding to the highest probability value and output. Based on each breast ultrasound sample image and its binary mask image, as well as the true category of each region of interest in each breast ultrasound sample image, the breast ultrasound sample image and its binary mask image are used as input, and the analysis category corresponding to each region of interest in the breast ultrasound sample image is used as output. The comprehensive network is trained to obtain the trained comprehensive network, that is, the trained network corresponding to the network to be trained, which serves as the breast region of interest category recognition model.
8. The breast ultrasound identification and classification method according to claim 7, characterized in that: The comprehensive network is trained based on the following binary cross-entropy loss function; ; ; in, Indicates the first Total classification loss over training iterations This indicates the number of breast ultrasound sample images. Indicates the sequence number of the breast ultrasound sample image. Indicates the first A one-dimensional matrix composed of the true classes of each region of interest in a breast ultrasound sample image. Indicates the first In the training iteration, the... A one-dimensional matrix composed of the probability values corresponding to the analysis categories of each region of interest in a breast ultrasound sample image. This indicates that the number of elements is equal to the first element. A one-dimensional matrix containing the number of regions of interest (ROIs) in a breast ultrasound sample image, with each element being 1. This indicates a pixel-by-pixel multiplication operation. Indicates the first In the training iteration, the... A one-dimensional matrix composed of the intermediate loss values of each region of interest in a breast ultrasound sample image. Indicates the first The number of regions of interest in each breast ultrasound sample image. express The Middle The intermediate loss of each region of interest.
9. The breast ultrasound identification and classification method according to claim 1, characterized in that: The breast region of interest (ROI) category recognition model performs a preset operation on the target breast ultrasound image and a corresponding binary mask image of the same size related to the ROI. This process obtains the regions of interest (ROIs) in the target breast ultrasound image for each preset category. The probability value is then used to determine the region of interest in the target breast ultrasound image, and the following steps are performed accordingly. To the steps ; step For each preset category, obtain the region of interest related to the category. The average of these probability values constitutes the target probability value of the region of interest (ROI) with respect to the category. This leads to the acquisition of the target probability value of the ROI for each category, and then the process proceeds to the next step. ; step Based on the target probability values of each category within the region of interest, the category with the highest target probability value is selected as the target category corresponding to the region of interest, and then the process proceeds to the next step. ; step Based on the region of interest regarding the target category The probability value is used to calculate the corresponding standard deviation, which constitutes the reliability value of the target category corresponding to the region of interest.
