Method, device and equipment for measuring biological characteristics of fetus at early pregnancy stage and medium

Fetal ultrasound images are processed through the adaptive fusion and attention fusion modules of the target AAW-Net model, which solves the problems of low measurement accuracy and low efficiency in fetal biometric measurement in early pregnancy, realizes automated measurement, and improves measurement efficiency. and accuracy.

CN118608516APending Publication Date: 2024-09-06CHONGQING UNIVERSITY THREE GORGES HOSPITAL
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410877290.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing technologies have problems with low measurement accuracy, poor convenience, and low efficiency in fetal biometric measurement during early pregnancy. In particular, poor performance results from reliance on manual measurement and traditional segmentation algorithms that do not fully utilize global and local information.

Method used

The target AAW-Net model is used to process fetal ultrasound images through the target adaptive fusion module and attention fusion module to achieve automated segmentation and measurement, reduce the reliance on subjective manual measurement, and improve the efficiency and accuracy of measurement.

Benefits of technology

It realizes automated fetal biometric measurement in early pregnancy, improves the efficiency, convenience and stability of measurement, enhances segmentation precision and accuracy, and helps medical staff accurately segment and accurately measure biological characteristics in early pregnancy TVS images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608516A
    Figure CN118608516A
Patent Text Reader

Abstract

The invention discloses an early pregnancy fetal biological characteristic measurement method, device and equipment and a medium, and relates to the technical field of medical image processing, and the method comprises the steps: inputting a collected fetal ultrasonic image of an early pregnancy target object into a target AAW-Net model; the target AAW-Net model uses a target adaptive fusion module to fuse each feature map of the convoluted fetal ultrasound image to obtain a first fused image, uses a target attention fusion module to fuse the first fused image and the convoluted fetal ultrasound image to obtain a second fused image, and uses the second fused image to obtain a second fused image; and according to the filtered second fusion image, segmenting the fetal ultrasound image into each biological feature region to measure parameter information of each biological feature region. And the target AAW-Net model processes the image by using the target adaptive fusion module and the target attention fusion module, carries out filtering processing on the image, and accurately measures biological characteristics in the early pregnancy TVS image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a method, device, equipment and medium for measuring biological characteristics of a fetus in the early stages of pregnancy. Background Art

[0002] About 15% of natural pregnancies end in early miscarriage, which puts pregnant women at serious risk. Prenatal screening has important clinical significance for reducing the incidence of miscarriage and conducting early treatment for inevitable miscarriage. Transvaginal ultrasonography (TVS) is widely used in prenatal examination of the fetus. Many studies have shown that the parameter information of biological characteristics such as Yolk Sac Diameter (YSD), Gestational Sac Diameter (GSD), and Crown-Rump Length (CRL) measured by TVS has potential value in predicting adverse pregnancy outcomes and early miscarriage.

[0003] Early research on computer vision recognition of prenatal ultrasound mainly relied on traditional segmentation methods of artificial features. That is, in clinical practice, fetal biometric measurements in early pregnancy are usually performed manually by obstetricians. This manual measurement process is time-consuming, inefficient, and heavily dependent on the expertise of ultrasound technicians. In addition, it is affected by individual differences, making the measurement subjective and difficult to reproduce. Traditional segmentation algorithms do not fully utilize global and local information, which may lead to poor performance when dealing with image segmentation tasks involving complex spatial information. In the prior art, multi-scale feature extraction is used to use dense prediction graphs to distinguish anatomical structures, which are applied to automatically evaluate the quality of standard fetal ultrasound images and perform automatic fetal abdominal circumference measurement. U-net can also be used to implement extended convolutional layers to accurately segment the boundaries of the fetal skull in ultrasound images, and the measurement of the fetal head circumference is obtained by fitting an ellipse to the skull boundary. However, the above research mainly focuses on ultrasound examinations in the middle and late stages of pregnancy and cannot be directly applied to ultrasound examinations in early pregnancy.

[0004] In summary, how to improve the accuracy, convenience and efficiency of measuring fetal biometrics in early pregnancy is a problem to be solved in this field. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for measuring the biological characteristics of a fetus in early pregnancy, so as to improve the accuracy, convenience and efficiency of measuring the biological characteristics of a fetus in early pregnancy. The specific scheme is as follows:

[0006] In a first aspect, the present application discloses a method for measuring biological characteristics of a fetus in early pregnancy, comprising:

[0007] Acquiring fetal ultrasound images of the target subject in early pregnancy;

[0008] Inputting the fetal ultrasound image into a target AAW-Net model;

