Ultrasonic section recognition method, system, computer device and storage medium

By identifying foreground targets and slice targets in ultrasound images, the problem of multi-slice target recognition in a single image is solved, and the diagnostic accuracy and work efficiency of fetal ultrasound examination are improved.

CN112102230BActive Publication Date: 2024-09-20HUNAN UNIV +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202010725339.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-24
Publication Date
2024-09-20
Estimated Expiration
2040-07-24

AI Technical Summary

Technical Problem

The existing intelligent automatic recognition method of fetal ultrasound slices is difficult to effectively identify when faced with multiple slice targets in a single image, resulting in the phenomenon of overestimating the focus and affecting the accuracy of diagnosis.

Method used

By acquiring ultrasound images, feature extraction and foreground target recognition are performed, positioning information is obtained, and slice targets are identified based on positioning information and image features, providing first category and location information, eliminating background interference, and improving recognition accuracy.

Benefits of technology

It effectively identifies multiple slice targets in ultrasound images, improves the accuracy of slice recognition, reduces the manual operations of ultrasound doctors, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112102230B
    Figure CN112102230B
Patent Text Reader

Abstract

The present application relates to an ultrasonic section recognition method, system, computer device and storage medium. The method comprises: obtaining an ultrasonic image to be recognized; extracting features of the ultrasonic image to be recognized to obtain corresponding image features; according to the image features, identifying all foreground targets in the ultrasonic image to be recognized, and obtaining the positioning information of each foreground target contained in the ultrasonic image to be recognized; according to the positioning information and image features, identifying all section targets in the ultrasonic image to be recognized, and obtaining the first category information and position information of each section target contained in the ultrasonic image to be recognized. The present method can effectively recognize multiple section targets contained in a single ultrasonic image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of prenatal ultrasound examination, and in particular to an ultrasound section recognition method, system, computer equipment and storage medium. Background Art

[0002] At present, fetal ultrasound examination in the second and third trimesters is the preferred examination method for prenatal diagnosis and screening of defective babies. Automatic selection of standard fetal ultrasound sections for diagnosis can greatly reduce the workload of ultrasound physicians, allowing them to focus more on the ultrasound test itself without having to manually freeze the section in the middle, thereby improving their work efficiency.

[0003] However, there are the following difficulties in obtaining standard fetal ultrasound sections: First, during the middle and late pregnancy, the fetus is relatively large and curled up significantly in the mother's body, resulting in the legs and abdomen of the fetus being obviously close together. Therefore, when taking sections related to the fetal abdomen, sections related to the lower limbs are often accompanied, and vice versa. Second, when taking coronal and sagittal sections of the fetal chest, sections related to the kidneys are often accompanied, and vice versa. Third, when taking coronal sections of the fetal face, sections related to the umbilical cord and placenta, and sections related to a certain limb, other limb sections will appear, and vice versa. At this time, the doctor's operating techniques and habits often lead to the simultaneous appearance of multiple section targets in a single image. For some tissues with smaller section targets themselves, the appearance of multiple section targets in a single image often overshadows the main focus, and this phenomenon needs to be paid special attention to.

[0004] The existing intelligent automatic recognition and selection method for standard fetal ultrasound sections is mainly based on classification algorithms, specifically considering the display of the entire image at one time and assigning a category to each image. However, this method has the following problems: when the above-mentioned single-image multi-section target appears, it is often impossible to make the expected classification judgment due to the appearance of the accompanying sections, resulting in the inability to effectively identify a single ultrasound image with multiple section targets. Summary of the invention

[0005] Based on this, it is necessary to provide an ultrasonic section recognition method, system, computer equipment and storage medium that can effectively identify multiple section targets contained in a single ultrasonic image in order to address the above technical problems.

[0006] A method for identifying an ultrasonic section, the method comprising:

[0007] Acquiring an ultrasound image to be identified;

[0008] Extracting features of the ultrasound image to be identified to obtain corresponding image features;

[0009] According to the image features, all foreground objects in the to-be-identified ultrasonic image are identified, and positioning information of each foreground object contained in the to-be-identified ultrasonic image is obtained;

[0010] According to the positioning information and the image features, all section targets in the to-be-identified ultrasonic image are identified, and first category information and position information of each section target contained in the to-be-identified ultrasonic image are obtained.

[0011] An ultrasonic section recognition system, the system comprising:

[0012] An acquisition module, used for acquiring an ultrasonic image to be identified;

[0013] A feature extraction module, used to extract features from the ultrasound image to be identified to obtain corresponding image features;

[0014] A foreground recognition module, used to recognize the foreground target in the ultrasonic image to be recognized according to the image features, and obtain the positioning information of each foreground target contained in the ultrasonic image to be recognized;

[0015] The section recognition module is used to recognize all section targets in the ultrasonic image to be recognized according to the positioning information and the image features, and obtain the first category information and position information of each section target contained in the ultrasonic image to be recognized.

[0016] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0017] Acquiring an ultrasound image to be identified;

[0018] Extracting features of the ultrasound image to be identified to obtain corresponding image features;

[0019] According to the image features, identifying all foreground objects in the to-be-identified ultrasonic image, and obtaining positioning information of each foreground object contained in the to-be-identified ultrasonic image;

