Automatic measurement method of uterine orifice dilatation distance based on perinatal ultrasound image
By using the deep learning model UODNet and the ALD method to automatically measure the cervical dilation distance in intrapartum ultrasound images, the problem of subjective bias in labor assessment is solved, achieving efficient and accurate measurement of cervical dilation distance, reducing the burden on doctors and improving the stability of the measurement.
Patent Information
- Application Number
- CN202310558242.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-18
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-05-18
AI Technical Summary
Existing methods for assessing labor progress rely on the subjective judgment of medical staff, which can lead to biases in the assessment process. Furthermore, traditional vaginal examinations are uncomfortable for pregnant women and pose a risk of infection. Intrapartum ultrasound measurements of cervical dilation cannot completely eliminate subjectivity.
The deep learning model UODNet, combined with the ALD method, is used to automatically measure the cervical dilation distance in intrapartum ultrasound images. The image is segmented using UODNet and the cervical dilation distance is calculated using the ALD method, which reduces subjectivity and improves the stability and robustness of the measurement.
It has enabled automated measurement of cervical dilation distance, reducing the workload of doctors, improving the accuracy and consistency of measurement, reducing subjective bias, and enhancing the robustness of measurement.
Smart Images

Figure CN118986407B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of integrated medicine and computer vision, specifically to an automatic method for measuring cervical dilation distance based on intrapartum ultrasound images. Background Technology
[0002] In obstetric clinical delivery, the main delivery methods are vaginal delivery and cesarean section. Vaginal delivery, as a normal natural physiological process, has significant advantages over cesarean section and is recognized by the World Health Organization as the delivery method encouraged and promoted for women seeking normal delivery. Accurate and timely assessment of labor progress is crucial for promoting natural childbirth and reducing the need for cesarean section intervention. In obstetric clinical practice, labor progress is primarily assessed using the traditional method of digital rectal examination. However, digital rectal examination is susceptible to bias due to the subjective factors and experience of medical staff. Furthermore, it can cause significant discomfort to pregnant women and may increase the risk of intrauterine infection.
[0003] Compared to the many drawbacks of traditional vaginal examination, intrapartum ultrasound is a non-invasive procedure that causes little discomfort to the pregnant woman and is easily accepted. Numerous studies have demonstrated that it can help healthcare professionals assess labor progress and predict delivery methods. By measuring changes in ultrasound parameters and their values, such as the angle of descent (AOD), head-symphysis distance (HSD), head-perineum distance (HPD), and cervical opening distance (UOD), it can reflect the progress of labor.
[0004] However, using ultrasound images to assess and measure cervical dilation still cannot eliminate the subjective problem in judging the progress of labor. Different doctors may have different judgments on the same ultrasound image based on their personal experience.
[0005] On the other hand, with the rapid development of deep learning, it has become possible to construct deep and complex models for specific tasks using computer equipment. For graphics tasks, the perceptual accuracy of these models is at the pixel level, far surpassing that of the human eye. By feeding previous ultrasound image data into the model for training and testing to obtain a model that meets the requirements, and then inputting it into a deep learning model to locate, classify, and segment key anatomical structures when faced with a large number of ultrasound images, the workload of doctors can be significantly reduced, mitigating the subjective drawbacks of manual measurements. This invention discloses an automatic measurement method for cervical dilation distance based on intrapartum ultrasound images.
[0006] Invention Content Information
[0007] This invention provides an automated method for measuring cervical dilation distance based on intrapartum ultrasound images. It replaces the manual measurement of cervical dilation distance by doctors after intrapartum ultrasound examinations with automated measurement using deep learning and the ALD (Angle-Line Dichotomy) method on a computer. The ultrasound image is input into a trained UODNet to obtain segmentation information. The cervical dilation distance is then measured based on this segmentation information, and the measurement result is output, achieving automated measurement and reducing the workload of doctors. Furthermore, considering that clinicians often measure cervical dilation distance from only a single intrapartum ultrasound image due to time and complexity limitations, this invention also includes automatically measuring the average cervical dilation distance from multiple ultrasound images of a single patient. This provides a more stable cervical dilation distance and enhances the robustness of the measurement. Clinically, due to differences in the professional level and experience of the operating physicians, the measurement results for the same pregnant woman may vary, resulting in significant subjectivity. This invention largely avoids these drawbacks, and the cervical dilation distance measured by this invention has strong robustness. In addition, in the past, the cervical dilation distance had to be measured manually by doctors, but the automated measurement of this invention can greatly reduce the burden on doctors.
[0008] To achieve the above objectives, the present invention provides the following technical solution: an automatic measurement method for cervical dilation distance based on intrapartum ultrasound images, the method comprising the following steps:
[0009] S1. Acquire transperineal ultrasound images and label the cervix;
[0010] S2. Further screen the ultrasound images and select those with clear anatomical structures;
[0011] S3. The image obtained in S2 is processed and calculated using UODNet to obtain the cervical dilation position and segmentation information of the image;
[0012] S4. Based on the segmentation information in S3, use the ALD method to measure the cervical dilation distance.
[0013] Furthermore, in step S1, the intrapartum ultrasound images obtained from the hospital are organized, and the cervical region of the ultrasound images is labeled.
[0014] Furthermore, intrapartum ultrasound images were screened based on the transverse and longitudinal sections of the cervix, selecting intrapartum ultrasound images with transverse sections of the cervix.
[0015] Further, intrapartum ultrasound images meeting the screening criteria are fed into UODNet for processing and calculation. The target location and segmentation information of the cervix are obtained, and the cervical dilation distance is measured. The UODNet network model structure consists of a series of different downsampling convolutional layers (encoder part) and upsampling convolutional layers (decoder part). The downsampling convolutional layers extract features from the ultrasound images for subsequent upsampling segmentation tasks. The encoder part of the UODNet network model structure uses PoolFormer to capture ultrasound image features. After the input ultrasound image (size H×W) is passed through PoolFormer, four feature maps of different sizes are obtained. Different feature maps capture different information. Shallow feature maps capture shallow features, and deep feature maps capture deep features. Finally, feature fusion is performed through upsampling. The decoder part of the UODNet network model adopts an FPN-like structure. Its main task is to fuse the image features captured by the encoder part for subsequent segmentation tasks. Specifically, this includes upsampling to obtain a feature map of the same size as the upper layer, merging them, and then convolving them to the original number of channels. This process is iterated until a feature map of the same size as the original image is obtained. The pixel-level segmentation information obtained in the testing phase is the result.
[0016] Furthermore, for each segmentation information output by the UODNet model, the centroid position of the cervical region is first determined. Using this as the center, a new coordinate system is established parallel to the length and width of the image. Then, a rectangular frame that exactly encloses the cervix is determined for auxiliary distance calculation. Next, with 0° and 90° as initial starting points, the two intersection points of the straight lines at 0° and 90° to the coordinate system with the cervix are calculated, and their distances are calculated. The distances obtained at 45° and 135° are calculated in the same way. It is determined whether the smaller value falls into the [0°-90°] interval or the [90°-180°] interval. This process is repeated iteratively to update the calculation. When the difference between the two obtained cervical measurements is less than 0.01, the calculation is stopped, and the mean value is output. This is the ALD method.
[0017] Furthermore, considering that clinicians often only measure the cervical dilation distance from a single intrapartum ultrasound image due to time and complexity limitations, this invention also includes automatically measuring the average cervical dilation distance from multiple ultrasound images of a single person. This may result in a more stable cervical dilation distance and enhance the robustness of the measurement.
[0018] The present invention has the following advantages and effects compared with the prior art:
[0019] This invention proposes a deep learning-based framework for measuring cervical dilation distance (UOD) in ultrasound images. The main components are cervical anatomical structure segmentation and recognition, and the measurement of cervical dilation distance. The method of this invention was used to measure cervical dilation distance in 62 test cases, and the results were compared with those obtained manually by doctors. The results show that the method of this invention has good consistency with clinical doctors in measuring cervical dilation distance. Furthermore, considering that clinicians often only measure the cervical dilation distance of a single intrapartum ultrasound image due to time and complexity limitations, this invention also includes automatically measuring the average cervical dilation distance of multiple ultrasound images from a single patient. This results in a more stable cervical dilation distance and enhances the robustness of the measurement. Clinically, due to differences in the professional level and experience of the operating physician, the measurement results of cervical dilation distance for the same pregnant woman may vary, resulting in significant subjectivity. This invention largely avoids these drawbacks, and the cervical dilation distance measured by this invention has strong robustness. Attached Figure Description
[0020] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0021] Figure 1 This is a flowchart of the automatic measurement method for cervical dilation distance based on intrapartum ultrasound images disclosed in this invention;
[0022] Figure 2 This is an example of image data from an embodiment of the present invention;
[0023] Figure 3 This is a schematic diagram of the ALD method calculation process according to an embodiment of the present invention;
[0024] Figure 4 This is a comparison diagram of the segmentation and detection results of an embodiment of the present invention;
[0025] Figure 5 This is a graph showing the difference between automatic and manual measurement of cervical dilation distance in an embodiment of the present invention; Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0027] Example 1:
[0028] This embodiment discloses an automatic method for measuring cervical dilation distance based on intrapartum ultrasound images, mainly including the following steps:
[0029] S1. Acquire transperineal ultrasound images and label the cervix;
[0030] In step S1, the data was collected by a radiologist. The equipment used was a Philips SONOS 5500B ultrasound machine for intrapartum ultrasound image examination. Under the guidance of the radiologist, four students were tasked with labeling cervical dilation information, which was then reviewed by the doctor to confirm accuracy.
[0031] S2. Further screening of ultrasound images;
[0032] Among them, images with a transverse section of the cervix and relatively clear anatomical information were selected.
[0033] S3. The image obtained in S2 is processed and calculated using UODNet to obtain the cervical dilation position and segmentation information of the image;
[0034] In step S3, the input is a perinatal ultrasound image, and the output is the segmented region and category. Specifically, we use the UODNet model to process and calculate the input perinatal ultrasound image. UODNet outputs the segmentation results of cervical dilation.
[0035] Specifically, UODNet uses PoolFormer to capture ultrasound image features. The input ultrasound image (H×W size) is passed through PoolFormer, resulting in feature maps of different sizes. Different feature maps capture different information: shallow feature maps capture shallow features, and deep feature maps capture deep features. Then, feature fusion is performed through upsampling. Specifically, this involves upsampling to obtain feature maps of the same size as the upper-layer feature maps, merging them, convolving them back to the original number of channels, and iterating repeatedly until a final feature map of the same size as the original image is obtained, outputting pixel-level segmentation information.
[0036] All experiments in this invention were conducted using the PyTorch framework and an NVIDIA GeForce RTX 3090 graphics card. The UODNet model employed the AdamW optimizer with an initial learning rate of 0.0002 and a weight decay of 0.0001. In the early stages of training, a larger learning rate leads to faster model convergence, while in the later stages, it can cause model oscillations and difficulty in convergence. To stabilize the convergence of the model weight parameters, a poly decay strategy was used with a learning rate decay power parameter of 0.9. The training batch size was 8. Due to the limited data volume, data augmentation techniques such as rotation, flipping, and cropping were used during training. Notably, considering that the ideal shape of the cervix should be a smooth ellipse, a shape-based loss function was added, improving model performance beyond just the segmentation within the cervix, extending to the segmentation results at the cervical boundaries. Furthermore, considering the significant difference in area between the background and cervical regions, class imbalance was introduced, making the model prioritize the segmentation results of the cervical region. To facilitate subsequent adjustments, the training loss values were recorded throughout the training process, and an iterative model was saved every 400 batches. At the end of training, this model was tested to select the optimal model. Furthermore, this model does not have requirements regarding the size of the input intrapartum ultrasound image; the UODNet preprocessing automatically reshapes the input image to a 512×512 pixel size.
[0037] S4. Based on the segmentation information in S3, use the ALD method to measure the cervical dilation distance.
[0038] In step S4, UOD is measured based on the segmentation results from S3, such as... Figure 2 The diagram shows a segmentation illustration of cervical dilation. The Dice coefficient and Hausdorff distance (Hd) are important metrics for evaluating the segmentation results. The Dice coefficient is more sensitive to the internal filling of the segment; a higher Dice coefficient is better. The Hausdorff distance (Hd) is more sensitive to the segmentation boundaries; a lower Hausdorff distance is better. The commonly used segmentation model UNet has a Dice coefficient of 92.45% and a Hausdorff distance (Hd) of 15.79, while UODNet has a Dice coefficient of 94.77% and a Hausdorff distance (Hd) of 13.43. It can be seen that UODNet, used in this invention, has superior segmentation performance.
[0039] In this embodiment, the UOD measurement and calculation process based on the ALD method is as follows: Figure 3As shown, based on the cervical segmentation results obtained through UODNet in S3, UOD measurement is performed through the following steps. First, the centroid position of the cervical region is determined. Using this as the center, a new coordinate system is established parallel to the length and width of the image. Then, a rectangular frame that exactly encloses the cervical opening is determined to assist in distance calculation. Next, using 0° and 90° as initial starting points, the two intersection points of the straight lines at 0° and 90° to the coordinate system with the cervical opening are calculated, and their distances are calculated. The distances obtained at 45° and 135° are calculated in the same way. It is determined whether the smaller value falls into the [0°-90°] interval or the [90°-180°] interval. Then, the clamping straight line is updated. This process is repeated iteratively until the difference between the two obtained cervical opening measurements is less than 0.01. The calculation is then stopped, and the mean value is output.
[0040] In this embodiment, the training dataset consists of 176 intrapartum ultrasound images with transverse sections of the cervix, divided into a training set and validation set at a 9:1 ratio. To prevent overfitting and enhance the reliability of the test, 62 ultrasound images not present in the training set were used in the test portion. The reliability of the invention was verified by comparing the automatic measurement results from UODNet and ALD methods with the manual measurement results from radiologists. Figure 4 The image shows the segmentation and measurement results of three cervical dilatations (#1, #2, and #3) using UNet and UODNet. UODNet can detect and segment objects (e.g., #2 and #3) more accurately. Figure 4 As shown, for #1, both UNet and UODNet can measure the cervical dilation distance very well. In case #2, UNet only segments a small central region of the cervical dilation, resulting in a large deviation in the calculated cervical dilation distance, while UODNet segments a more complete cervical dilation area. For #3, UNet lacks some boundary information, leading to a smaller cervical dilation distance, while UODNet achieves significantly better results at the boundaries.
[0041] In summary, this embodiment provides an automatic method for measuring cervical dilation distance based on intrapartum ultrasound images. Figure 5 In the 62 test cases automatically calculated by UODNet and ALD methods, the results only reflected the manual measurement results, indicating that the cervical dilation distance calculated by UODNet has good consistency with the doctor's manual measurement results. Statistical analysis shows that the automatic measurement method for cervical dilation distance based on intrapartum ultrasound images provided in this embodiment has an average absolute value error of 9.82% compared with the manual measurement values on 62 test cases, demonstrating strong reliability.
Claims
1. An automatic method for measuring cervical dilation distance based on intrapartum ultrasound images, characterized in that, The automatic measurement method for cervical dilation distance in intrapartum ultrasound images includes the following steps: S1. Acquire transperineal ultrasound images and label the cervix; S2. Further screen the ultrasound images and select those with clear anatomical structures; S3. The image obtained in S2 is processed and calculated using the deep learning model UODNet to obtain the cervical dilation position and segmentation information of the image. S4. Measure the cervical dilation distance using the ALD method based on the segmentation information in S3; In step S3, the network model structure of the deep learning model UODNet includes an encoder and a decoder. The encoder of the network model structure of the deep learning model UODNet adopts PoolFormer, and the decoder of the network model structure of the deep learning model UODNet adopts an FPN-like structure. Step S4 involves the following steps: For each segmentation information output by the UODNet model, first, the centroid of the cervical region is determined. Using this centroid as the center, a new coordinate system is established parallel to the image's length and width. Then, a rectangular frame is determined to precisely enclose the cervix for auxiliary distance calculation. Next, using 0° and 90° as initial starting points, the two intersection points of the lines at 0° and 90° to the coordinate system with the cervix are calculated, and the distances between these two intersection points are dis1 and dis2, respectively. Similarly, the distances obtained from lines at 45° and 135° to the coordinate system are calculated, respectively, as dis45 and dis135. The smaller of dis45 and dis135 is taken as dis3, and it is determined whether the line corresponding to dis3 falls within the [0°-90°] or [90°-180°] interval. Within the corresponding interval, the two lines corresponding to the smaller of the two distance values (dis1, dis2, and dis3) are used to update the starting line. Then, the distance between the bisectors of the acute angle between the two starting lines is calculated as the new dis3. This process is repeated iteratively, updating the line. This process is repeated until the desired result is obtained. Once the difference between the two cervical dilation measurements obtained by the calculation method reaches a threshold, the average of the two is the cervical dilation distance of the image.
2. The method for automatically measuring cervical dilation distance based on intrapartum ultrasound images according to claim 1, characterized in that, The image data in step S1 comes from intrapartum ultrasound images with different cervical dilation distances.
3. The automatic measurement method for cervical dilation distance based on intrapartum ultrasound images according to claim 1 or 2, characterized in that, Step S2: Select intrapartum ultrasound images of transverse cervical incision.
4. The automatic measurement method for cervical dilation distance based on intrapartum ultrasound images according to claim 1 or 2, characterized in that, The threshold is 0.01.
Citation Information
Patent Citations
Method, system and equipment for measuring labor progress angle based on ultrasonic image and medium
CN115526835A
Method and device for measuring uterine orifice diameter of ultrasonic image based on convolutional neural network
CN116664660A