[0009] The target AAW-Net model uses a target adaptive fusion module to fuse the various feature maps of the convolved fetal ultrasound image to obtain a first fused image, and uses a target attention fusion module to fuse the first fused image and the convolved fetal ultrasound image to obtain a second fused image. The fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image to measure parameter information of each of the biometric regions.

[0010] Optionally, the backbone network of the target AAW-Net model includes several target encoders and target adaptive fusion modules;

[0011] Correspondingly, the target AAW-Net model uses a target adaptive fusion module to fuse the feature maps of the convolved fetal ultrasound image to obtain a first fused image, including:

[0012] The target AAW-Net model is used to perform convolution processing on the fetal ultrasound image using each of the target encoders to obtain each convolved image, and the target adaptive fusion module is used to fuse each feature map of the convolved image to obtain a first fused image.

[0013] Optionally, the using the target adaptive fusion module to fuse the feature maps of the convolved image to obtain a first fused image includes:

[0014] The target adaptive fusion module is used to generate each feature map of the convolved image, and the Concat function is used to splice each feature map according to the channel dimension to obtain a spliced ​​image, and an initial weight map of the spliced ​​image is generated, and a target weight mask is determined according to an initial weight mask of the initial weight map, and the target weight mask and each feature map are multiplied point by point to obtain a first fused image.

[0015] Optionally, the target encoder includes a convolution module and a residual connection module, and the convolution module includes a convolution layer, a data normalization layer and a first target activation function.

[0016] Optionally, the backbone network of the target AAW-Net model includes several target decoders, wherein the target decoder includes a target upsampling module, a target attention fusion module, and a target weighted least squares filtering module;

[0017] Correspondingly, the target attention fusion module is used to fuse the first fused image and the convolved fetal ultrasound image to obtain a second fused image, and the fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image, including:

[0018] Determine the initial target decoder and the first fused image as the current target decoder and the current image to be processed respectively;

[0019] Inputting the current image to be processed into the target upsampling module of the current target decoder to obtain an upsampled image, and using the target attention fusion module of the current target decoder to fuse the upsampled image with the corresponding convolution image to obtain a second fused image, and using the target weighted least squares filtering module to filter the second fused image to obtain a current processed image;

[0020] If the current target decoder is not the last decoder, the next target decoder and the current processed image are updated to the current target decoder and the current image to be processed respectively, and the process jumps again to the step of inputting the current image to be processed into the target upsampling module of the current target decoder;

[0021] If the current target decoder is the last decoder, the fetal ultrasound image is segmented into various biometric regions according to the current processed image.

[0022] Optionally, the using the target attention fusion module of the current target decoder to fuse the upsampled image with the corresponding convolution image to obtain a second fused image, and using the target weighted least squares filtering module to filter the second fused image to obtain the current processed image, includes:

[0023] Using the target attention fusion module of the current target decoder to add the upsampled image and the corresponding convolved image to obtain an added image, and using a second target activation function and a target convolution kernel to determine an attention coefficient of the added image, and determining the product of the attention coefficient and the corresponding convolved image as a second fused image;

[0024] The target loss function of the target weighted least squares filtering module is used to obtain a current processed image after filtering the second fused image.

[0025] Optionally, before inputting the fetal ultrasound image into the target AAW-Net model, the method further includes:

[0026] Build the initial AAW-Net model;

[0027] Cropping the collected fetal ultrasound image of the historical subject in the early pregnancy to obtain a cropped image, and adjusting the size of the cropped image using a linear interpolation algorithm to obtain an adjusted image;

[0028] Performing geometric transformation and / or elastic transformation on the adjusted image to obtain target training data;

[0029] The initial AAW-Net model is iteratively trained using the target training data to obtain a target AAW-Net model.

[0030] In a second aspect, the present application discloses a device for measuring biological characteristics of a fetus in early pregnancy, comprising:

[0031] An ultrasound image acquisition module, used to acquire ultrasound images of a fetus of a target object in early pregnancy;

[0032] An ultrasound image input module, used to input the fetal ultrasound image into a target AAW-Net model;

[0033] The biometric measurement module is used to fuse the various feature maps of the convolved fetal ultrasound image using the target adaptive fusion module through the target AAW-Net model to obtain a first fused image, fuse the first fused image with the convolved fetal ultrasound image using the target attention fusion module to obtain a second fused image, and segment the fetal ultrasound image into various biometric regions according to the filtered second fused image to measure parameter information of each of the biometric regions.

[0034] In a third aspect, the present application discloses an electronic device, comprising:

[0035] Memory, used to store computer programs;

[0036] A processor is used to execute the computer program to implement the steps of the aforementioned method for measuring biological characteristics of a fetus in the early stage of pregnancy.

