Image processing method, device, electronic device and storage medium

By using a target neural network with a common feature extraction part in musculoskeletal ultrasound image processing for section classification and tissue segmentation, and combining the training parameters for section classification and tissue segmentation tasks, the problems of low accuracy and time efficiency in the existing technology are solved, and the Higher image processing accuracy and efficiency.

CN112381777BActive Publication Date: 2024-10-18SONOSCAPE MEDICAL CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011240592.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-09
Publication Date
2024-10-18
Estimated Expiration
2040-11-09

AI Technical Summary

Technical Problem

In the existing technology, the accuracy of section classification and tissue segmentation of musculoskeletal ultrasound images is poor, and the steps are cumbersome and time-consuming. The classification depends on the segmentation results, and the accuracy is low due to information loss.

Method used

The target neural network that has been trained is used, including the feature extraction part, the section classification branch and the tissue segmentation branch. The image features are extracted through the common feature extraction part for section classification and tissue segmentation. During the training process, the features are adjusted based on the task of section classification and tissue segmentation. Extract some parameters.

Benefits of technology

It improves the accuracy of ultrasound image section classification and tissue segmentation, reduces processing time, and enhances the algorithm performance of the feature extraction part.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112381777B_ABST
    Figure CN112381777B_ABST
Patent Text Reader

Abstract

The present application discloses an image processing method, device, electronic device and computer-readable storage medium, the method comprising: when receiving a target ultrasound image, inputting the target ultrasound image into a trained target neural network; wherein the target neural network comprises the feature extraction part, the section classification branch and the tissue segmentation branch; using the feature extraction part to extract the image features of the target ultrasound image; inputting the image features into the section classification branch and the tissue segmentation branch, so as to use the section classification branch to predict the section category of the target ultrasound image, and use the tissue segmentation branch to perform tissue segmentation on the target ultrasound image. The image processing method provided by the present application improves the accuracy of ultrasound image section classification and tissue segmentation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image processing, and more specifically, to an image processing method, an apparatus, an electronic device, and a computer-readable storage medium. Background Art

[0002] For the processing of musculoskeletal ultrasound images, it is necessary to classify them into standard sections and segment their tissues. In the related art, a scheme of first classification and then segmentation can be adopted. For example, the ResNet classification network is used to classify the musculoskeletal ultrasound images into standard sections, and then the Mask R-CNN segmentation network is used to perform tissue segmentation. The above scheme has cumbersome steps, is time-consuming, and has poor classification and segmentation accuracy. In addition, in the related art, a scheme of first segmentation and then classification can also be adopted. In this scheme, the accuracy of standard section classification depends on the results of tissue segmentation. If there is information loss during tissue segmentation, the accuracy of standard section classification will be poor.

[0003] Therefore, how to improve the accuracy of ultrasound image section classification and tissue segmentation is a technical problem that needs to be solved by those skilled in the art. Summary of the invention

[0004] The purpose of the present application is to provide an image processing method, an apparatus, an electronic device and a computer-readable storage medium, which improve the accuracy of ultrasound image section classification and tissue segmentation.

[0005] To achieve the above objectives, the present application provides an image processing method, comprising:

[0006] When a target ultrasound image is received, the target ultrasound image is input into a trained target neural network; wherein the target neural network includes a feature extraction part, a section classification branch, and a tissue segmentation branch;

[0007] extracting image features of the target ultrasound image using the feature extraction part;

[0008] The image features are input into the section classification branch and the tissue segmentation branch, so as to use the section classification branch to predict the section category of the target ultrasound image and use the tissue segmentation branch to perform tissue segmentation on the target ultrasound image.

[0009] Among them, it also includes:

[0010] Acquire a classification data set and a segmentation data set; wherein the classification data set includes a first ultrasound image with a marked section category, and the segmentation data set includes a second ultrasound image with a marked section category and tissue information;

[0011] The target neural network is trained using the classification data set and the segmentation data set to obtain a trained target neural network.

[0012] The step of training the target neural network using the classification data set and the segmentation data set to obtain a trained target neural network includes:

[0013] Training the target neural network using the classification data set to adjust parameters of a feature extraction part and a section classification branch in the target neural network;

[0014] The target neural network is trained again using the segmented data set to fine-tune the parameters of the feature extraction part and the section classification branch, and to adjust the parameters of the tissue segmentation branch to obtain a trained target neural network.