[0020] According to the positioning information and the image features, all section targets in the to-be-identified ultrasonic image are identified, and first category information and position information of each section target contained in the to-be-identified ultrasonic image are obtained.

[0021] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0022] Acquiring an ultrasound image to be identified;

[0023] Extracting features of the ultrasound image to be identified to obtain corresponding image features;

[0024] According to the image features, identifying all foreground objects in the to-be-identified ultrasonic image, and obtaining positioning information of each foreground object contained in the to-be-identified ultrasonic image;

[0025] According to the positioning information and the image features, all section targets in the to-be-identified ultrasonic image are identified, and first category information and position information of each section target contained in the to-be-identified ultrasonic image are obtained.

[0026] The above-mentioned ultrasonic section recognition method, system, computer equipment and storage medium first identify all foreground targets contained in the ultrasonic image, obtain the positioning information of each foreground target, and then further identify all section targets contained in the ultrasonic image in the corresponding area based on the positioning information of the foreground targets, thereby being able to effectively identify multiple section targets in the ultrasonic image, eliminate background interference, and improve the accuracy of section recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of a flow chart of an ultrasonic section recognition method in one embodiment;

[0028] Figure 2 A schematic diagram of the structure of a section recognition model in one embodiment;

[0029] Figure 3 A schematic diagram of the structure of a network header in one embodiment;

[0030] Figure 4 A schematic diagram of output results of a section recognition model in one embodiment;

[0031] Figure 5 is a structural block diagram of an ultrasonic section recognition system in an embodiment;

[0032] Figure 6 is an internal structure diagram of a computer device in one embodiment;

[0033] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0035] In one embodiment, Figure 1 As shown, a method for ultrasonic section recognition is provided, including the following steps S102 to S108.

[0036] S102, obtaining an ultrasound image to be identified.

[0037] The ultrasound image to be identified represents an ultrasound image of a fetus, which can be obtained by detection through an ultrasound device. The types of sections contained in the detected ultrasound image may be different depending on the detection position. The types of sections may represent the approximate location of the fetus, such as the thalamus, abdomen, femur, chest, face, hands, feet, umbilical cord, placenta, etc.

[0038] S104, extracting features from the ultrasound image to be identified to obtain corresponding image features.

[0039] Image features are used to describe the image information contained in the ultrasound image to be identified. Different image information corresponds to different features. Therefore, image features can be used for subsequent classification of image information, such as distinguishing between foreground and background and distinguishing between various different sections.

[0040] S106, identifying all foreground objects in the ultrasonic image to be identified according to the image features, and obtaining positioning information of each foreground object contained in the ultrasonic image to be identified.

[0041] The foreground target can be understood as a region of interest (ROI), and all sections contained in the ultrasound image to be identified can be regarded as foreground targets. The positioning information of the foreground target can specifically include the position and size of the foreground target. Specifically, the foreground target identified from the ultrasound image to be identified is marked by a first detection frame, each first detection frame corresponds to a foreground target, the center point coordinates of the first detection frame represent the position of the foreground target, and the width and height of the first detection frame represent the size of the foreground target.

[0042] S108, identifying all the section targets in the to-be-identified ultrasonic image according to the positioning information and the image features, and obtaining the first category information and the position information of each section target contained in the to-be-identified ultrasonic image.

[0043] The first category information of the section target is the category obtained by roughly classifying the section target, which can represent the approximate part shown by the section, and can specifically include but is not limited to: thalamus section, abdominal section, femoral section, thoracic section, facial section, hand section, foot section, umbilical cord section, placental section. The position information of the section target can specifically include the position and size of the section target. Specifically, the section target identified from the ultrasound image to be identified is marked by the second detection frame, each second detection frame corresponds to a section target, the center point coordinates of the second detection frame represent the position of the section target, and the width and height of the second detection frame represent the size of the section target.

[0044] In the above-mentioned ultrasonic section recognition method, all foreground targets contained in the ultrasonic image are first identified, and the positioning information of each foreground target is obtained. Then, based on the positioning information of the foreground target, all section targets contained in the ultrasonic image are further identified in the corresponding area. In this way, multiple section targets in the ultrasonic image can be effectively identified, and background interference can be eliminated, thereby improving the accuracy of section recognition.

[0045] In one embodiment, the steps of identifying all section targets in the ultrasound image to be identified based on the positioning information and image features, and obtaining the first category information and position information of each section target contained in the ultrasound image to be identified may specifically include the following steps: extracting the features of the corresponding area from the image features based on the positioning information to obtain the foreground features; identifying all section targets in the ultrasound image to be identified based on the foreground features, and obtaining the first category information and position information of each section target contained in the ultrasound image to be identified.

[0046] The foreground feature represents the feature of the foreground target. The image feature corresponding to the ultrasound image to be identified can be understood as including foreground features and background features. According to the positioning information of the identified foreground target, the features of the corresponding area can be extracted from the image features as the foreground feature.