[0037] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned method for measuring biometric characteristics of a fetus in early pregnancy are implemented.

[0038] The beneficial effects of the present application are as follows: the present application collects fetal ultrasound images of the target object in early pregnancy; the fetal ultrasound images are input into the target AAW-Net model; the target AAW-Net model uses the target adaptive fusion module to fuse the various feature maps of the convolved fetal ultrasound images to obtain a first fused image, and the first fused image and the convolved fetal ultrasound image are fused using the target attention fusion module to obtain a second fused image, and the fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image to measure the parameter information of each of the biometric regions. It can be seen that the present application uses the target AAW-Net model to realize automated early pregnancy fetal biometric measurement, reduce dependence on subjective manual measurement, and improve measurement efficiency, convenience, and stability; further, the target AAW-Net model uses the target adaptive fusion module and the target attention fusion module to process the image, and also filters the image, so that multi-scale image information can be captured, edge information can be retained, boundary ambiguity can be eliminated, and more attention can be paid to relevant image features for segmentation, which can improve segmentation accuracy and help medical staff accurately segment and accurately measure biological features in early pregnancy TVS images. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0040] Figure 1 A flow chart of a method for measuring biological characteristics of a fetus in early pregnancy disclosed in this application;

[0041] Figure 2 A schematic diagram of a specific AAW-Net model backbone network disclosed in this application;

[0042] Figure 3 A schematic diagram of a specific adaptive fusion module disclosed in this application;

[0043] Figure 4 A schematic diagram of a specific attention fusion module disclosed in this application;

[0044] Figure 5 This is a schematic diagram of the structure of a device for measuring biological characteristics of a fetus in early pregnancy disclosed in this application;

[0045] Figure 6 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

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

[0047] Early research on computer vision recognition of prenatal ultrasound mainly relied on traditional segmentation methods of artificial features. That is, in clinical practice, fetal biometric measurements in early pregnancy are usually performed manually by obstetricians. This manual measurement process is time-consuming, inefficient, and heavily dependent on the expertise of ultrasound technicians. In addition, it is affected by individual differences, making the measurement subjective and difficult to reproduce. Traditional segmentation algorithms do not fully utilize global and local information, which may lead to poor performance when dealing with image segmentation tasks involving complex spatial information. In the prior art, multi-scale feature extraction is used to use dense prediction graphs to distinguish anatomical structures, which are applied to automatically evaluate the quality of standard fetal ultrasound images and perform automatic fetal abdominal circumference measurement. U-net can also be used to implement extended convolutional layers to accurately segment the boundaries of the fetal skull in ultrasound images, and the measurement of the fetal head circumference is obtained by fitting an ellipse to the skull boundary. However, the above research mainly focuses on ultrasound examinations in the middle and late stages of pregnancy and cannot be directly applied to ultrasound examinations in early pregnancy.

[0048] To this end, the present application provides a solution for measuring the biometric characteristics of a fetus in early pregnancy, thereby improving the accuracy, convenience and efficiency of measuring the biometric characteristics of a fetus in early pregnancy.

[0049] See also Figure 1 As shown, the embodiment of the present application discloses a method for measuring biological characteristics of a fetus in early pregnancy, comprising:

[0050] Step S11: Acquire an ultrasound image of the fetus of the target object in the early stage of pregnancy.

[0051] A vaginal ultrasound examination is performed on a target object in early pregnancy to obtain a fetal ultrasound image, wherein the target object in early pregnancy may be a target object with a gestational age of 6 to 10 weeks, and the amount of embryonic biological characteristics in early pregnancy is smaller than that in mid- and late pregnancy.

[0052] Step S12: Input the fetal ultrasound image into the target AAW-Net model.

[0053] In this embodiment, before inputting the fetal ultrasound image into the target AAW-Net model, it also includes: constructing an initial AAW-Net model; cropping the collected fetal ultrasound image of the historical object in early pregnancy to obtain a cropped image, and adjusting the size of the cropped image using a linear interpolation algorithm to obtain an adjusted image; performing geometric transformation and / or elastic transformation on the adjusted image to obtain target training data; and iteratively training the initial AAW-Net model using the target training data to obtain a target AAW-Net model. The specific steps for obtaining the target AAW-Net (AdaptiveAttention module based on Weighed least square Net) model are as follows:

[0054] 1) Build the initial AAW-Net model: For example Figure 2 A specific AAW-Net model backbone network schematic diagram is shown, the backbone network of the initial AAW-Net model includes several initial encoders, initial adaptive fusion modules, and several initial decoders, wherein the initial encoder includes a convolution module and a residual connection module, the convolution module includes a convolution layer, a data normalization layer and a first target activation function, the initial decoder includes an initial upsampling module, an initial attention fusion module, and an initial weighted least squares filtering module; for example, the backbone network includes 4 initial encoders and 3 initial decoders, the first encoder is connected to the third decoder through the first jump connection, the output of the first encoder is used as the input of the second encoder and the input of the third decoder respectively, the second encoder is connected to the second decoder through the second jump connection, the output of the second encoder is used as the input of the third encoder and the input of the second decoder respectively, the third encoder is connected to the first decoder through the third jump connection, the output of the third encoder is used as the input of the fourth encoder and the input of the first decoder respectively, and the output of the fourth encoder is used as the input of the adaptive fusion module.

[0055] 2) Collecting initial training data: The dataset covers gestational ages of 6 to 10 weeks. TVS images of fetuses in early pregnancy are obtained directly from ultrasound scans, including patient information and detailed information of ultrasound equipment. The researchers annotated the images with the guidance and help of experienced experts, and marked the GS, YS, and embryonic areas in the images according to different tissues, so that each labeled image has a strict "gold standard". Specifically, GS can be highlighted in red, YS in green, and embryo in yellow. The training dataset contains 914 TVS images. In order to facilitate subsequent accuracy comparison at the application level, 271 test images are standard slice TVS images provided by experienced experts;

[0056] 3) Processing the initial training data to obtain target training data: cropping the collected fetal ultrasound images of the historical subjects in the early pregnancy to obtain a cropped image, for example, focusing on the effective area of ​​the image, cropping the image to 384×384 pixels with the GS area as the center; using a linear interpolation algorithm to adjust the size of the cropped image to obtain an adjusted image, such as using bilinear interpolation to adjust the image size to 512×512 to match the image with the segmentation network; performing geometric transformation and / or elastic transformation on the adjusted image to obtain target training data, wherein the geometric transformation specifically includes image scaling, Image rotation, image flipping, elastic transformation specifically includes image distortion, that is, the adjusted image is subjected to any one or more of image scaling, image rotation, image flipping, and image distortion, and when the same processing is performed on different adjusted images, the processing degree is also different. Specifically, the adjusted image is scaled to 0.25 and 2, the adjusted image is distorted between 0.5 and 1.5, the adjusted image is rotated between 0° and 30° with a probability of 50%, and the adjusted image is flipped horizontally and vertically with a probability of 50%. In this way, the training data can be enhanced and the robustness and reliability of the network can be increased;

[0057] 4) Iteratively train the initial AAW-Net model using the target training data to obtain the target AAW-Net model: Iteratively train the initial AAW-Net model using the target training data. After each round of training, compare the training result of the model after each round of training with the grayscale mask image corresponding to the target training data to calculate the loss value of the model after each round of training, and use the loss value to update the parameters of the AAW-Net model until the target AAW-Net model is obtained; wherein, whether to stop the iterative training can be determined according to the number of iterative training or the degree of convergence of the model.

[0058] In this embodiment, the prediction performance of the target AAW-Net model can also be evaluated, specifically using Intersection Over Union (IOU), Dice coefficient (Dice), accuracy and Hausdorff distance (HD) as evaluation criteria.

[0059] Step S13: Using the target AAW-Net model, the target adaptive fusion module is used to fuse the feature maps of the convolved fetal ultrasound image to obtain a first fused image, and the target attention fusion module is used to fuse the first fused image and the convolved fetal ultrasound image to obtain a second fused image, and the fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image to measure parameter information of each of the biometric regions.

[0060] In this embodiment, the backbone network of the target AAW-Net model includes a plurality of target encoders and a target adaptive fusion module; accordingly, the target AAW-Net model uses the target adaptive fusion module to fuse the various feature maps of the convolved fetal ultrasound image to obtain a first fused image, including: using the target AAW-Net model to convolve the fetal ultrasound image using each of the target encoders to obtain each convolved image, and using the target adaptive fusion module to fuse the various feature maps of the convolved image to obtain a first fused image. For example, there are 4 target encoders, among which: the output of the 1st encoder is used as the input of the 2nd encoder, the output of the 2nd encoder is used as the input of the 3rd encoder, the output of the 3rd encoder is used as the input of the 4th encoder, and the output of the 4th encoder is the input of the adaptive fusion module. Each target encoder performs convolution processing in sequence to obtain the 1st layer convolution image, the 2nd layer convolution image, the 3rd layer convolution image, and the 4th layer convolution image, respectively. The 4th layer convolution image is input into the target adaptive fusion module, and the target adaptive fusion module fuses the feature maps of the 4th layer convolution image to obtain the first fused image.