[0015] Wherein, the obtaining of the classification data set and the segmentation data set includes:

[0016] Acquire an original first ultrasound image with a marked section category and an original second ultrasound image with a marked section category and tissue information;

[0017] Performing an image transformation operation on the original first ultrasonic image and the original second ultrasonic image; wherein the image transformation operation includes any one or a combination of any several of image translation, image scaling and image flipping;

[0018] Based on the original first ultrasonic image and the image transformation operation corresponding to each transformed first ultrasonic image, each of the transformed first ultrasonic images is labeled with a section category; based on the original second ultrasonic image and the image transformation operation corresponding to each transformed second ultrasonic image, each of the transformed second ultrasonic images is labeled with a section category and tissue information;

[0019] The classification data set is constructed based on the original first ultrasonic image and the transformed first ultrasonic image, and the segmentation data set is constructed based on the original second ultrasonic image and the transformed second ultrasonic image.

[0020] Wherein, performing tissue segmentation on the target ultrasound image using the tissue segmentation branch includes:

[0021] The tissue segmentation branch is used to predict all tissues contained in the target ultrasound image and tissue information of each of the tissues; wherein the tissue information includes tissue category, location and segmentation mask.

[0022] After predicting the tissue category, position and segmentation mask of each tissue contained in the target ultrasound image by using the tissue segmentation branch, the method further includes:

[0023] Determine a candidate tissue category corresponding to the section category of the target ultrasound image according to the section category predicted by the section classification branch;

[0024] Tissues whose tissue categories do not belong to the candidate tissue categories are eliminated from all the tissues to obtain a final tissue segmentation result of the target ultrasound image.

[0025] Among them, the target neural network includes Mask-RCNN and ResNet networks that share a common feature extraction part, the feature extraction part is specifically a ResNet backbone, the section classification branch includes a fully connected layer, and the tissue segmentation branch includes FPN, RPN, ROI Align and prediction sub-branches.

[0026] Wherein, the target ultrasound image includes a musculoskeletal ultrasound image.

[0027] To achieve the above objectives, the present application provides an image processing device, comprising:

[0028] An input module, used for inputting the target ultrasound image into the trained target neural network when receiving the target ultrasound image; wherein the target neural network includes a feature extraction part, a section classification branch and a tissue segmentation branch;

[0029] An extraction module, used for extracting image features of the target ultrasound image using the feature extraction part;

[0030] A prediction module is used to input the image features into the section classification branch and the tissue segmentation branch, so as to use the section classification branch to predict the section category of the target ultrasound image and use the tissue segmentation branch to perform tissue segmentation on the target ultrasound image.

[0031] To achieve the above objectives, the present application provides an electronic device, including:

[0032] Memory for storing computer programs;

[0033] A processor is used to implement the steps of the above-mentioned image processing method when executing the computer program.

[0034] To achieve the above objectives, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above image processing method are implemented.

[0035] It can be seen from the above scheme that an image processing method provided by the present application includes: when a target ultrasound image is received, the target ultrasound image is input into a trained target neural network; wherein the target neural network includes the feature extraction part, the section classification branch and the tissue segmentation branch; the image features of the target ultrasound image are extracted using the feature extraction part; the image features are input into the section classification branch and the tissue segmentation branch, so as to use the section classification branch to predict the section category of the target ultrasound image and use the tissue segmentation branch to perform tissue segmentation on the target ultrasound image.

[0036] The image processing method provided by the present application utilizes the trained target neural network to simultaneously perform section classification and tissue segmentation on the target ultrasound image. The section classification branch in the target neural network is used to perform section classification on the target ultrasound image, and the tissue segmentation branch performs tissue segmentation on the target ultrasound image. The section classification branch and the tissue segmentation branch share the image features extracted by the feature extraction part, which can reduce the time for section classification and tissue segmentation. In addition, the target neural network serves the section classification task and the tissue segmentation task at the same time. In the process of training the target neural network, the section classification task and the tissue segmentation task jointly train the parameters in the feature extraction part. Due to the correlation between the multiple tasks, the algorithm performance of the feature extraction part can be improved, that is, the feature extraction part can be used to extract image features that are more consistent with the original target ultrasound image, thereby improving the accuracy of section classification and the accuracy of tissue segmentation. The present application also discloses an image processing device, an electronic device, and a computer-readable storage medium, which can also achieve the above-mentioned technical effects.