[0047] When the ultrasound image to be identified contains multiple slices, the foreground feature describes multiple slice information. Different slice information corresponds to different features. Therefore, the foreground feature can be used for slice classification. According to the foreground feature, all slice targets in the ultrasound image to be identified can be identified, and the first category information and position information of each slice target contained in the ultrasound image to be identified can be obtained.

[0048] In one embodiment, after obtaining the position information of each section target contained in the ultrasound image to be identified, the following steps may also be included: extracting the features of the corresponding area from the image features according to the position information to obtain the section features; performing a second classification on each section target contained in the ultrasound image to be identified according to the section features to obtain the second category information of each section target contained in the ultrasound image to be identified.

[0049] The section feature represents the feature of the section target. According to the position information of the identified section target, the feature of the corresponding area can be intercepted from the image feature as the section feature. When the ultrasound image to be identified contains multiple sections, the section feature describes multiple section information. Different section information corresponds to different features. Therefore, the section feature can be used for section classification. According to the section feature, all section targets in the ultrasound image to be identified can be identified, and the second category information of each section target contained in the ultrasound image to be identified can be obtained.

[0050] The second category information of the section target is the category obtained by subdividing the section target, which can not only indicate the approximate part shown by the section, but also indicate whether the section is a standard section that can be used for diagnosis. Specifically, it may include but is not limited to: thalamus standard section, thalamus non-standard section, abdomen standard section, abdomen non-standard section, femur standard section, femur non-standard section, thoracic standard section, femur non-standard section, face standard section, face non-standard section, hand standard section, hand non-standard section, foot standard section, foot non-standard section, umbilical cord standard section, umbilical cord non-standard section, placenta standard section, placenta non-standard section, etc.

[0051] In one embodiment, the ultrasound image to be identified can be input into a trained section recognition model, and the position and category of each section contained in each ultrasound image can be obtained through the section recognition model. Specifically, the section recognition model is a deep convolutional neural network model, such as Figure 2 As shown, the section recognition model includes a backbone network, a feature interaction network, a foreground-background classification subnetwork and a network head connected in sequence. The network head includes three parallel branches, namely a positioning subnetwork, a first classification subnetwork (also called a large classification subnetwork) and a second classification subnetwork (also called a detailed classification subnetwork).

[0052] Specifically, through the backbone network, features of the ultrasound image to be identified are extracted to obtain extracted features; through the feature interaction network, the extracted features are fused to obtain image features corresponding to the ultrasound image to be identified; through the foreground-background classification subnetwork, all foreground targets in the ultrasound image to be identified are identified according to the image features, and the positioning information of each foreground target contained in the ultrasound image to be identified is obtained; through the first classification subnetwork, all section targets in the ultrasound image to be identified are first classified according to the foreground features, and the first category information of each section target contained in the ultrasound image to be identified is obtained; through the positioning subnetwork, all section targets in the ultrasound image to be identified are positioned according to the foreground features, and the position information of each section target contained in the ultrasound image to be identified is obtained; through the second classification subnetwork, each section target contained in the ultrasound image to be identified is second classified according to the section features, and the second category information of each section target contained in the ultrasound image to be identified is obtained.

[0053] For the backbone network, its input is the ultrasound image to be identified, and its output is the extracted features. The specific network structure of the backbone network is as follows:

[0054] The first layer is the input layer, and its input is a pixel matrix of 736*960*3. After obtaining the ultrasound image to be recognized, the ultrasound image is processed as follows: while keeping the aspect ratio of the image unchanged, the obtained ultrasound image is scaled so that the long side of the scaled image does not exceed 960 pixels and the short side does not exceed 736 pixels, and the insufficient length of the side is filled with 0 to reach 960 pixels in width and 736 pixels in height to meet the input layer's size requirements for the input image.

[0055] The second layer is the feature extraction layer, which uses the feature extraction network ResNet-50 and uses the outputs of stage2, stage3, stage4, and stage5 in ResNet-50 as the extracted features C2, C3, C4, and C5, whose sizes are 184*240*256, 92*120*512, 46*60*1024, and 23*30*2048 respectively.

[0056] For the feature interaction network, its input is the features C2, C3, C4, and C5 output by the backbone network, and its output is the fused features P2, P3, P4, P5, and P6 of the five scales. The specific network structure of the feature interaction network is as follows:

[0057] The first layer is a ConvBnRelu type convolution layer based on the feature layer C5, with a convolution kernel size of 1*1, 256 output channels, a step size of 1, VALID mode filling, and an output matrix of 23*30*256, denoted as M5.

[0058] The second layer is a ConvBnRelu type convolution layer based on the feature layer C4, with a convolution kernel size of 1*1, an output channel of 256, a step size of 1, VALID mode filling, and an output matrix of 46*60*256, denoted as M4.

[0059] The third layer is a ConvBnRelu type convolution layer based on the feature layer C3, with a convolution kernel size of 1*1, an output channel of 256, a step size of 1, VALID mode filling, and an output matrix of 92*120*256, denoted as M3.

[0060] The fourth layer is a ConvBnRelu type convolution layer based on the feature layer C2, with a convolution kernel size of 1*1, an output channel of 256, a step size of 1, VALID mode filling, and an output matrix of 184*240*256, denoted as M2.

[0061] The fifth layer is a 2*2 upsampling layer based on M5, and the output matrix is ​​46*60*256.