[0061] Specifically, the method of using the target adaptive fusion module to fuse the feature maps of the convolved image to obtain the first fused image includes: using the target adaptive fusion module to generate the feature maps of the convolved image, and using the Concat function to splice the feature maps according to the channel dimension to obtain the spliced ​​image, and generating an initial weight map of the spliced ​​image, determining the target weight mask according to the initial weight mask of the initial weight map, and multiplying the target weight mask and the feature maps point by point to obtain the first fused image. For example Figure 3 , the target adaptive fusion module receives the convolution image output by the last encoder and generates feature maps of the convolution image, namely, feature map A, feature map B, feature map C, feature map D, and feature map E, wherein feature map A is generated by a 1×1 convolution layer, feature map B, feature map C, and feature map D are generated by 3×3 convolution layers with three different void rates {6, 12, 18}, and feature map E is generated by an image pooling layer; A, B, C, D, E∈R C×H×W , C, H, and W represent the number of channels, height, and width of the feature map, respectively. The specific process of obtaining the first fused image is as follows:

[0062] 1) Use the Concat function to concatenate each feature map according to the channel dimension to obtain the concatenated image;

[0063] 2) The spliced ​​image is processed through a 1×1 convolution layer to generate an initial weight map containing 5 channels. The 5 channels correspond to an initial weight mask of the initial weight map. The adaptive fusion module assigns corresponding weights to each pixel in the feature map, and the sum of the weights of the pixels at the same position is 1, so as to selectively highlight a certain scale during fusion, thereby enriching the extracted context information;

[0064] 3) Determine the target weight mask according to the initial weight mask of the initial weight map. To obtain the normalized weight distribution, the initial weight mask is processed by the Softmax function to obtain the final weight mask (i.e., the target weight mask). The final weight mask output is:

[0065] ;

[0066] In the formula, is the target weight mask of different feature maps, F() is a 1×1 convolution operation; corresponding weights are assigned to each pixel in the feature map, and the sum of the weights of pixels at the same position is 1, that is, , where i, j are the positions of pixels in the feature map;

[0067] 4) Multiply the target weight mask and each feature map point by point to obtain the first fused image. That is to say, finally multiply feature map A, feature map B, feature map C, feature map D, and feature map E with the corresponding target weight mask point by point to determine the weight corresponding to each pixel for adaptive fusion:

[0068] .

[0069] In this embodiment, the target encoder includes a convolution module and a residual connection module, and the convolution module includes a convolution layer, a data normalization layer and a first target activation function. Each encoder is composed of 2 convolution modules and a residual connection module of size 1×1, wherein each convolution module is composed of a convolution layer of size 3×3, a data normalization layer and a first target activation function, and the first target activation function is, for example, a Relu activation function (Rectified Linear Unit, i.e., a rectified linear unit). The input of the residual connection module of each encoder is the input of the encoder convolution module, and its output is added to the output of the second convolution layer of size 3×3 in the encoder convolution module, and after passing through the data normalization layer and the ReLu activation function layer, it is used as the input of the pooling layer, and a maximum pooling layer of size 2×2 is added to the front end of the second, third, and fourth encoding layers.

[0070] In this embodiment, the backbone network of the target AAW-Net model includes several target decoders, wherein the target decoder includes a target upsampling module, a target attention fusion module, and a target weighted least squares filtering module; accordingly, the target attention fusion module is used to fuse the first fused image and the convolved fetal ultrasound image to obtain a second fused image, and the fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image, including: determining the initial target decoder and the first fused image as the current target decoder and the current image to be processed respectively; inputting the current image to be processed into the target upsampling module of the current target decoder to obtain an upsampled image, and using The target attention fusion module of the current target decoder is used to fuse the upsampled image and the corresponding convolution image to obtain a second fused image, and the target weighted least squares filtering module is used to filter the second fused image to obtain the current processed image; if the current target decoder is not the last decoder, the next target decoder and the current processed image are updated to the current target decoder and the current image to be processed respectively, and the step of inputting the current image to be processed into the target upsampling module of the current target decoder is jumped again; if the current target decoder is the last decoder, the fetal ultrasound image is segmented into various biometric regions according to the current processed image. For example, taking the backbone network containing 4 target encoders and 3 target decoders as an example, the processing process of the decoder is explained:

[0071] 1) First, the up-sampling module up-sample1 of the first decoder receives the first fused image output by the adaptive structure feature fusion module, and the up-sampling module up-sample1 performs up-sampling processing on the first fused image to obtain the up-sampled image Upsampled image1. Next, the attention fusion module Attention fusion1 of the first decoder fuses the up-sampled image Upsampled image1 with the third convolution image output by the third encoder to obtain the second fused image Fused image1; secondly, the target weighted least square filtering module (Weighted least square) filtering1 of the first decoder is used to filter the second fused image Fused image1 to obtain the current processed image Processed image1;

[0072] 2) First, the up-sampling module up-sample2 of the second decoder receives the current processed image Processed image1 output by the first decoder, and the up-sampling module up-sample2 performs up-sampling processing on the current processed image Processed image1 to obtain the up-sampled image Upsampled image2. Next, the attention fusion module Attention fusion2 of the second decoder fuses the up-sampled image Upsampled image2 with the second convolution image output by the second encoder to obtain the second fused image Fused image2; secondly, the target weighted least squares filtering module filtering2 of the second decoder is used to filter the second fused image Fused image2 to obtain the current processed image Processed image2;

[0073] 3) First, the up-sampling module up-sample3 of the third decoder receives the current processed image Processed image2 output by the second decoder, and the up-sampling module up-sample3 performs up-sampling processing on the current processed image Processed image2 to obtain the up-sampled image Upsampled image3. Next, the attention fusion module Attention fusion3 of the third decoder fuses the up-sampled image Upsampled image3 with the first layer of convolution output by the first encoder to obtain the second fused image Fused image3; secondly, the target weighted least squares filtering module filtering3 of the third decoder is used to filter the second fused image Fused image2 to obtain the current processed image Processed image3;

[0074] It can be understood that, because the third decoder is the last decoder, the fetal ultrasound image is segmented into various biometric regions according to the current processed image Processed image3, and the biometric regions are the gestational sac, yolk sac and embryo region, etc.

[0075] Specifically, the target attention fusion module of the current target decoder is used to fuse the upsampled image and the corresponding convolution image to obtain a second fused image, and the target weighted least squares filtering module is used to filter the second fused image to obtain the current processed image, including: using the target attention fusion module of the current target decoder to add the upsampled image and the corresponding convolution image to obtain the added image, and using the second target activation function and the target convolution kernel to determine the attention coefficient of the added image, and determining the product of the attention coefficient and the corresponding convolution image as the second fused image; using the target loss function of the target weighted least squares filtering module to obtain the current processed image after filtering the second fused image. For example Figure 4 A specific attention fusion module diagram is shown, which uses the target attention fusion module of the current target decoder to combine the upsampled image g and the corresponding convolution image Add to obtain the added image, and use the second target activation function and the target convolution kernel to determine the attention coefficient of the added image, wherein the second target activation function is, for example, a Relu activation function, a Sigmoid activation function, and the target convolution kernel is The size is 1×1×1. After addition, the image passes through the Relu activation function and the target convolution kernel in turn. , Sigmoid activation function processing to determine the attention coefficient of the added image , the attention coefficient And the corresponding convolution image The product of is determined as the second fused image In order to make the filtering result as close to the original image as possible, and at the same time as smooth as possible in the area with small gradient, and keep the edge part with strong gradient as much as possible, the weighted least squares filtering module is selected, and the target loss function of the target weighted least squares filtering module is used to obtain the current processed image after filtering the second fused image, wherein the matrix form of the target loss function of the target weighted least squares filtering module is as follows:

[0076] ;

[0077] Wherein, u and g are vector representations of the second fused image. Assume that the size of the second fused image is m×n, let k=m×n, Ax and Ay are k×k diagonal weight matrices, and Dx and Dy are matrix representations of discrete difference operators.

[0078] The target AAW-Net model of this example can capture multi-scale image information by adding an adaptive fusion module, an attention fusion module, and a least squares filtering module, so that the model can pay more attention to relevant features for segmentation, improve segmentation accuracy and precision, and help doctors accurately segment and precisely measure biological features in early pregnancy TVS images; AAW-Net is highly consistent with manual measurement, but compared with the method of manually drawing diameter lines, AAW-Net shows greater stability and objectivity. The automatic segmentation and measurement process significantly reduces the time and effort required by ultrasound examiners, achieves repeatability and standardization of clinical practice, and provides a valuable tool for prenatal care and monitoring.