[0037] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific implementation methods, they are used to explain the present disclosure, but do not constitute a limitation to the present disclosure. In the drawings:

[0039] Figure 1 is a flowchart of an image processing method according to an exemplary embodiment;

[0040] Figure 2is a structural diagram of a target neural network according to an exemplary embodiment;

[0041] Figure 3 is a flowchart of another image processing method according to an exemplary embodiment;

[0042] Figure 4 is a flowchart of another image processing method according to an exemplary embodiment;

[0043] Figure 5 is a structural diagram of an image processing device according to an exemplary embodiment;

[0044] Figure 6 The figure is a structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0045] The applicant of this application has found through research that in the related art, the section classification task and the tissue segmentation task are performed successively, and the accuracy of the section classification is poor and the accuracy of the tissue segmentation is poor. Therefore, in this application, the trained target neural network is used to simultaneously perform section classification and tissue segmentation on the target ultrasound image. In the process of training the target neural network, the section classification task and the tissue segmentation task jointly train the parameters in the feature extraction part. Due to the correlation between the multiple tasks, the algorithm performance of the feature extraction part can be improved, that is, the feature extraction part can be used to extract image features that are more consistent with the original target ultrasound image, thereby improving the accuracy of section classification and the accuracy of tissue segmentation.

[0046] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In addition, in the embodiments of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0047] The embodiment of the present application discloses an image processing method, which improves the accuracy of ultrasound image section classification and tissue segmentation.

[0048] See also Figure 1 , a flowchart of an image processing method according to an exemplary embodiment is shown as follows Figure 1 As shown, including:

[0049] S101: When a target ultrasound image is received, the target ultrasound image is input into a trained target neural network; wherein the target neural network includes a feature extraction part, a section classification branch, and a tissue segmentation branch;

[0050] The purpose of this embodiment is to achieve the section classification task and tissue segmentation task of the target ultrasound image. The target ultrasound image here can be a musculoskeletal ultrasound image. The section classification task is to identify the section category of the target ultrasound image, that is, to identify which standard section the target ultrasound image belongs to. For example, there are 11 standard sections for the human shoulder joint, and the section classification task is to identify which specific standard section the received musculoskeletal ultrasound image of the human shoulder joint belongs to. The tissue segmentation task is to identify all tissues contained in the target ultrasound image and the tissue category of each tissue.

[0051] In a specific implementation, the target neural network includes a feature extraction part, a section classification branch and a tissue segmentation branch. The feature extraction part is used to extract the image features of the target ultrasound image, the section classification branch is used to use the image features to perform section classification on the target ultrasound image, and the tissue segmentation branch is used to use the image features to perform tissue segmentation on the target ultrasound image.

[0052] This embodiment does not limit the specific type of the target neural network. Figure 2 As shown in the figure, the target neural network includes the Mask-RCNN network and the ResNet network that share the feature extraction part. The feature extraction part is specifically the ResNetbackbone, the section classification branch includes the fully connected layer, and the tissue segmentation branch includes FPN (Feature PyramidNetwork), RPN (Region Proposal Network), ROI Align and prediction sub-branch. That is, the feature extraction part and the section classification branch constitute the original ResNet network, and the feature extraction part and the tissue segmentation branch constitute the original Mask RCNN network. Figure 2 ResNet50 / 101 is the feature extraction part of the classification network based on ResNet, SCN is the section classification branch, including the fully connected layer for outputting the section category. FPN is a multi-scale feature pyramid structure built to solve the problem of poor feature extraction of small targets, RPN is used to generate tissue proposals, ROI Align is used to map the proposals into fixed-size feature maps, and the prediction sub-branch includes mrcnn_class for outputting tissue categories, mrcnn_box for outputting tissue locations, and mrcnn_mask for outputting tissue segmentation masks.

[0053] It can be understood that the above-mentioned feature extraction part can also be the feature extraction part of other classification networks, the above-mentioned section classification branch can refer to other classification networks or algorithms, and the tissue segmentation branch can be implemented by referring to other segmentation networks or algorithms.

[0054] S102: extracting image features of the target ultrasound image using the feature extraction part;