[0062] The sixth layer is the ADD layer, which adds the fifth layer output and M4. The output matrix is ​​46*60*256, denoted as A4.

[0063] The seventh layer is a 2*2 upsampling layer based on A4, and the output matrix is ​​92*120*256.

[0064] The eighth layer is the ADD layer, which adds the output of the seventh layer to M3. The output matrix is ​​92*120*256, denoted as A3.

[0065] The ninth layer is a 2*2 upsampling layer based on A3, and the output matrix is ​​184*240*256.

[0066] The tenth layer is the ADD layer, which adds the output of the ninth layer to M2. The output matrix is ​​184*240*256, denoted as A2.

[0067] The eleventh layer is a ConvBnRelu type convolution layer based on A2, with a convolution kernel size of 3*3, an output channel of 256, a SAME filling mode, and an output matrix size of 184*240*256, denoted as P2.

[0068] The twelfth layer is a ConvBnRelu type convolution layer based on A3, with a convolution kernel size of 3*3, an output channel of 256, a SAME filling mode, and an output matrix size of 92*120*256, denoted as P3.

[0069] The thirteenth layer is a ConvBnRelu type convolution layer based on A4, with a convolution kernel size of 3*3, an output channel of 256, a SAME filling mode, and an output matrix size of 46*60*256, denoted as P4.

[0070] The fourteenth layer is a ConvBnRelu type convolution layer based on M5, with a convolution kernel size of 3*3, an output channel of 256, a SAME filling mode, and an output matrix size of 23*30*256, denoted as P5.

[0071] The fifteenth layer is the MaxPooling pooling layer based on C5, with a pooling size of 1*1, a step size of 2, and an output matrix size of 12*15*256, denoted as P6.

[0072] For the foreground-background classification subnetwork, its input is the features P2, P3, P4, P5, and P6 output by the feature interaction network, and its output is the location and size of the area classified as the foreground. The area classified as the foreground is also called the region of interest. The specific network structure of the foreground-background classification subnetwork is as follows:

[0073] The first layer is a ConvBnRelu type convolution layer based on P2, P3, P4, P5, and P6, with a convolution kernel size of 3*3, an output channel of 512, SAME mode filling, and output matrices of 184*240*512, 92*120*512, 46*60*512, 23*30*512, and 12*15*256, respectively. These outputs are collectively denoted as S.

[0074] The second layer is a ConvBnSigmoid type convolution layer based on S. The convolution kernel size is 1*1, the output channel is 18, and the output matrices are 184*240*18, 92*120*18, 46*60*18, 23*30*18, and 12*15*18 respectively.

[0075] The third layer is the Reshape layer, which reshapes all the outputs of the second layer into matrices of depth 2. The output matrices are 397440*2, 99360*2, 24840*2, 6210*2, and 1620*2 respectively.

[0076] The fourth layer is the Concatenation layer, which connects all the outputs of the third layer along the first dimension. The output matrix is ​​529470*2, which is the classification result of the foreground and background.

[0077] The fifth layer is a ConvBn type convolution layer based on S. The convolution kernel size is 1*1, the output channel is 36, and the output matrices are 184*240*36, 92*120*36, 46*60*36, 23*30*36, and 12*15*36 respectively.

[0078] The sixth layer is the Reshape layer, which reshapes all the outputs of the fifth layer into matrices of depth 4. The output matrices are 397440*4, 99360*4, 24840*4, 6210*4, and 1620*4 respectively.

[0079] The seventh layer is the Concatenation layer, which connects all the outputs of the sixth layer along the first dimension. The output matrix is ​​529470*4, which is the approximate positioning result of the foreground and background areas.

[0080] For the network head, Figure 3As shown in the figure, it consists of three parallel subnetworks, namely the positioning subnetwork, the large classification subnetwork and the detailed classification subnetwork. Among them, the inputs of the positioning subnetwork and the large classification subnetwork are the features P2, P3, P4, P5, P6 output by the feature interaction network and the approximate positioning results of the region of interest generated by the foreground and background classification subnetwork. The network will intercept the features of the corresponding area from P2, P3, P4, P5, P6 according to the location of the region of interest, and the intercepted features are used for the large classification subnetwork and the positioning subnetwork. The specific network structure of the positioning subnetwork and the large classification subnetwork is as follows:

[0081] The first layer is the ROIPooling layer, which is 7*7 in size. It captures the features of each region of interest and organizes them into a 7*7*256 matrix.

[0082] The second layer is the Flatten layer, which expands the regional features sorted out in the first layer into a 12544 vector.

[0083] The third layer is a DenseRelu layer based on the output of the second layer. The number of neurons is 1024, and the output matrix of each feature area is a vector of 1024.

[0084] The fourth layer is a DenseRelu layer based on the output of the third layer, with 1024 neurons, and the output matrix of each feature area is a vector of 1024. It should be noted that the first to fourth layers are network layers shared by the positioning sub-network and the large classification sub-network.

[0085] The fifth layer is a Dense layer based on the output results of the fourth layer. The number of neurons is 4*N, and the output matrix of each feature area is a 4*N vector. The result represents the fine position of each region of interest, where N represents the number of categories involved in the large classification.