[0079] The beneficial effects of the present application are as follows: the present application collects fetal ultrasound images of the target object in early pregnancy; the fetal ultrasound images are input into the target AAW-Net model; the target AAW-Net model uses the target adaptive fusion module to fuse the various feature maps of the convolved fetal ultrasound images to obtain a first fused image, and the first fused image and the convolved fetal ultrasound image are fused using the target attention fusion module to obtain a second fused image, and the fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image to measure the parameter information of each of the biometric regions. It can be seen that the present application uses the target AAW-Net model to realize automated early pregnancy fetal biometric measurement, reduce dependence on subjective manual measurement, and improve measurement efficiency, convenience, and stability; further, the target AAW-Net model uses the target adaptive fusion module and the target attention fusion module to process the image, and also filters the image, so that multi-scale image information can be captured, edge information can be retained, boundary ambiguity can be eliminated, and more attention can be paid to relevant image features for segmentation, which can improve segmentation accuracy and help medical staff accurately segment and accurately measure biological features in early pregnancy TVS images.

[0080] See also Figure 5 As shown, the embodiment of the present application discloses a device for measuring biological characteristics of a fetus in early pregnancy, comprising:

[0081] Ultrasonic image acquisition module 11, used to acquire ultrasonic images of the fetus of the target object in the early stage of pregnancy;

[0082] An ultrasound image input module 12, used to input the fetal ultrasound image into a target AAW-Net model;

[0083] The biometric measurement module 13 is used to fuse the various feature maps of the convolved fetal ultrasound image using the target adaptive fusion module through the target AAW-Net model to obtain a first fused image, fuse the first fused image with the convolved fetal ultrasound image using the target attention fusion module to obtain a second fused image, and segment the fetal ultrasound image into various biometric regions according to the filtered second fused image to measure parameter information of each of the biometric regions.

[0084] The beneficial effects of the present application are as follows: the present application collects fetal ultrasound images of the target object in early pregnancy; the fetal ultrasound images are input into the target AAW-Net model; the target AAW-Net model uses the target adaptive fusion module to fuse the various feature maps of the convolved fetal ultrasound images to obtain a first fused image, and the first fused image and the convolved fetal ultrasound image are fused using the target attention fusion module to obtain a second fused image, and the fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image to measure the parameter information of each of the biometric regions. It can be seen that the present application uses the target AAW-Net model to realize automated early pregnancy fetal biometric measurement, reduce dependence on subjective manual measurement, and improve measurement efficiency, convenience, and stability; further, the target AAW-Net model uses the target adaptive fusion module and the target attention fusion module to process the image, and also filters the image, so that multi-scale image information can be captured, edge information can be retained, boundary ambiguity can be eliminated, and more attention can be paid to relevant image features for segmentation, which can improve segmentation accuracy and help medical staff accurately segment and accurately measure biological features in early pregnancy TVS images.

[0085] Furthermore, an embodiment of the present application also provides an electronic device. Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0086] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Specifically, it may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the method for measuring the biological characteristics of a fetus in the early pregnancy performed by an electronic device disclosed in any of the aforementioned embodiments.

[0087] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device; the communication interface 24 can create a data transmission channel between the electronic device and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0088] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0089] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.

[0090] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the method for measuring the biological characteristics of the fetus in the early pregnancy performed by the electronic device disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data received by the electronic device and transmitted from an external device, the data 223 can also include data collected by its own input and output interface 25, etc.

[0091] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned method for measuring biological characteristics of a fetus in early pregnancy is implemented. The specific steps of the method can be referred to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

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

[0093] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable EPROM (Erasable Programmable Read Only Memory), electrically erasable programmable EEPROM (Electrically Erasable Programmable read only memory), register, hard disk, removable disk, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.

[0094] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0095] The above is a detailed introduction to the method, device, equipment and medium for measuring the biological characteristics of a fetus in the early pregnancy provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for measuring fetal biometrics in early pregnancy, It is characterized in that include: Acquiring fetal ultrasound images of the target subject in early pregnancy; Inputting the fetal ultrasound image into a target AAW-Net model; The target AAW-Net model uses a target adaptive fusion module to fuse the various feature maps of the convolved fetal ultrasound image to obtain a first fused image, and uses a target attention fusion module to fuse the first fused image and the convolved fetal ultrasound image to obtain a second fused image. The fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image to measure parameter information of each of the biometric regions.

2. The method for measuring biological characteristics of a fetus in early pregnancy according to claim 1, It is characterized in that The backbone network of the target AAW-Net model includes several target encoders and target adaptive fusion modules; Correspondingly, the target AAW-Net model uses a target adaptive fusion module to fuse the feature maps of the convolved fetal ultrasound image to obtain a first fused image, including: The target AAW-Net model is used to perform convolution processing on the fetal ultrasound image using each of the target encoders to obtain each convolved image, and the target adaptive fusion module is used to fuse each feature map of the convolved image to obtain a first fused image.