[0055] S103: Inputting the image features into the section classification branch and the tissue segmentation branch, so as to use the section classification branch to predict the section category of the target ultrasound image and use the tissue segmentation branch to perform tissue segmentation on the target ultrasound image.

[0056] In the process of section classification and tissue segmentation of the target ultrasound image, the target ultrasound image is input into the feature extraction part of the target neural network to extract the image features of the target ultrasound image, and then the extracted image features are input into the section classification branch to predict the section category of the target ultrasound image, wherein the predicted section category can be marked in the form of a section category number at a preset position of the target ultrasound image, such as the upper left corner. At the same time, the extracted image features are input into the tissue segmentation branch to perform tissue segmentation on the target ultrasound image. It can be seen that the section classification branch and the tissue segmentation branch share the image features extracted by the feature extraction part, which can reduce the time of section classification and tissue segmentation.

[0057] Specifically, using the tissue segmentation branch to perform tissue segmentation on the target ultrasound image includes: using the tissue segmentation branch to predict all tissues contained in the target ultrasound image and tissue information of each of the tissues; wherein the tissue information includes tissue category, position and segmentation mask. In a specific implementation, tissues of different tissue categories can be marked with different colors, and the vicinity of each tissue can be marked with the tissue category, segmentation mask and confidence of the tissue, and the tissue category can be marked in the form of a tissue category number.

[0058] The image processing method provided in the embodiment of the present application utilizes the trained target neural network to simultaneously perform section classification and tissue segmentation on the target ultrasound image. The section classification branch in the target neural network is used to perform section classification on the target ultrasound image, and the tissue segmentation branch performs tissue segmentation on the target ultrasound image. The section classification branch and the tissue segmentation branch share the image features extracted by the feature extraction part, which can reduce the time for section classification and tissue segmentation. In addition, the target neural network serves the section classification task and the tissue segmentation task at the same time. In the process of training the target neural network, the section classification task and the tissue segmentation task jointly train the parameters in the feature extraction part. Due to the correlation between multiple tasks, the algorithm performance of the feature extraction part can be improved, that is, the feature extraction part can be used to extract image features that are more consistent with the original target ultrasound image, thereby improving the accuracy of section classification and the accuracy of tissue segmentation.

[0059] The following describes the training process of the target neural network, specifically:

[0060] See also Figure 3 , a flowchart of another image processing method according to an exemplary embodiment is shown, as Figure 3 As shown, including:

[0061] S201: Acquire a classification data set and a segmentation data set; wherein the classification data set includes a first ultrasound image with a section category annotated, and the segmentation data set includes a second ultrasound image with a section category annotated and tissue information annotated;

[0062] S202: Train the target neural network using the classification data set and the segmentation data set to obtain a trained target neural network.

[0063] In this embodiment, a target neural network is trained using a classification data set and a segmentation data set, wherein the classification data set includes a first ultrasound image with annotated section categories, and the segmentation data set includes a second ultrasound image with annotated section categories and tissue information.

[0064] In a specific implementation, the process of training the parameters of the target neural network is as follows: using the classified data set to train the target neural network to adjust the parameters of the feature extraction part and the section classification branch in the target neural network; using the segmented data set to train the target neural network again to fine-tune the parameters of the feature extraction part and the section classification branch, and adjust the parameters of the tissue segmentation branch to obtain a trained target neural network.

[0065] It is understandable that, since the difficulty of labeling the tissue information of ultrasound images is much higher than that of labeling the section categories, the data set samples used for tissue segmentation training are relatively small, that is, the number of first ultrasound images is much higher than that of second ultrasound images. Using a smaller number of second ultrasound images for training will result in poor accuracy of parameter training in the target neural network. For this reason, a pre-training scheme can be adopted, that is, firstly, the parameters of the feature extraction part and the section classification branch are adjusted using a classification data set that is easy to construct, and then the parameters of the feature extraction part and the section classification branch are fine-tuned using a segmentation data set that is not easy to construct, so as to improve the accuracy of the parameters of the feature extraction part and the section classification branch. In addition, in the process of training the target neural network, the classification data set and the segmentation data set jointly train the parameters in the feature extraction part. Due to the correlation between the section category and the tissue category of the same ultrasound image, the algorithm performance of the feature extraction part after training can be improved, that is, the feature extraction part can be used to extract image features that are more consistent with the original target ultrasound image.