[0086] The sixth layer is a DenseSoftmax layer based on the output results of the fourth layer. The number of neurons is N, and the output matrix of each feature area is a vector of N. The result represents the major classification category to which each region of interest belongs.

[0087] The input of the detailed classification subnetwork in the inference phase is P2, P3, P4, P5, P6 output by the feature interaction network and the fine position of each region of interest generated by the positioning subnetwork. The input in the training phase is P2, P3, P4, P5, P6 output by the feature interaction network and the rough positioning results of each region of interest classified as the foreground generated by the foreground background subnetwork. The network will intercept the features of the corresponding area from P2, P3, P4, P5, P6 according to the position of the region of interest, and the intercepted features are used for the detailed classification subnetwork. The specific network structure of the detailed classification subnetwork is as follows:

[0088] The first layer is the ROIPooling layer, which is 8*8 in size. It captures the features of each region of interest and organizes them into a matrix of 8*8*256.

[0089] The second layer is a ConvBnRelu type convolution layer with a convolution kernel size of 1*1, an output channel of 256, a VALID filling mode, and an output matrix of 8*8*256.

[0090] The third layer is a ConvBnRelu type convolution layer with a convolution kernel size of 3*3, an output channel of 256, SAME filling mode, and an output matrix of 8*8*256.

[0091] The fourth layer is a ConvBnRelu type convolution layer with a convolution kernel size of 1*1, an output channel of 512, a VALID filling mode, and an output matrix of 8*8*512.

[0092] The fifth layer is the MaxPooling layer, the pooling size is 8*8, and the output matrix is ​​1*1*512.

[0093] The sixth layer is the ConvBnRelu layer, the convolution kernel size is 1*1, the output channel is 64, and the output matrix is ​​1*1*64.

[0094] The seventh layer is the ConvBnRelu layer, the convolution kernel size is 1*1, the output channel is 512, and the output matrix is ​​1*1*512.

[0095] The eighth layer is the dot product layer, which performs matrix multiplication on the output of the fourth layer and the output of the seventh layer, and the output matrix is ​​8*8*512.

[0096] The ninth layer is the MaxPooling layer, the pooling size is 2*2, and the output matrix is ​​4*4*512.

[0097] The tenth layer is the Flatten layer, which expands the output of the ninth layer into a vector of 8192.

[0098] The eleventh layer is the Dense layer, the number of output channels is H, and the output matrix is ​​a vector of length H. The result represents the sub-classification category of the corresponding intercepted regional features, where H is the number of categories involved in the sub-classification.

[0099] like Figure 4 As shown, the right side shows the output result of a section recognition model in an embodiment. Compared with the output result on the left side which can only predict one section category for a single ultrasound image, the section recognition model in the above embodiment can predict multiple section categories for a single ultrasound image, thereby effectively identifying multiple section targets in the ultrasound image.

[0100] In one embodiment, the training process of the above-mentioned section recognition model includes the following steps: obtaining a sample ultrasound image and corresponding annotation information, the annotation information including: the location information and category information of each section target annotated in the sample ultrasound image; inputting the sample ultrasound image into the section recognition model to be trained to obtain the recognition information corresponding to the sample ultrasound image, the recognition information including: the location information and category information of each section target identified from the sample ultrasound image; based on the recognition information and the annotation information, adjusting the parameters of each network in the section recognition model to be trained until the model training end conditions are met to obtain a trained section recognition model.

[0101] Acquiring a sample ultrasonic image specifically includes the following steps: acquiring an initial sample ultrasonic image; selecting a preset proportion of sample ultrasonic images from the initial sample ultrasonic image for image enhancement to obtain a corresponding enhanced sample ultrasonic image; and determining a sample ultrasonic image based on the initial sample ultrasonic image and the enhanced sample ultrasonic image.

[0102] Specifically, the initial sample ultrasound images (i.e., the data set) are approximately 160,000 fetal ultrasound section images obtained from ultrasound equipment manufactured by mainstream manufacturers on the market (including Samsung, Siemens, and Kaili, etc.), covering the 42 sections required for prenatal ultrasound fetal testing, with approximately 4,000 pieces of data for each section. These fetal ultrasound section images are randomly divided into three parts, 80% of which are used as training sets, 10% as validation sets, and 10% as test sets.

[0103] The annotation information corresponding to the data set can be annotated by an expert to obtain an annotated data set. The specific annotation method can be to annotate each section contained in the initial sample ultrasound image with a rectangular box. The annotated position information includes the coordinates of the center point and the width and height of the rectangular box. The annotated category information is used to indicate whether the rectangular box belongs to the foreground or background, as well as the major category and the detailed category. The clustering algorithm is used to statistically analyze the annotated data set to obtain 5 values ​​that best represent the size of the key areas of all sections (such as 64*64, 128*128, 256*256, 512*512, 704*704), and respectively combine them with aspect ratios of 0.5, 1.0, and 2.0 to generate anchor points in the neural network. It can be understood that for each pixel in each sample ultrasound image, 15 boxes of different sizes are annotated with the pixel as the center.