3. The method for measuring biological characteristics of a fetus in early pregnancy according to claim 2, It is characterized in that The step of fusing the feature maps of the convolved image using the target adaptive fusion module to obtain a first fused image includes: The target adaptive fusion module is used to generate each feature map of the convolved image, and the Concat function is used to splice each feature map according to the channel dimension to obtain a spliced ​​image, and an initial weight map of the spliced ​​image is generated, and a target weight mask is determined according to an initial weight mask of the initial weight map, and the target weight mask and each feature map are multiplied point by point to obtain a first fused image.

4. The method for measuring biological characteristics of a fetus in early pregnancy according to claim 2, It is characterized in that The target encoder includes a convolution module and a residual connection module, and the convolution module includes a convolution layer, a data normalization layer and a first target activation function.

5. The method for measuring biological characteristics of a fetus in early pregnancy according to claim 2, It is characterized in that The backbone network of the target AAW-Net model includes several target decoders, wherein the target decoder includes a target upsampling module, a target attention fusion module, and a target weighted least squares filtering module; Correspondingly, the target attention fusion module is used to fuse the first fused image and the convolved fetal ultrasound image to obtain a second fused image, and the fetal ultrasound image is segmented into various biometric regions according to the filtered second fused image, including: Determine the initial target decoder and the first fused image as the current target decoder and the current image to be processed respectively; Inputting the current image to be processed into the target upsampling module of the current target decoder to obtain an upsampled image, and using the target attention fusion module of the current target decoder to fuse the upsampled image with the corresponding convolution image to obtain a second fused image, and using the target weighted least squares filtering module to filter the second fused image to obtain a current processed image; If the current target decoder is not the last decoder, the next target decoder and the current processed image are updated to the current target decoder and the current image to be processed respectively, and the process jumps again to the step of inputting the current image to be processed into the target upsampling module of the current target decoder; If the current target decoder is the last decoder, the fetal ultrasound image is segmented into various biometric regions according to the current processed image.

6. The method for measuring biological characteristics of a fetus in early pregnancy according to claim 5, It is characterized in that The target attention fusion module of the current target decoder is used to fuse the upsampled image with the corresponding convolution image to obtain a second fused image, and the target weighted least squares filtering module is used to filter the second fused image to obtain a current processed image, including: Using the target attention fusion module of the current target decoder to add the upsampled image and the corresponding convolved image to obtain an added image, and using a second target activation function and a target convolution kernel to determine an attention coefficient of the added image, and determining the product of the attention coefficient and the corresponding convolved image as a second fused image; The target loss function of the target weighted least squares filtering module is used to obtain a current processed image after filtering the second fused image.

7. The method for measuring biological characteristics of a fetus in early pregnancy according to any one of claims 1 to 6, It is characterized in that Before inputting the fetal ultrasound image into the target AAW-Net model, the method further includes: Build the initial AAW-Net model; Cropping the collected fetal ultrasound image of the historical subject in the early pregnancy to obtain a cropped image, and adjusting the size of the cropped image using a linear interpolation algorithm to obtain an adjusted image; Performing geometric transformation and / or elastic transformation on the adjusted image to obtain target training data; The initial AAW-Net model is iteratively trained using the target training data to obtain a target AAW-Net model.

8. A device for measuring biological characteristics of early-pregnancy fetuses, It is characterized in that include: An ultrasound image acquisition module, used to acquire ultrasound images of a fetus of a target object in early pregnancy; An ultrasound image input module, used to input the fetal ultrasound image into a target AAW-Net model; The biometric measurement module is used to fuse the various feature maps of the convolved fetal ultrasound image using the target adaptive fusion module through the target AAW-Net model to obtain a first fused image, fuse the first fused image with the convolved fetal ultrasound image using the target attention fusion module to obtain a second fused image, and segment the fetal ultrasound image into various biometric regions according to the filtered second fused image to measure parameter information of each of the biometric regions.

9. An electronic device, It is characterized in that include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the method for measuring biometric characteristics of a fetus in the early pregnancy as described in any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the method for measuring biometric characteristics of a fetus in the early pregnancy as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Color image denoising method based on bit layering and attention fusion mechanism

    CN111080541A

  • Automatic quality control method for standard section of early pregnancy fetus based on multiple tasks

    CN113393456A

  • Method, system and device for automatically measuring gestational sac and germ and medium

    CN116392166A

  • Composition for detecting Corynebacterium amycolatum SB-1 strain and uses thereof

    KR1020260005434A

  • Early-pregnancy fetus ultrasound imaging method and ultrasound imaging system

    WO2022099705A1