[0066] It should be noted that in order to further increase the number of samples in the training data set and further improve the accuracy of parameter training in the target neural network, data enhancement can be performed on the classification data set and the segmentation data set, that is, the acquisition of the classification data set and the segmentation data set includes: acquiring the original first ultrasound image with labeled section categories and the original second ultrasound image with labeled section categories and tissue information; performing image transformation operations on the original first ultrasound image and the original second ultrasound image; wherein the image transformation operations include any one or a combination of any several of image translation, image scaling and image flipping; based on the original first ultrasound image and the image transformation operation corresponding to each transformed first ultrasound image, labeling the section category of each transformed first ultrasound image; based on the original second ultrasound image and the image transformation operation corresponding to each transformed second ultrasound image, labeling the section category and tissue information of each transformed second ultrasound image; constructing the classification data set based on the original first ultrasound image and the transformed first ultrasound image, and constructing the segmentation data set based on the original second ultrasound image and the transformed second ultrasound image.

[0067] In a specific implementation, an image transformation operation is performed on the original first ultrasound image and the original second ultrasound image to simulate situations that may occur in ultrasound images in actual applications, and the transformed first ultrasound image and the transformed second ultrasound image are annotated to increase the number of samples and improve the robustness of the algorithm. It can be understood that the transformed first ultrasound image has the same section category as the corresponding original first ultrasound image, and the tissue in the transformed second ultrasound image is only different from the corresponding tissue in the corresponding original second ultrasound image in position, and the relationship between the tissue position of the tissue in the transformed second ultrasound image and the tissue position of the tissue in the corresponding original second ultrasound image can be determined based on the image transformation operation performed, that is, based on the original second ultrasound image corresponding to the transformed second ultrasound image and the image transformation operation, the tissue category, position, segmentation mask, etc. of each tissue in the transformed second ultrasound image can be determined.

[0068] It can be seen that this embodiment uses the classification data set and the segmentation data set to jointly train the parameters in the feature extraction part. Due to the correlation between the section category and the tissue category of the same ultrasound image, the algorithm performance of the trained feature extraction part can be improved, that is, the feature extraction part can be used to extract image features that are more consistent with the original target ultrasound image, thereby improving the accuracy of section classification and tissue segmentation.

[0069] The embodiment of the present application discloses an image processing method. Compared with the first embodiment, this embodiment further explains and optimizes the technical solution. Specifically:

[0070] See also Figure 4 , a flowchart of another image processing method according to an exemplary embodiment is shown, as Figure 4 As shown, including:

[0071] S301: When a target ultrasound image is received, the target ultrasound image is input into a trained target neural network; wherein the target neural network includes the feature extraction part, the section classification branch and the tissue segmentation branch;

[0072] S302: extracting image features of the target ultrasound image by using the feature extraction part;

[0073] S303: inputting the image features into the section classification branch and the tissue segmentation branch, so as to predict the section category of the target ultrasound image by using the section classification branch, and predict all tissues contained in the target ultrasound image and tissue information of each tissue by using the tissue segmentation branch; wherein the tissue information includes tissue category, position and segmentation mask;

[0074] S304: determining a candidate tissue category corresponding to the section category of the target ultrasound image according to the section category predicted by the section classification branch;

[0075] S305: Eliminate tissues whose tissue categories do not belong to the candidate tissue categories from all the tissues to obtain a final tissue segmentation result of the target ultrasound image.

[0076] It is understandable that for a tissue of a tissue category, there are corresponding possible section categories and impossible section categories. For example, tissue of tissue category large / small tubercle may exist in a standard section of the short axis of the long head tendon of the biceps brachii, but may not exist in a standard section of the short axis of the supraspinatus tendon. In the process of tissue segmentation of the target ultrasound image, tissue that does not belong to its corresponding standard section may be segmented.

[0077] Therefore, in this embodiment, after the section category of the target ultrasound image is predicted, the candidate tissue category corresponding to the section category is determined, and the tissue category that does not belong to the candidate tissue category is eliminated from all the tissues contained in the predicted target ultrasound image to obtain the final tissue segmentation result of the target ultrasound image. For example, the section category of the predicted target ultrasound image is 1, and the candidate tissue category corresponding to it only includes tissue category A, while the tissue contained in the predicted target ultrasound image is tissue of tissue categories A and B. According to the screening rule, the tissue of tissue category A is retained, and the tissue of tissue category B is eliminated.