[0104] The labeled data set is preprocessed as follows: for each initial sample ultrasound image, while keeping the image aspect ratio unchanged, it is scaled so that the long side of the scaled image does not exceed 960 pixels and the short side does not exceed 736 pixels, and the insufficient side is filled with 0 to make it reach 960 pixels in width and 736 pixels in height; then, images of a preset ratio (less than 50%) are randomly selected from the scaled initial sample ultrasound images, and for each selected image, one or more of the following enhancement operations are randomly applied to the image: random up and down flipping of the image, random left and right flipping of the image, random rotation of -20° to +20° with the image center as the origin, random brightness perturbation of 5 to 10 pixels, and contrast enhancement of 0.8 to 1.2 times to obtain the corresponding enhanced sample ultrasound image; all the scaled initial sample ultrasound images and all the enhanced sample ultrasound images are used together as sample ultrasound images participating in training, which can improve the robustness of the model; the pixel mean and variance of all sample ultrasound images are counted, and each sample ultrasound image is standardized using the mean and variance to obtain the final preprocessed sample ultrasound image for model training.

[0105] The sample ultrasound image is input into the section recognition model to be trained to obtain the recognition information corresponding to the sample ultrasound image. The recognition information includes the corresponding information of each detection frame. Each detection frame corresponds to an identified section target. The position information of the section target includes the center point coordinates and width and height of the corresponding detection frame. The category information of the section target includes whether the corresponding detection frame belongs to the foreground or background, and the major classification category and detailed classification category to which it belongs.

[0106] The loss function used in the section recognition model consists of four parts, which are used to calculate the losses of the foreground and background classification subnetwork, the positioning subnetwork, the large classification subnetwork, and the detailed classification subnetwork.

[0107] The loss function (Binary-CrossEntropy) of the foreground-background classification subnetwork is as follows:

[0108]

[0109] Among them, m represents the number of samples, y i Indicates whether the i-th sample is a foreground label, x i represents the i-th sample, h w Represents the mapping function from samples to foreground and background categories.

[0110] The loss function of the positioning sub-network (Smooth-L1) is as follows:

[0111]

[0112]

[0113] Among them, t u It represents the coordinates of the center point of the target area and the predicted values ​​of width and height x, y, w, and h, and v represents the actual label value in the annotation information.

[0114] The loss function of the large classification subnetwork (Category-CrossEntropy) is as follows:

[0115]

[0116] Among them, i represents the i-th category, Z i A logical value indicating when the target is classified into the i-th category.

[0117] The loss function (Arc-Softmax) of the sub-classification sub-network is as follows:

[0118]

[0119] Among them, m represents the angle margin, which can be 0.35, s represents the characteristic scale, which can be 36.0, θ j Represents the angle between the embedded feature of the jth target region and the category center.

[0120] The output results and annotation information of each sub-network are respectively input into the loss function corresponding to each sub-network to obtain the loss value. The loss value is optimized according to the SGD algorithm to achieve the purpose of gradually updating the parameters of each sub-network. During the optimization process, the learning rate lr first undergoes a warm-up process, gradually increasing from 0.00005 to 0.001, and then the learning rate decays once every 10,000 iterations, with a decay weight of 0.004, until the model converges or reaches the preset number of iterations, and the training is terminated. The training process includes 300 cycles, and each cycle iterates 10,000 times.

[0121] The trained section recognition model was verified using the validation set. The ultrasound image was input into the trained model. The model automatically identified the input ultrasound image and gave the section type involved and the judgment result of whether the section was standard. The large classification accuracy, fine classification accuracy, standard section average precision, and standard section average recall of the trained model on the validation set are shown in Table 1 below:

[0122] Table 1

[0123] Large classification accuracy Sub-classification accuracy Standard section accuracy Standard facet recall 99.26% 98.79% 99.50% 94.32%

[0124] As can be seen from the table, while ensuring that the precision of the standard section exceeds 99%, the recall rate on the standard section still remains at a very high level.

[0125] Through the above-mentioned embodiments, it is possible to automatically identify standard sections from ultrasound images without manual intervention, thereby effectively reducing or even completely avoiding the operation of ultrasound physicians manually freezing the screen to capture relevant sections when performing ultrasound examinations, thereby improving the work efficiency of ultrasound physicians; and, taking into account the situation of multiple section labels in a single image that may appear during prenatal fetal ultrasound examinations, this solution is widely applicable to the selection of standard sections in all prenatal fetal ultrasound tests, and solves the selection needs of all standard sections involved in prenatal fetal ultrasound in one stop, avoiding the complexity brought by artificial grouping of data and the loss of knowledge information between groups, which is equivalent to increasing the richness and completeness of the data used for model training and learning, and improving the overall recognition accuracy; in addition, the one-stop solution to the needs means smaller computing resource overhead, thereby reducing the hardware cost required for the actual deployment and application of this solution.

[0126] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0127] In one embodiment, Figure 5 As shown, an ultrasound section recognition system 500 is provided, comprising: an acquisition module 510, a feature extraction module 520, a foreground recognition module 530 and a section recognition module 540, wherein:

[0128] The acquisition module 510 is used to acquire the ultrasound image to be identified.