[0078] In a specific implementation, a tissue list of standard sections for each section category can be constructed. The tissue list of each standard section only contains tissue categories that may appear in the current section, that is, the above-mentioned candidate tissue categories are tissue categories in the tissue list of the standard section corresponding to the section category, and the tissue segmentation results are filtered according to the tissue list.

[0079] For example, for musculoskeletal ultrasound images, the tissue list of the section category of the short axis of the long head tendon of the biceps brachii is shown in Table 1.

[0080] Table 1

[0081]

[0082] It can be seen that based on Table 1, tissue screening can be performed on the target ultrasound image with the section category of the short axis of the long head tendon of the biceps brachii.

[0083] It can be seen that this embodiment screens all tissues in the predicted target ultrasound image based on the candidate tissue categories corresponding to the section categories, and eliminates tissues whose tissue categories do not belong to the candidate tissue categories, that is, uses the section classification branch prediction results to limit the tissue segmentation branch prediction results, thereby improving the accuracy of ultrasound image tissue segmentation.

[0084] The following is an application example provided by the present application. Specifically, Experiment 1 is a classification experiment of a standard section using a ResNet classification network, Experiment 2 is a tissue segmentation experiment of a standard section using a Mask R-CNN instance segmentation network, and Experiment 3 is Figure 2 The target neural network shown in the figure is used to perform experiments on section classification and tissue segmentation. Under the same hardware equipment conditions and experimental parameters, the time performance of each experiment is shown in Table 2:

[0085] Table 2

[0086]

[0087] From the perspective of model loading time, the target neural network takes 5.8022s, which is less than half of the total time of ResNet and Mask R-CNN (13.9368s); and for single-image reasoning time, the target neural network takes 0.5008s, ResNet takes 0.0311s, and Mask R-CNN takes 0.5030s. It can be seen that the simultaneous classification and segmentation algorithm takes 33.3ms less than the total reasoning time of the two algorithms. Therefore, the algorithm that uses the target neural network to simultaneously classify and segment ultrasound images can effectively reduce the algorithm's weight loading and reasoning time.

[0088] An image processing device provided in an embodiment of the present application is introduced below. The image processing device described below and the image processing method described above can be referenced to each other.

[0089] See also Figure 5 , a structural diagram of an image processing device according to an exemplary embodiment is shown as follows Figure 5 As shown, including:

[0090] An input module 501 is used for inputting a target ultrasound image into a trained target neural network when receiving the target ultrasound image; wherein the target neural network includes a feature extraction part, a section classification branch and a tissue segmentation branch;

[0091] An extraction module 502, configured to extract image features of the target ultrasound image using the feature extraction part;

[0092] The prediction module 503 is used to input the image features into the section classification branch and the tissue segmentation branch, so as to use the section classification branch to predict the section category of the target ultrasound image and use the tissue segmentation branch to perform tissue segmentation on the target ultrasound image.

[0093] The image processing device provided in the embodiment of the present application uses the trained target neural network to simultaneously perform section classification and tissue segmentation on the target ultrasound image. The section classification branch in the target neural network is used to perform section classification on the target ultrasound image, and the tissue segmentation branch performs tissue segmentation on the target ultrasound image. The section classification branch and the tissue segmentation branch share the image features extracted by the feature extraction part, which can reduce the time for section classification and tissue segmentation. In addition, the target neural network serves the section classification task and the tissue segmentation task at the same time. In the process of training the target neural network, the section classification task and the tissue segmentation task jointly train the parameters in the feature extraction part. Due to the correlation between multiple tasks, the algorithm performance of the feature extraction part can be improved, that is, the feature extraction part can be used to extract image features that are more consistent with the original target ultrasound image, thereby improving the accuracy of section classification and the accuracy of tissue segmentation.

[0094] Based on the above embodiment, as a preferred implementation, it also includes:

[0095] An acquisition module, used to acquire a classification data set and a segmentation data set; wherein the classification data set includes a first ultrasound image with a marked section category, and the segmentation data set includes a second ultrasound image with a marked section category and tissue information;