[0129] The feature extraction module 520 is used to extract features from the ultrasound image to be identified to obtain corresponding image features.

[0130] The foreground recognition module 530 is used to recognize all foreground objects in the ultrasonic image to be recognized according to the image features, and obtain the positioning information of each foreground object contained in the ultrasonic image to be recognized.

[0131] The section recognition module 540 is used to recognize all section targets in the ultrasound image to be recognized according to the positioning information and the image features, and obtain the first category information and position information of each section target contained in the ultrasound image to be recognized.

[0132] In one embodiment, the section recognition module 540 includes: a first interception unit and a first recognition unit. The first interception unit is used to intercept the features of the corresponding area from the image features according to the positioning information to obtain the foreground features. The first recognition unit is used to identify all section targets in the ultrasound image to be identified according to the foreground features, and obtain the first category information and position information of each section target contained in the ultrasound image to be identified.

[0133] In one embodiment, the feature extraction module 520 is specifically used to: extract features of the ultrasound image to be identified through the backbone network in the trained section recognition model to obtain extracted features; and fuse the extracted features through the feature interaction network in the section recognition model to obtain image features corresponding to the ultrasound image to be identified.

[0134] In one embodiment, the foreground recognition module 530 is specifically used to: identify all foreground targets in the ultrasound image to be identified according to image features through the foreground background classification subnetwork in the slice recognition model, and obtain the positioning information of each foreground target contained in the ultrasound image to be identified.

[0135] In one embodiment, the first recognition unit is specifically used to: perform a first classification on all the section targets in the ultrasound image to be identified according to the foreground features through the first classification subnetwork in the section recognition model, and obtain the first category information of each section target contained in the ultrasound image to be identified; perform positioning on all the section targets in the ultrasound image to be identified according to the foreground features through the positioning subnetwork in the section recognition model, and obtain the position information of each section target contained in the ultrasound image to be identified.

[0136] In one embodiment, the section recognition module 540 further includes: a second interception unit and a second recognition unit. The second interception unit is used to intercept the features of the corresponding area from the image features according to the position information to obtain the section features. The second recognition unit is used to perform a second classification on each section target contained in the ultrasound image to be recognized according to the section features to obtain second category information of each section target contained in the ultrasound image to be recognized.

[0137] In one embodiment, the second recognition unit is specifically used to: perform a second classification on each section target contained in the ultrasound image to be identified according to the section features through the second classification subnetwork in the section recognition model, and obtain second category information of each section target contained in the ultrasound image to be identified.

[0138] In one embodiment, the system also includes a training module for training to obtain a section recognition model. The section recognition model includes a backbone network, a feature interaction network, a foreground and background classification subnetwork, and a network head connected in sequence, and the network head includes a parallel positioning subnetwork, a first classification subnetwork, and a second classification subnetwork. The training module is specifically used to: obtain a sample ultrasound image and corresponding annotation information, the annotation information includes: the location information and category information of each section target annotated in the sample ultrasound image; input the sample ultrasound image into the section recognition model to be trained to obtain the recognition information corresponding to the sample ultrasound image, the recognition information includes: the location information and category information of each section target identified from the sample ultrasound image; based on the recognition information and the annotation information, adjust the parameters of each network in the section recognition model to be trained until the model training end condition is met to obtain a trained section recognition model.

[0139] In one embodiment, when acquiring sample ultrasonic images, the training module is specifically used to: acquire an initial sample ultrasonic image; select a preset proportion of sample ultrasonic images from the initial sample ultrasonic image for image enhancement to obtain a corresponding enhanced sample ultrasonic image; and determine a sample ultrasonic image based on the initial sample ultrasonic image and the enhanced sample ultrasonic image.

[0140] For the specific definition of the ultrasonic section recognition system, please refer to the definition of the ultrasonic section recognition method above, which will not be repeated here. Each module in the above ultrasonic section recognition system can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0141] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an ultrasonic section recognition method is implemented.

[0142] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an ultrasonic section recognition method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0143] Those skilled in the art will understand that Figure 6 or Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0144] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0145] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0146] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0147] It should be understood that the terms "first", "second", etc. in the above embodiments are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.

[0148] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0149] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0150] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for ultrasonic section recognition, characterized in that: The method comprises: Acquiring an ultrasound image to be identified; Extracting features of the ultrasound image to be identified to obtain corresponding image features; According to the image features, all foreground objects in the ultrasonic image to be identified are identified, and the foreground objects identified from the ultrasonic image to be identified are marked by a first detection frame, each of the first detection frames corresponds to one foreground object, the center point coordinates of the first detection frame represent the position of the foreground object, and the width and height of the first detection frame represent the size of the foreground object, so as to obtain the positioning information of each foreground object contained in the ultrasonic image to be identified; According to the positioning information and the image features, all section targets in the ultrasonic image to be identified are identified, and the section targets identified from the ultrasonic image to be identified are marked by a second detection frame, each of the second detection frames corresponds to one section target, the center point coordinates of the second detection frame represent the position of the section target, and the width and height of the second detection frame represent the size of the section target, so as to obtain the first category information and position information of each section target contained in the ultrasonic image to be identified.

2. The method according to claim 1, characterized in that According to the positioning information and the image features, all section targets in the to-be-identified ultrasound image are identified, and first category information and position information of each section target contained in the to-be-identified ultrasound image are obtained, including: Extracting features of a corresponding area from the image features according to the positioning information to obtain foreground features; According to the foreground feature, all section targets in the to-be-identified ultrasonic image are identified, and first category information and position information of each section target contained in the to-be-identified ultrasonic image are obtained.

3. The method according to claim 2, characterized in that Include at least one of the following: Item 1: Extracting features of the ultrasound image to be identified to obtain corresponding image features includes: Extracting features of the ultrasound image to be identified by using a backbone network in a trained section recognition model to obtain extracted features; The extracted features are fused through a feature interaction network in the section recognition model to obtain image features corresponding to the ultrasound image to be recognized; Item 2: According to the image features, all foreground objects in the to-be-identified ultrasound image are identified, and positioning information of each foreground object contained in the to-be-identified ultrasound image is obtained, including: Using the foreground-background classification subnetwork in the trained section recognition model, all foreground objects in the ultrasound image to be recognized are recognized according to the image features, and the positioning information of each foreground object contained in the ultrasound image to be recognized is obtained; Item 3: According to the foreground feature, all section targets in the to-be-identified ultrasonic image are identified, and first category information and position information of each section target contained in the to-be-identified ultrasonic image are obtained, including: By using the first classification subnetwork in the trained section recognition model, all section targets in the to-be-recognized ultrasound image are first classified according to the foreground features to obtain first category information of each section target contained in the to-be-recognized ultrasound image; Through the positioning subnetwork in the section recognition model, all section targets in the ultrasound image to be recognized are positioned according to the foreground features, so as to obtain the position information of each section target contained in the ultrasound image to be recognized.

4. The method according to any one of claims 1 to 3, characterized in that Also includes: Extracting features of a corresponding area from the image features according to the position information to obtain section features; According to the section features, a second classification is performed on each section target contained in the to-be-identified ultrasonic image to obtain second category information of each section target contained in the to-be-identified ultrasonic image.

5. The method according to claim 4, characterized in that According to the section feature, performing a second classification on each section target contained in the to-be-identified ultrasound image to obtain second category information of each section target contained in the to-be-identified ultrasound image, including: Through the second classification subnetwork in the trained section recognition model, the second classification is performed on each section target contained in the ultrasound image to be identified according to the section features, so as to obtain the second category information of each section target contained in the ultrasound image to be identified.

6. The method according to claim 5, characterized in that The section recognition model includes a backbone network, a feature interaction network, a foreground and background classification subnetwork and a network head connected in sequence, and the network head includes a parallel positioning subnetwork, a first classification subnetwork and a second classification subnetwork; The training process of the section recognition model includes: Acquire a sample ultrasound image and corresponding annotation information, wherein the annotation information includes: position information and category information of each section target annotated in the sample ultrasound image; Inputting the sample ultrasound image into the section recognition model to be trained to obtain recognition information corresponding to the sample ultrasound image, wherein the recognition information includes: position information and category information of each section target recognized from the sample ultrasound image; Based on the identification information and the annotation information, the parameters of each network in the section recognition model to be trained are adjusted until the model training end condition is met to obtain a trained section recognition model.

7. The method according to claim 6, characterized in that Obtain sample ultrasound images, including: acquiring an initial sample ultrasound image; Selecting a preset proportion of sample ultrasound images from the initial sample ultrasound images for image enhancement to obtain corresponding enhanced sample ultrasound images; A sample ultrasonic image is determined according to the initial sample ultrasonic image and the enhanced sample ultrasonic image.

8. An ultrasonic section recognition system, characterized in that: The system comprises: An acquisition module, used for acquiring an ultrasound image to be identified; A feature extraction module, used to extract features from the ultrasound image to be identified to obtain corresponding image features; a foreground recognition module, configured to recognize all foreground targets in the ultrasonic image to be recognized according to the image features, mark the foreground targets recognized from the ultrasonic image to be recognized by means of a first detection frame, each of the first detection frames corresponds to one foreground target, the coordinates of the center point of the first detection frame represent the position of the foreground target, the width and height of the first detection frame represent the size of the foreground target, and obtain the positioning information of each foreground target contained in the ultrasonic image to be recognized; A section recognition module is used to identify all section targets in the ultrasound image to be recognized based on the positioning information and the image features, mark the section targets recognized from the ultrasound image to be recognized by a second detection frame, each of the second detection frames corresponds to one section target, the center point coordinates of the second detection frame represent the position of the section target, the width and height of the second detection frame represent the size of the section target, and obtain the first category information and position information of each section target contained in the ultrasound image to be recognized.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and system for recognizing region of interest profile in ultrasound image

    CN108701354A

  • Construction of Ultrasonic Imaging Key Target Detection Model and Detection Method, Device

    CN109063740A

  • Method for performing quality control on ultrasonic section image of fetus during middle and late pregnancy

    CN110464380A

  • Automatic identification method and system for fetal standard section in ultrasonic image

    CN110555836A

  • Automatic quality control system and detection method of fetal ultrasonic section image

    CN111223092A