[0096] A training module is used to train the target neural network using the classification data set and the segmentation data set to obtain a trained target neural network.

[0097] Based on the above embodiment, as a preferred implementation, the training module includes:

[0098] A first training unit, used for training the target neural network using the classification data set to adjust parameters of a feature extraction part and a section classification branch in the target neural network;

[0099] The second training unit is used to train the target neural network again using the segmented data set to fine-tune the parameters of the feature extraction part and the section classification branch, and adjust the parameters of the tissue segmentation branch to obtain a trained target neural network.

[0100] Based on the above embodiment, as a preferred implementation, the acquisition module includes:

[0101] An acquisition unit, used for acquiring an original first ultrasonic image with a marked section category and an original second ultrasonic image with a marked section category and tissue information;

[0102] A transformation unit, configured to perform an image transformation operation on the original first ultrasonic image and the original second ultrasonic image; wherein the image transformation operation includes any one or a combination of any several of image translation, image scaling and image flipping;

[0103] a labeling unit, configured to label each transformed first ultrasonic image with a section category based on an original first ultrasonic image corresponding to each transformed first ultrasonic image and an image transformation operation; and label each transformed second ultrasonic image with a section category and tissue information based on an original second ultrasonic image corresponding to each transformed second ultrasonic image and an image transformation operation;

[0104] A construction unit is used to construct the classification data set based on the original first ultrasonic image and the transformed first ultrasonic image, and to construct the segmentation data set based on the original second ultrasonic image and the transformed second ultrasonic image.

[0105] On the basis of the above embodiment, as a preferred implementation manner, the prediction module 503 is specifically a module that inputs the image features into the section classification branch and the tissue segmentation branch, so as to use the section classification branch to predict the section category of the target ultrasound image, and use the tissue segmentation branch to predict all tissues contained in the target ultrasound image and the tissue information of each of the tissues; wherein the tissue information includes tissue category, position and segmentation mask.

[0106] Based on the above embodiment, as a preferred implementation, it also includes:

[0107] A determination module, used to determine the candidate tissue category corresponding to the section category of the target ultrasound image;

[0108] The elimination module is used to eliminate tissues whose tissue categories do not belong to the candidate tissue categories from all the tissues to obtain the final tissue segmentation result of the target ultrasound image.

[0109] Based on the above embodiments, as a preferred implementation mode, the target neural network includes a Mask-RCNN and a ResNet network that share a feature extraction part, wherein the feature extraction part is specifically a ResNet backbone, the section classification branch includes a fully connected layer, and the tissue segmentation branch includes FPN, RPN, ROI Align and a prediction sub-branch.

[0110] Based on the above embodiment, as a preferred implementation manner, the target ultrasound image includes a muscle-bone ultrasound image.

[0111] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0112] Based on the hardware implementation of the above program module, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device, Figure 6 FIG. 1 is a structural diagram of an electronic device according to an exemplary embodiment. Figure 6 As shown, the electronic equipment includes:

[0113] Communication interface 1, capable of exchanging information with other devices such as network devices;

[0114] The processor 2 is connected to the communication interface 1 to realize information exchange with other devices and is used to execute the image processing method of the application provided by one or more technical solutions when running the computer program. The computer program is stored in the memory 3.

[0115] Of course, in actual application, the various components in the electronic device are coupled together through the bus system 4. It can be understood that the bus system 4 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 6 Various buses are labeled as bus system 4.

[0116] The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

[0117] It can be understood that the memory 3 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 3 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.

[0118] The method disclosed in the above embodiment of the present application can be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 2 or the instruction in the form of software. The above processor 2 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 2 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 3, and the processor 2 reads the program in the memory 3 and completes the steps of the above method in combination with its hardware.

[0119] When the processor 2 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, which will not be repeated here for the sake of brevity.

[0120] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 3 storing a computer program, and the computer program can be executed by a processor 2 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0121] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.

[0122] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An image processing method, It is characterized in that include: When a target ultrasound image is received, the target ultrasound image is input into a trained target neural network; wherein the target neural network includes a feature extraction part, a section classification branch, and a tissue segmentation branch; extracting image features of the target ultrasound image using the feature extraction part; Inputting the image features into the section classification branch and the tissue segmentation branch, so as to predict the section category of the target ultrasound image by using the section classification branch and perform tissue segmentation on the target ultrasound image by using the tissue segmentation branch; Wherein, performing tissue segmentation on the target ultrasound image using the tissue segmentation branch includes: Using the tissue segmentation branch to predict all tissues contained in the target ultrasound image and tissue information of each of the tissues; wherein the tissue information includes tissue category, location and segmentation mask; After predicting the tissue category, position and segmentation mask of each tissue contained in the target ultrasound image by using the tissue segmentation branch, the method further includes: Determine a candidate tissue category corresponding to the section category of the target ultrasound image according to the section category predicted by the section classification branch; Tissues whose tissue categories do not belong to the candidate tissue categories are eliminated from all the tissues to obtain a final tissue segmentation result of the target ultrasound image.

2. The image processing method according to claim 1, It is characterized in that Also includes: Acquire a classification data set and a segmentation data set; wherein the classification data set includes a first ultrasound image with a marked section category, and the segmentation data set includes a second ultrasound image with a marked section category and tissue information; The target neural network is trained using the classification data set and the segmentation data set to obtain a trained target neural network.

3. The image processing method according to claim 2, It is characterized in that The step of training the target neural network using the classification data set and the segmentation data set to obtain a trained target neural network includes: Training the target neural network using the classification data set to adjust parameters of a feature extraction part and a section classification branch in the target neural network; The target neural network is trained again using the segmented data set to fine-tune the parameters of the feature extraction part and the section classification branch, and to adjust the parameters of the tissue segmentation branch to obtain a trained target neural network.

4. The image processing method according to claim 2, It is characterized in that The obtaining of the classification data set and the segmentation data set includes: Acquire an original first ultrasound image with a marked section category and an original second ultrasound image with a marked tissue category; Performing an image transformation operation on the original first ultrasonic image and the original second ultrasonic image; wherein the image transformation operation includes any one or a combination of any several of image translation, image scaling and image flipping; Based on the original first ultrasonic image and the image transformation operation corresponding to each transformed first ultrasonic image, each of the transformed first ultrasonic images is labeled with a section category; based on the original second ultrasonic image and the image transformation operation corresponding to each transformed second ultrasonic image, each of the transformed second ultrasonic images is labeled with a section category and tissue information; The classification data set is constructed based on the original first ultrasonic image and the transformed first ultrasonic image, and the segmentation data set is constructed based on the original second ultrasonic image and the transformed second ultrasonic image.

5. The image processing method according to claim 1, It is characterized in that The target neural network includes Mask-RCNN and ResNet networks that share a common feature extraction part, the feature extraction part is specifically a ResNet backbone, the section classification branch includes a fully connected layer, and the tissue segmentation branch includes FPN, RPN, ROI Align and prediction sub-branches.

6. The image processing method according to claim 1, It is characterized in that The target ultrasound image includes a musculoskeletal ultrasound image.

7. An image processing device, It is characterized in that include: An input module, used for inputting the target ultrasound image into the trained target neural network when receiving the target ultrasound image; wherein the target neural network includes a feature extraction part, a section classification branch and a tissue segmentation branch; An extraction module, used for extracting image features of the target ultrasound image using the feature extraction part; A prediction module, used for inputting the image features into the section classification branch and the tissue segmentation branch, so as to predict the section category of the target ultrasound image by using the section classification branch and perform tissue segmentation on the target ultrasound image by using the tissue segmentation branch; The prediction module is specifically a module for inputting the image features into the section classification branch and the tissue segmentation branch, so as to predict the section category of the target ultrasound image by using the section classification branch, and predict all tissues contained in the target ultrasound image and tissue information of each tissue by using the tissue segmentation branch; wherein the tissue information includes tissue category, position and segmentation mask; Among them, it also includes: A determination module, used to determine the candidate tissue category corresponding to the section category of the target ultrasound image; The elimination module is used to eliminate tissues whose tissue categories do not belong to the candidate tissue categories from all the tissues to obtain the final tissue segmentation result of the target ultrasound image.

8. An electronic device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the image processing method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the image processing method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • 3D ultrasound imaging system

    CN105263420A

  • Muscle-bone ultrasonic image processing method, system and device and readable storage medium

    CN111383207A

  • Ultrasonic image processing method and device, computer equipment and storage medium

    CN111862044A