A postpartum pelvic floor dysfunction screening method based on AI image recognition

By collecting and analyzing time-series ultrasound images of the pelvic floor support structures of postpartum women, and using AI image recognition technology to extract dynamic functional features, the problem of insufficient assessment in the screening of pelvic floor dysfunction in existing technologies has been solved, and objective and accurate screening of pelvic floor dysfunction has been achieved.

CN123181920APending Publication Date: 2026-11-27WOMEN S HOSPITAL ZHEJIANG UNIVERSITY SCHOOL OF MEDICINE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611392316.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot objectively and accurately assess functional abnormalities of the pelvic floor support structures during dynamic processes, resulting in insufficient sensitivity, poor consistency, and long evaluation time in postpartum pelvic floor dysfunction screening results.

Method used

By acquiring temporal ultrasound image sequences of the subject at rest, in effective anal contraction, and in maximum movement states, a temporal segmentation network is used to extract the segmentation mask and displacement vector field of the pubic symphysis, levator ani muscle, and pelvic hiatus. A temporal attention fusion network is then used to generate spatiotemporal feature vectors, and finally, a classifier outputs the screening results.

Benefits of technology

It enables quantitative assessment of pelvic floor contraction ability, coordination, and recovery ability, reducing clinicians' subjective interpretation of dynamic images and improving the objectivity and efficiency of screening.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181920A_ABST
    Figure CN123181920A_ABST
Patent Text Reader

Abstract

The application provides a postpartum pelvic floor dysfunction screening method based on AI image recognition, comprising: acquiring a mid-sagittal plane time sequence ultrasound image sequence of a pelvic floor support structure region of a person to be screened in a resting state, an effective shrinkage state and a maximum action state; inputting the time sequence ultrasound image sequence into a time sequence segmentation network, synchronously extracting segmentation masks of the pubic symphysis, the levator ani muscle and the pelvic diaphragm hiatus, and a displacement vector field of the attachment point of the levator ani muscle relative to the lower edge of the pubic symphysis, obtaining a dynamic dissection mask sequence and a displacement time sequence feature; extracting an area time sequence feature of the pelvic diaphragm hiatus according to the dynamic dissection mask sequence; inputting the displacement time sequence feature and the area time sequence feature into a time sequence attention fusion network after alignment, generating a space-time feature vector; inputting the space-time feature vector into a classifier, and outputting a screening result. The application realizes objective and quantitative evaluation of the dynamic function of the pelvic floor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of medical diagnostic technology, and in particular to a method for screening postpartum pelvic floor dysfunction based on AI image recognition. Background Technology

[0002] Postpartum pelvic floor dysfunction is a common complication in postpartum women, mainly manifested as laxity of the pelvic floor support structures, abnormal position of pelvic organs, and decreased function, severely impacting patients' quality of life. In clinical practice, early screening and functional assessment of this condition are crucial steps in developing intervention plans.

[0003] Currently, screening for postpartum pelvic floor dysfunction mainly relies on manual assessment of pelvic floor muscle strength by clinicians, combined with static imaging examinations. Among these, pelvic floor ultrasound has become a commonly used auxiliary examination method due to its real-time, non-invasive, and repeatable nature. Existing pelvic floor ultrasound-based assessment methods mostly focus on morphological measurements of pelvic floor anatomy in a resting state or during a single movement, such as measuring static parameters like the area of ​​the pelvic hiatus, the position of the pubic symphysis, or the distance of organ descent. By comparing these parameters with normal reference ranges, the presence of abnormalities in the pelvic floor support structures can be determined.

[0004] However, the core of pelvic floor dysfunction lies in the abnormal function of the pelvic floor support structures during dynamic processes such as contraction and load changes, including contractile capacity, coordination, and recovery ability. Current technologies, limited to the measurement and analysis of static morphological parameters, cannot objectively and accurately assess these dynamic functional characteristics, resulting in insufficient sensitivity of screening results to dynamic functional abnormalities. In clinical practice, to compensate for this information gap, subjective interpretation of dynamic images by physicians is still necessary, but this leads to poor assessment consistency and time-consuming processes, further limiting screening efficiency.

[0005] Therefore, how to achieve an objective and accurate assessment of the dynamic function of the pelvic floor support structure is a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0006] In view of this, the present invention aims to provide a method for screening postpartum pelvic floor dysfunction based on AI image recognition, so as to solve or alleviate the technical problems existing in the prior art.

[0007] The technical solution of this invention is implemented as follows: A method for screening postpartum pelvic floor dysfunction based on AI image recognition, comprising the following steps: Obtain the images of the person to be screened in the resting state, in the state of effective anal contraction, and at maximum... A sequence of midsagittal ultrasound images of the pelvic floor support structures region acquired continuously during action; The time-series ultrasound image sequence is input into a time-series segmentation network, and the segmentation mask of the pubic symphysis, levator ani muscle and pelvic hiatus in each frame image is extracted synchronously, as well as the displacement vector field of the levator ani muscle attachment point relative to the lower edge of the pubic symphysis between adjacent frames, to obtain the dynamic anatomical mask sequence and displacement temporal features. The temporal features of the area of ​​the pelvic hiatus are extracted based on the dynamic anatomical mask sequence. The temporal features of the area include the area change rate and the recovery time constant. After aligning the displacement temporal features with the area temporal features in the time dimension, the data is input into a temporal attention fusion network to generate a spatiotemporal feature vector that reflects the dynamic function of the pelvic floor support structure. The spatiotemporal feature vector is input into the classifier, which outputs the screening results of pelvic floor dysfunction.

[0008] Compared with the prior art, the present invention has the following advantages: The present invention collects data on the pelvic floor support structure area in the resting state, the effective anal contraction state, and the maximum... This study utilizes a sequence of temporal ultrasound images taken during movement to simultaneously extract temporal features of the pelvic hiatus area and the displacement of the levator ani muscle attachment point. A temporal attention fusion network is then used to generate spatiotemporal feature vectors reflecting the dynamic function of the pelvic floor support structures. This enables an objective and quantitative assessment of the pelvic floor's contractile capacity, coordination, and recovery ability, overcoming the limitations of existing static morphological measurements in evaluating dynamic functional characteristics. Furthermore, the automatic output of screening results via a classifier effectively reduces clinicians' reliance on subjective interpretation of dynamic images, improving assessment consistency and screening efficiency.

[0009] The above overview is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the invention will become readily apparent from the accompanying drawings and the following detailed description. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 This is the main flowchart of the method of the present invention; Figure 2 This is a block diagram of the overall system structure of the present invention; Figure 3 This is a diagram of the temporal attention fusion network structure of the present invention; Figure 4 This is a structural diagram of the multi-branch classifier of the present invention; Figure 5 This is a data flow diagram of the present invention. Detailed Implementation

[0012] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of the invention. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.

[0013] This invention provides a method for screening postpartum pelvic floor dysfunction based on AI image recognition, comprising the following steps: Obtain the images of the person to be screened in the resting state, in the state of effective anal contraction, and at maximum... A sequence of midsagittal ultrasound images of the pelvic floor support structures region acquired continuously during action; The time-series ultrasound image sequence is input into a time-series segmentation network, and the segmentation mask of the pubic symphysis, levator ani muscle and pelvic hiatus in each frame is extracted synchronously, as well as the displacement vector field of the levator ani muscle attachment point relative to the lower edge of the pubic symphysis between adjacent frames, to obtain the dynamic anatomical mask sequence and displacement temporal features. Based on the dynamic anatomical mask sequence, the temporal features of the pelvic hiatus were extracted. These temporal features include the area change rate and the recovery time constant. After aligning the displacement temporal feature with the area temporal feature in the time dimension, the data is input into the temporal attention fusion network to generate a spatiotemporal feature vector that reflects the dynamic function of the pelvic floor support structure. The spatiotemporal feature vector is input into the classifier, which outputs the screening results of pelvic floor dysfunction.

[0014] In one specific implementation scheme, the above method can be achieved through the following steps: First, obtain information about the subject of screening in the following situations: resting state, effective anal sphincter contraction state, and maximum... A sequence of midsagittal ultrasound images of the pelvic floor support structures region acquired continuously during the action. As an optional implementation, the ultrasound physician can manually operate the ultrasound equipment to record and save the ultrasound image data in real time as the patient completes the aforementioned actions; alternatively, an ultrasound equipment equipped with automatic recording function can be used to automatically acquire the image sequence by preset recording duration and frame rate.

[0015] Secondly, the time-series ultrasound image sequence is input into a time-series segmentation network to simultaneously extract the segmentation masks for the pubic symphysis, levator ani muscle, and pelvic hiatus in each frame, as well as the displacement vector field of the levator ani muscle attachment point relative to the lower edge of the pubic symphysis between adjacent frames, thus obtaining the dynamic anatomical mask sequence and displacement temporal features. In one implementation, a convolutional neural network (CNN)-based image segmentation model can be used to perform independent pixel-level segmentation on each frame to obtain the segmentation masks for the pubic symphysis, levator ani muscle, and pelvic hiatus. The displacement vector field can be extracted using optical flow or block matching algorithms, estimated by comparing pixel changes in the levator ani muscle attachment point region in adjacent frames.

[0016] Next, the temporal area features of the pelvic hiatus are extracted based on the dynamic anatomical mask sequence. These temporal area features include the area change rate and the recovery time constant. The area of ​​the pelvic hiatus can be calculated based on the number of pixels in its segmentation mask. The area change rate can be obtained by calculating the difference between consecutive frame area values ​​or the slope of the fitted curve. The recovery time constant can be quantified by fitting a curve of the pelvic hiatus area recovering to its resting state after contraction; for example, an exponential decay model can be used for fitting.

[0017] Subsequently, the displacement temporal feature and the area temporal feature are aligned in the time dimension and then input into a temporal attention fusion network to generate a spatiotemporal feature vector reflecting the dynamic function of the pelvic floor support structure. Feature alignment can be achieved through linear interpolation or resampling methods to ensure that different feature sequences have the same time step. The temporal attention fusion network can employ a structure containing a recurrent neural network (RNN) or a long short-term memory network (LSTM) to process temporal data and assign dynamic weights to different time steps of the input feature sequence to achieve feature fusion.

[0018] Finally, the spatiotemporal feature vector is input into a classifier, which outputs the screening result for pelvic floor dysfunction. This classifier can employ machine learning models such as Multilayer Perceptron (MLP) or Support Vector Machine (SVM). After being trained with labeled data, this model establishes a mapping relationship between the spatiotemporal feature vector and pelvic floor dysfunction, thereby classifying new input vectors and outputting positive or negative screening results.

[0019] As a specific implementation, this invention further proposes an image quality assessment step before inputting the time-series ultrasound image sequence into the time-series segmentation network. This step ensures the reliability of the input data and avoids negative impacts from low-quality images on subsequent processing. Specifically, the sharpness, contrast, and visibility scores of key pelvic floor anatomical structures are calculated for each frame of the image. Sharpness is quantified using metrics such as Laplacian variance and image entropy; contrast is evaluated using methods such as root mean square contrast or Michelson contrast. The visibility scores of key pelvic floor anatomical structures can be determined by using a pre-trained target detection model or based on local texture feature analysis to assess the integrity and sharpness of structures such as the pubic symphysis, levator ani muscle, and pelvic hiatus.

[0020] Visibility scores for key pelvic floor anatomy were obtained using the following methods: Object Detection Model Architecture: A convolutional neural network-based object detection model, specifically using the YOLOv8 network architecture, is adopted. The model takes a single frame of sagittal ultrasound image of the pelvic floor as input, with the input image size uniformly scaled to 512 pixels × 512 pixels and grayscale values ​​normalized to the [0,1] range. The model output layer includes a bounding box regression branch and a classification confidence branch. The bounding box regression branch outputs the coordinates of the localization boxes (represented by the center point coordinates, width, and height of the rectangles) for three anatomical structures: the pubic symphysis, levator ani muscle, and pelvic hiatus. The classification confidence branch outputs the probability value of each detection box belonging to the corresponding anatomical structure. The network backbone adopts a feature pyramid structure, achieving multi-scale feature fusion through top-down paths and lateral connections, enhancing the detection capability for small targets and targets with blurred edges.

[0021] Training dataset construction: At least 2000 postpartum sagittal ultrasound images of the pelvic floor were collected. Physicians with associate chief physician or higher qualifications in pelvic floor ultrasound diagnosis used professional image annotation tools to annotate the bounding boxes of the pubic symphysis, levator ani muscle, and pelvic hiatus in the images. Annotation requirements stipulated that the bounding boxes completely included the target anatomical structures and maintained appropriate margins from the structure edges. After annotation, the dataset was randomly divided into training, validation, and test sets in an 8:1:1 ratio. Data augmentation strategies were employed during training, including random horizontal flipping, random rotation (angle range ±15 degrees), random scaling (scale range 0.8x to 1.2x), and random brightness and contrast adjustments, to improve the model's generalization ability.

[0022] Visibility scoring quantification rules: The image to be evaluated is input into the trained target detection model, and the detection confidence scores for the pubic symphysis, levator ani muscle, and pelvic hiatus are obtained respectively. If the detection confidence score of a certain structure is lower than a preset threshold (e.g., 0.5), the structure is determined to be invisible in the image frame. The comprehensive visibility score is defined as the arithmetic mean of the detection confidence scores of the pubic symphysis, levator ani muscle, and pelvic hiatus. The score ranges from [0,1]. A higher score indicates that the key pelvic floor anatomical structures are clearer and more complete in the image, which is more beneficial for subsequent segmentation and displacement estimation tasks.

[0023] Quality threshold determination mechanism: A preset quality threshold (e.g., 0.6) is used. When the overall visibility score, sharpness score, or contrast score is lower than the preset threshold, the frame image is deemed unqualified and discarded. Temporal interpolation is then performed on the discarded sequence to maintain the continuity of the temporal data.

[0024] Subsequently, frames below a preset quality threshold are removed. This threshold can be determined based on expert experience or statistical analysis of large-scale datasets. To maintain the continuity of the temporal data, temporal interpolation is performed on the removed frames to complete them. For example, linear interpolation, cubic spline interpolation, or deep learning methods based on optical flow estimation are used to synthesize missing frames. This ensures the integrity and smoothness of the temporal ultrasound image sequence, providing high-quality and continuous input for subsequent temporal segmentation networks.

[0025] Meanwhile, the time-series segmentation network is based on - The architecture is a deep learning network that incorporates temporal convolution and spatial attention modules. - The architecture, through its encoder-decoder structure and skip connections, effectively captures both global contextual information and local details of images. The temporal convolution module aggregates contextual information between adjacent frames, which can be achieved through 3D convolutional layers, recurrent neural networks (such as LSTM or GRU), or temporal self-attention mechanisms. This allows the network to fully utilize dynamic information from previous and subsequent frames when processing the current frame, understanding the movement patterns and deformation processes of the pelvic floor structures and improving the consistency of segmentation results in the temporal dimension. The spatial attention module enhances the representation weights of the pubic symphysis, levator ani muscle, and the edge region of the pelvic hiatus. By learning a spatial attention map, the network focuses its attention on the regions most critical to the segmentation task, such as the precise boundary of the pelvic hiatus and the attachment point of the levator ani muscle. This allows for more refined capture of the edge information of these key anatomical structures, effectively suppressing interference such as ultrasound speckle noise and improving the accuracy and robustness of segmentation.

[0026] As a specific network configuration, the input to the temporal segmentation network is N consecutive frames of midsagittal ultrasound images of the pelvic floor support structure region, where the value of N is determined based on the dynamic activity cycle of the pelvic floor. To achieve a reasonable determination of the value of N, the physiological characteristics of pelvic floor dynamic activity are first analyzed. The pelvic floor muscles complete one full contraction-relaxation movement or... During an action, the dynamic changes typically last from several seconds to over ten seconds. To capture the complete dynamic cycle, the value of N should at least cover the temporal range of one complete action, while also considering the model's computational efficiency and memory usage.

[0027] Specifically, the value of N can be determined in one of the following ways: The first approach involves statistical analysis based on preliminary experimental data. A predetermined number of pelvic floor ultrasound time-series images of healthy individuals and patients with pelvic floor dysfunction are collected. The start and end frames of each movement are manually labeled, and the average number of frames covered by the complete movement cycle is calculated. Based on this, the N value is set to 1.2 to 1.5 times this average number of frames to ensure that the input time-series sequence completely encompasses the movement process while providing sufficient resting state context information before and after the movement.

[0028] The second approach is adaptive adjustment based on action state detection. During real-time acquisition, the current action state is initially determined by the features output from the intermediate layer of the temporal segmentation network. When an effective anal contraction state or maximum... When a resting state is detected, the N value is automatically adjusted to the preset minimum window size to reduce computational latency; when a resting state is detected, the N value is adjusted to the preset maximum window size to obtain more complete background information. This adaptive adjustment strategy enables the network to flexibly adapt to the different action rhythms of different individuals while ensuring the capture of key dynamic information.

[0029] The parameters involved in the above two methods, such as the average number of frames and the window scaling factor, can be determined through statistical analysis of pre-experimental data and can be configured and adjusted according to actual clinical needs.

[0030] For example, 16 or 32 frames are taken. Each frame image is preprocessed and uniformly scaled to a size of 512×512 pixels, and normalized to the grayscale range of [0,1]. The network output includes two branches: the first branch outputs the segmentation mask corresponding to the input frame, with 3 channels, corresponding to the three anatomical structures of the pubic symphysis, levator ani muscle, and pelvic hiatus, respectively. Each channel outputs a probability map of the same size as the input. The second branch outputs the displacement vector field between adjacent frames, represented as a two-dimensional vector map of two channels, which encodes the displacement of pixels in the horizontal and vertical directions, respectively.

[0031] The network employs a multi-task joint training strategy, with the total loss function consisting of a weighted sum of segmentation loss and displacement field loss. The segmentation loss utilizes a combination of generalized Dice loss and focus loss, suitable for blurred boundaries in medical images, to enhance segmentation accuracy of anatomical structure edge regions and alleviate class imbalance. The displacement field loss is based on endpoint error and incorporates a temporal smoothing regularization term to suppress estimation jitter caused by ultrasound speckle noise by constraining the change in displacement field between adjacent frames. The two loss components are balanced using preset weighting coefficients, determined through preliminary experiments.

[0032] The network training employed an adaptive moment estimation optimizer. After setting the initial learning rate, a cosine annealing strategy was used to gradually decay the rate during training to promote stable model convergence. The training dataset consisted of at least 500 postpartum pelvic floor ultrasound time-series images annotated frame-by-frame by professional physicians, divided into training, validation, and test sets according to a predetermined ratio. To improve the model's generalization ability, data augmentation strategies were applied in real-time during training, including random spatial rotation, random scaling, elastic deformation simulation, and injection of speckle noise specific to ultrasound images. Model training used segmentation accuracy and displacement estimation error on the validation set as early stopping criteria, selecting the model with the best performance on the validation set as the final model. As a specific implementation, this invention further proposes a method for generating the displacement vector field. Specifically, based on the segmentation mask of the levator ani muscle and pubic symphysis output by the temporal segmentation network, key points at the lower edge of the pubic symphysis and the contour boundary of the levator ani muscle in the attachment region of the pubic ramus are extracted. These key points and contour boundaries serve as important anatomical landmarks, providing accurate reference areas for subsequent displacement estimation, for example, by performing morphological processing on the segmentation mask combined with edge detection algorithms, or by using a pre-trained key point detection model. Subsequently, a deformable convolutional network is used to perform dense displacement field estimation between adjacent frames. This network adaptively adjusts the shape of the receptive field by learning the sampling offset of the convolutional kernel to capture the complex non-rigid deformation and displacement of biological tissue during movement, which is particularly suitable for scenarios with blurred tissue boundaries and variable deformation in ultrasound images.

[0033] In terms of integration, the deformable convolutional network adopts an encoder-decoder architecture, using two adjacent frames of images and their corresponding anatomical structure segmentation masks as input. The encoder consists of multiple deformable convolutional layers. Each deformable convolutional layer, based on standard convolution operations, learns the offset of each sampling position through parallel convolutional branches, enabling the convolutional kernel to adaptively adjust the sampling grid according to the local texture features of the image, thereby effectively handling the non-rigid deformation of the pelvic floor tissue during contraction and loading. The decoder gradually restores the feature map resolution through upsampling operations, ultimately outputting a dense displacement vector field of the same size as the input image. Each pixel corresponds to a two-dimensional displacement vector, representing the displacement of that point in the horizontal and vertical directions, respectively. To enhance the sensitivity of displacement estimation to anatomical boundaries, skip connections are introduced at each level of the decoder, fusing the features of the corresponding encoder level with the decoder features to preserve edge detail information.

[0034] The temporal smoothing constraint is used to suppress inter-frame displacement estimation jitter caused by ultrasonic speckle noise. Specifically, it is implemented by introducing a difference metric for the displacement fields between adjacent frames into the loss function. By minimizing the difference in the displacement fields at consecutive time points, the displacement estimation is forced to exhibit continuity in the time dimension. This constraint uses the inter-frame variation of the displacement field as a regularization term and is jointly optimized with the main displacement estimation loss during training, ensuring a smooth transition of the network's output displacement field in the time series and avoiding abrupt displacement changes caused by single-frame noise.

[0035] The anatomical prior constraints are used to ensure that the displacement estimation results conform to the physiological movement patterns of the pelvic floor. Specifically, a spatial weight matrix is ​​constructed using the anatomical segmentation mask output by the temporal segmentation network. Specifically, pixels belonging to the levator ani muscle, pubic symphysis, and pelvic hiatus regions are assigned higher weights, allowing the principal loss of displacement estimation to dominate in these areas. Background areas or areas not related to pelvic floor activity are assigned lower weights, and a strong smoothing constraint is applied to the displacement field to limit the generation of displacement estimates that do not conform to physiological patterns. This spatial weight matrix is ​​dynamically generated in each frame and adaptively adjusted according to changes in the position of the anatomical structures, thus integrating prior knowledge of the anatomical structures into the displacement field estimation process.

[0036] To further improve the robustness and accuracy of displacement estimation, this invention also employs temporal smoothing constraints and anatomical prior constraints to regularize the displacement field. Temporal smoothing constraints penalize drastic changes in the displacement field between adjacent frames, ensuring the continuity and stability of the displacement estimation in the time dimension and suppressing instantaneous fluctuations caused by random noise. Anatomical prior constraints incorporate known anatomical knowledge into the displacement estimation process, such as limiting the displacement range of specific tissue regions or maintaining the relative positional relationships between anatomical structures, to avoid displacement estimation results that do not conform to physiological laws. These two constraint mechanisms work synergistically to significantly suppress displacement estimation errors caused by ultrasound speckle noise, ensuring that the obtained displacement vector field is more accurate and reliable.

[0037] As a specific implementation, the present invention further proposes that the time interval required for the area of ​​the pelvic hiatus to decrease to 1 / e of its initial change during the recovery process from the effective anal contraction state is the time required for the area to have recovered to 63.2% of the total recovery amount; The recovery time constant The following formula was used for fitting: ; in, Represents a time variable. The point at which the effective anal sphincter contraction ends. For a moment The area of ​​the pelvic diaphragm hiatus This represents the area of ​​the pelvic hiatus in the resting state. The area of ​​the pelvic hiatus under effective anal contraction. It is a natural constant. This is the recovery time constant, used to quantify the recovery rate of the pelvic floor muscle contraction area. The smaller the value, the faster the pelvic floor muscles recover.

[0038] Specifically, the recovery time constant τ is obtained by fitting the above exponential decay model. Its physical meaning is the time interval required for the change in the pelvic hiatus area to decay to 1 / e (approximately 36.8%) of its initial change. The smaller the τ value, the faster the pelvic floor muscles recover; the larger the τ value, the more it indicates a decline in the recovery ability of the pelvic floor muscles. This indicator objectively and quantifiably measures the speed and efficiency of the pelvic floor muscles in recovering to the resting state after contraction.

[0039] Furthermore, the recovery time constant The curve of the pelvic diaphragm opening area changing over time was obtained by exponential fitting. Specifically, in the aforementioned fitting formula, This represents a time variable used to track changes in the area of ​​the pelvic diaphragm hiatus over time. The moment when the effective anal sphincter contraction ends is taken as the starting point of the recovery process; For a moment The area of ​​the pelvic diaphragm slit is the target value for model fitting; The area of ​​the pelvic hiatus at rest represents the baseline state when the pelvic floor muscles are completely relaxed. The area of ​​the pelvic hiatus under effective anal contraction represents the state when the pelvic floor muscles are at maximum contraction. τ is a natural constant and forms the basis of the exponential decay model; τ is the recovery time constant to be determined, used to quantify the recovery rate of the pelvic floor muscle contraction area.

[0040] It should be noted that the definition of the recovery time constant τ in this embodiment strictly follows the above exponential decay model, that is, τ is the time interval required for the area change to decay to 1 / e of its initial change. This definition is completely consistent with the model formula, avoiding the discreteness and inaccuracy of the traditional threshold method (such as recovering to 90%) in describing the recovery process.

[0041] To achieve the end of the effective anal contraction state To facilitate automatic identification, this invention proposes a joint detection method based on the rate of change of the pelvic hiatus area and the rate of change of the displacement field. Specifically, firstly, based on the temporal characteristics of the pelvic hiatus area output by the temporal segmentation network, the rate of change curve of the area over time is calculated. During the maximum anal contraction movement, the pelvic hiatus area exhibits a pattern of first rapidly decreasing and then stabilizing. When the rate of change of the area approaches zero from a negative value and remains there for more than a preset duration, this time point is initially marked as the start of the effective anal contraction state. Subsequently, when the subject begins to relax the pelvic floor muscles, the pelvic hiatus area begins to increase, and the rate of change of the area changes from zero to a positive value. This inflection point of the rate of change is used as a candidate point for the end of the effective anal contraction state.

[0042] To avoid misjudgments due to ultrasound image noise or minor physiological fluctuations, the displacement field change rate was used to verify the candidate points. During the maintenance of effective anal contraction, the displacement field amplitude at the attachment point of the levator ani muscle remained at a low level; when the subject began to relax, the displacement field amplitude changed significantly. The consistency of candidate points detected by the area change rate was verified by simultaneously analyzing the inflection point of the displacement field change rate. If the time difference between the two detection results was less than the preset tolerance range, the area change rate detection result was taken as the standard; if the time difference exceeded the tolerance range, the sample was marked as requiring review by a physician.

[0043] The change rate threshold, preset duration, and tolerance range involved in the above-mentioned automatic identification method can all be determined by statistical analysis of pre-experimental data from healthy individuals and patients with pelvic floor dysfunction. For example, the area change rate threshold can be set to 0.05% / frame, the preset duration to 0.5 seconds, and the tolerance range to 0.2 seconds.

[0044] By substituting the time-series data of the measured pelvic diaphragm orifice area into the model for curve fitting, the τ value can be accurately calculated, thus providing a continuous and smooth description of the recovery process and avoiding the errors that may be caused by the simple threshold method.

[0045] As a specific implementation, the present invention further proposes that the temporal attention fusion network includes: a temporal attention module, used to assign dynamic weights to the displacement temporal features and the area temporal features at different time nodes; a feature concatenation layer, which concatenates the weighted displacement temporal features and the area temporal features in the feature dimension; and a fully connected layer, which maps the concatenated features to the spatiotemporal feature vector.

[0046] The temporal attention module dynamically focuses on features at different time steps in the sequence based on the importance of the current task when processing sequential data. Specifically, this module assigns a weight to each time step in the input sequence to reflect the contribution of the features at that time step to the final task (e.g., generating spatiotemporal feature vectors). Through this dynamic weighting mechanism, the temporal attention module can capture key segments in the sequence and suppress the influence of noise or irrelevant information, thereby improving the model's ability to understand temporal data. Its implementation typically involves a scoring function that calculates an attention score for each time step based on the current input and / or historical information, and then... The normalization function converts scores into weights.

[0047] The feature concatenation layer combines feature vectors from different sources or processing stages along a feature dimension. In this scheme, it merges the displacement temporal features, which have been weighted by the temporal attention module, with the area temporal features. This concatenation operation allows the model to simultaneously consider two different types of interrelated feature information, providing more comprehensive input for subsequent feature mapping and classification tasks. The dimension of the concatenated feature vector is the sum of the dimensions of the original feature vectors.

[0048] Fully connected layers are used to map the high-dimensional concatenated feature vectors output by the feature concatenation layer to a fixed-dimensional spatiotemporal feature vector. This mapping process performs non-linear transformations and combinations on the input features to extract the high-level abstract features most discriminative for pelvic floor dysfunction screening tasks. Through fully connected layers, the model can learn complex relationships between features and encode these relationships into the final spatiotemporal feature vector, providing input for the subsequent classifier.

[0049] The calculation method of the temporal attention module is as follows:

[0050]

[0051] in, Indicates time The original feature vector obtained by concatenating the displacement time series features and the area time series features. and A learnable weight matrix used to weight the input features. and the hidden state of the previous moment Linear transformation to the internal representation space of the attention mechanism. The learnable attention parameter vector is multiplied by the transformed feature vector to calculate the original attention score at each time step. The hidden state representing the previous time step typically comes from a sequence model such as a recurrent neural network (RNN) or a long short-term memory network (LSTM), and contains information from previous time steps in the sequence. Incorporating it into the attention weights allows historical context information to be taken into account. It is a hyperbolic tangent activation function used to introduce nonlinearity and map the result of the linear transformation to the range of -1 to 1. The normalized exponential function is used to convert the calculated attention score into an attention weight vector in probability distribution form. And make the sum of all weights equal to 1. For a moment The attention weight vector, where each element corresponds to The weights of the corresponding features reflect the degree of attention the model pays to different features at the current time step. ⊙ denotes element-wise multiplication, used to multiply the attention weight vector. Applied to the original feature vector The weighted feature vector is obtained. This allows for soft selection of the original features, enhancing important features and suppressing unimportant features. The weighted feature vector will be used as input for subsequent processing (such as feature concatenation layer).

[0052] To construct the training dataset for the temporal attention fusion network, the original acquired pelvic floor ultrasound temporal image sequences were first preprocessed. The complete temporal image sequence for each subject was sequentially processed by a temporal segmentation network to obtain the corresponding dynamic anatomical mask sequence and displacement temporal features. Based on the anatomical mask sequence, the area temporal features of the pelvic hiatus were calculated. Subsequently, the displacement temporal features and area temporal features were strictly aligned in the temporal dimension to ensure that the two feature sequences had the same time step and temporal resolution at the same time coordinate, thus forming the original multimodal feature sequence for that sample.

[0053] The supervisory label for each sample was determined by a qualified clinical expert in pelvic floor ultrasound diagnosis according to a standardized clinical assessment process. Specifically, the expert combined the subject's clinical symptoms, physical examination results, and overall interpretation of the dynamic pelvic floor ultrasound images to comprehensively evaluate the binary screening result (positive or negative). For samples with positive screening results, the functional disorder type was further refined (pelvic floor relaxation-dominated, levator ani muscle injury-dominated, or mixed type) as the training label for the second branch of the multi-branch classifier.

[0054] In the clinical diagnosis of postpartum pelvic floor dysfunction, based on different pathological mechanisms and functional impairment characteristics, the types of dysfunction can be classified into the following three categories: (1) Pelvic floor laxity type: The main pathological mechanism of pelvic floor laxity type is the weakening or rupture of the elasticity of connective tissues such as pelvic floor fascia and ligaments. Pelvic floor dysfunction (PDD) is a group of diseases caused by various etiologies leading to weakness of the pelvic floor support structure, which in turn leads to displacement of pelvic organs and triggers abnormalities in the anatomical position and function of other pelvic organs. Among them, the formation mechanism of pelvic floor laxity type dysfunction is mainly due to factors such as long-term excessive abdominal pressure increasing the load on the levator ani muscle, leading to damage or even atrophy of the levator ani muscle, resulting in insufficient pelvic floor support. Its core pathological feature is the decline in the support function of connective tissue, rather than structural damage to the muscles themselves.

[0055] On ultrasound imaging, this type presents as follows: a significantly enlarged area of ​​the pelvic hiatus at rest, further dilation of the hiatus during Valsalva maneuvers, and a significantly increased rate of change in the area of ​​the pelvic hiatus; the amplitude of levator ani muscle displacement is relatively preserved or slightly reduced. Clinically, these patients often have anterior vaginal wall prolapse or uterine prolapse, and are more common in those who have had multiple vaginal deliveries or have long-term increased abdominal pressure.

[0056] (2) Levator ani muscle injury type: The levator ani muscle injury type is mainly caused by avulsion injury or decreased muscle fiber function of the levator ani muscle during childbirth. The levator ani muscle plays an important supporting role in the pelvic floor muscle group. Levator ani muscle injury will lead to pelvic floor muscle dysfunction, which in turn will cause a series of diseases such as pelvic organ prolapse. In 2005, Dietz et al. first proposed the concept of "levator ani muscle avulsion" (LAMA) to describe levator ani muscle injury in postpartum women. Levator ani muscle injury (LAMI) is the most common muscle injury after childbirth and is closely related to postpartum and long-term pelvic floor dysfunction. During childbirth, as the fetal head descends, the birth canal is passively dilated. If the fetal head circumference is too large or the second stage of labor is prolonged, the pelvic floor tissues are stretched to an extreme. If the stretching exceeds the physiological limit of the pelvic floor tissues, it will lead to tearing of the pelvic fascia and levator ani muscle, weakening or destroying the pelvic floor tissues and increasing the incidence of pelvic floor dysfunction. Among them, the rate of levator ani muscle injury during forceps delivery ranged from 35.0% to 52.6%.

[0057] On ultrasound imaging, this type presents as: a significant decrease in the amplitude of levator ani muscle displacement and abnormal displacement vector direction (asymmetric, scattered, or reversed); if a unilateral or bilateral interruption of the continuous echo of the levator ani muscle is observed in the parasagittal section of the pelvic floor, and the stump of the puborectalis muscle appears as a "wedge-shaped" hypoechoic area, it suggests levator ani muscle injury, and this pattern shows high consistency with transperineal three-dimensional ultrasound imaging and magnetic resonance imaging; the change in the anteroposterior diameter of the levator ani hiatus measured in the midsagittal section of the pelvic floor can objectively and reliably assess its contractile function. The area of ​​the pelvic hiatus may be normal or slightly enlarged at rest. Clinically, these patients often have fecal incontinence or significant weakness of the pelvic floor muscles, and are more commonly seen in forceps delivery, delivery of macrosomic infants, or prolonged second stage of labor.

[0058] (3) Mixed type: The mixed type refers to the coexistence of connective tissue laxity and structural / functional damage to the levator ani muscle, with both pathological mechanisms working together. These patients simultaneously meet the core abnormal indicators of both types mentioned above, namely, an increased area of ​​the resting pelvic hiatus and a significant decrease in the amplitude of levator ani muscle displacement. Clinically, mixed-type patients often present with severe pelvic organ prolapse combined with significant muscle weakness, indicating a more severe degree of damage, requiring comprehensive rehabilitation interventions.

[0059] When constructing training samples, a sliding window strategy is used to subdivide long temporal feature sequences. Based on the physiological characteristics of the pelvic floor dynamic activity cycle, a fixed-length window is set and slides across the complete temporal sequence with a preset step size. Each feature subsequence within the window is treated as an independent training sample, with its supervision label inherited from the clinical diagnostic results of the original complete sequence. This strategy expands the number of training samples and enables the network to focus on local temporal dynamic features, improving the model's ability to identify stage-specific functional abnormalities. All training samples undergo feature dimension normalization before being input into the network to eliminate the impact of differences in feature dimensions on network training.

[0060] As a specific implementation, this invention further proposes that the classifier is a temporal convolutional network based on dilated convolution, with its output layer having a binary classification structure for outputting positive or negative screening results for pelvic floor dysfunction. This temporal convolutional network employs dilated convolution technology, inserting holes between convolutional kernel elements to expand the receptive field without increasing model parameters or computational cost, thereby capturing long-range temporal dependencies. The network can be composed of multiple stacked dilated convolutional layers, each employing a different dilation rate to extract temporal features at multiple scales. Its output layer can be connected through a... The activation function is implemented using a fully connected layer, outputting a probability value between 0 and 1. After thresholding, this value is converted into a binary classification result. A positive screening result indicates that the person being screened may have pelvic floor dysfunction, while a negative screening result indicates that no pelvic floor dysfunction was detected.

[0061] To ensure reliable training of the classifier, a fully labeled training dataset is first required. The input features of each training sample originate from the spatiotemporal feature vector output by the aforementioned temporal attention fusion network. This vector numerically represents the dynamic functional characteristics of the subject's pelvic floor support structure during contraction and loading. The supervisory label for each sample is determined by a qualified clinical expert in pelvic floor ultrasound diagnosis according to a standardized clinical assessment process. Specifically, without knowing the model's prediction results, the expert comprehensively considers the subject's clinical symptoms, physical examination results, manual assessment of pelvic floor muscle strength, and overall interpretation of dynamic pelvic floor ultrasound images. Based on the "Chinese Expert Consensus on Pelvic Floor Ultrasound Examination" and relevant clinical guidelines, a binary screening judgment is made, classifying samples into positive and negative categories. For samples classified as positive, the functional disorder type is further refined, categorized as pelvic floor relaxation-dominated, levator ani muscle injury-dominated, or mixed, serving as the training label for the second branch of the multi-branch classifier.

[0062] The annotation process employed a double-blind independent annotation and arbitration mechanism to ensure annotation quality. Each sample was independently annotated by two experts with the title of associate chief physician or above. If the annotation results were consistent, they were directly adopted; if there were disagreements, the sample was submitted to a third, more senior expert for arbitration, ultimately forming the gold standard label. All annotation work was completed using dedicated annotation software, which supports frame-by-frame playback and action phase marking of time-series ultrasound images, ensuring that experts could fully observe the dynamic changes in the pelvic floor structures.

[0063] After the classifier was trained, its performance was systematically evaluated using cross-validation. For binary classification screening tasks, evaluation metrics included accuracy, sensitivity, specificity, positive predictive value, negative predictive value, and area under the receiver operating characteristic (AUC) curve, comprehensively reflecting the model's ability to identify positive and negative samples. For triadic classification tasks involving functional impairment types, evaluation metrics included macro-average precision, macro-average recall, and macro-average F1 score, assessing the model's overall performance across categories. For multi-branch temporal classification networks, the performance of the first and second branches was evaluated separately, and the overall concordance rate of joint diagnosis between the two branches was statistically analyzed on the test set to verify the model's synergistic ability in both screening and classification tasks.

[0064] As a specific implementation, the present invention further proposes that the classifier is a multi-branch temporal classification network, the first branch outputs a binary classification screening result, and the second branch outputs a classification result of the functional disorder type when the screening result is positive. The functional disorder types include pelvic floor relaxation-dominated type, levator ani muscle injury-dominated type, and mixed type. The classification of functional disorder types is based on the contribution distribution of displacement temporal features and area temporal features in the spatiotemporal feature vector, and the contribution is obtained through attention weight mapping of the temporal attention fusion network.

[0065] Specifically, the multi-branch temporal classification network comprises a shared feature extraction backbone for learning high-level representations from the input spatiotemporal feature vectors, which then diverges into multiple independent output branches, each optimized for a specific classification objective to obtain a variety of diagnostic information in a single forward propagation. In one implementation, the network may employ a dilated convolutional-based temporal convolutional network as its shared backbone to capture long-range dependencies and local patterns in temporal features.

[0066] The first branch is used to perform a binary classification task to determine whether pelvic floor dysfunction exists. This branch may consist of one or more fully connected layers and... The activation function outputs a probability value between 0 and 1, which is then processed by a preset threshold to obtain a positive or negative screening result.

[0067] The second branch, when the screening result of the first branch is positive, extracts features learned from the backbone based on shared features and outputs the specific type of functional impairment. This branch can consist of a series of fully connected layers and a... The activation function is composed of output probability distributions for different types of functional disorders. These functional disorder types include pelvic floor relaxation-dominated, levator ani muscle injury-dominated, and mixed types. Specifically, pelvic floor relaxation-dominated refers to overall relaxation or insufficient elasticity of the pelvic floor muscles and connective tissue; levator ani muscle injury-dominated refers to structural or functional impairment of the levator ani muscle itself; and mixed types indicate the simultaneous presence of two or more of the above pathophysiological mechanisms.

[0068] The multi-branch temporal classification network is optimized using a joint training strategy to fully utilize the correlation between the screening and genotyping tasks and improve the collaborative performance of the two branches. Specifically, the network's total loss function is a weighted sum of the screening loss of the first branch and the genotyping loss of the second branch. The screening loss uses a focus loss function suitable for binary classification to alleviate the class imbalance problem between positive and negative samples; the genotyping loss uses a cross-entropy loss function suitable for multi-class classification.

[0069] The loss weights for the two branches were determined through preliminary experiments. Typically, the screening loss weight is set higher than the genotyping loss weight to ensure the dominance of the screening task while providing effective supervision for the genotyping task on samples with positive screening results. During training, all training samples participate in the training of the first branch, but only samples with positive screening results participate in the loss calculation of the second branch. This mechanism is implemented through dynamic masking, i.e., when calculating the total loss, the contribution of the second branch loss to negative samples is set to zero.

[0070] The network training employs an adaptive moment estimation optimizer, with the initial learning rate gradually decaying using a cosine annealing strategy. The training dataset is divided into training, validation, and test sets according to a predefined ratio. On the validation set, the joint evaluation metric of the two branches (e.g., a weighted sum of screening accuracy and the genotyping macro-average F1 score) is monitored, and the model with the optimal joint metric is selected as the final model. During the model inference phase, the network simultaneously outputs the prediction results of both branches. When the first branch outputs a positive result, the prediction result of the second branch takes effect; when the first branch outputs a negative result, the prediction result of the second branch is automatically masked and does not participate in the final output.

[0071] The classification of functional disorders is based on the contribution distribution of displacement temporal features and area temporal features in the spatiotemporal feature vector. In the temporal attention fusion network, dynamic weights are assigned to displacement and area temporal features at different time points through an attention mechanism. These weights reflect the importance and contribution of each feature in forming the final spatiotemporal feature vector. If the attention weights are significantly biased towards displacement temporal features, it indicates that abnormal dynamic movement of the levator ani muscle is the dominant factor, thus tending to classify it as a levator ani muscle injury-dominated type. Conversely, if the weights of area temporal features are higher, it suggests impaired overall expansion or recovery capacity of the pelvic hiatus, tending to classify it as a pelvic floor relaxation-dominated type. By analyzing the attention weights, the influence of different features on the classification results can be quantified, providing an interpretable basis for judging the functional disorder type.

[0072] As a specific implementation, the present invention further proposes that while the classifier outputs the screening results, it also locates the key time segment that contributes the most to the classification results through the gradient backpropagation mechanism, and uses the ultrasound image frame corresponding to the key time segment as the interpretive output.

[0073] Specifically, the gradient backpropagation mechanism updates the parameters by calculating the gradient of the loss function with respect to the network parameters. This implementation uses gradient backpropagation to calculate the gradient of the classifier's final output with respect to the input features, quantifying the influence of each part of the input features on the final classification result, thereby obtaining contribution information.

[0074] To achieve accurate localization of key time segments, this implementation adopts a gradient-based contribution aggregation strategy. Specifically, for the screening result output by the classifier, the gradient of the output relative to the input spatiotemporal feature vector is first calculated. This gradient reflects the sensitivity of each dimension of the input features to the final classification result. Since the spatiotemporal feature vector is composed of features from multiple time steps in the time dimension, the gradient values ​​of the corresponding feature dimensions at each time step are aggregated to obtain the contribution score for each time step.

[0075] Gradient aggregation employs the L2 norm aggregation method, which calculates the square root of the sum of squares of the gradient values ​​of all feature dimensions within each time step, forming a contribution heatmap for that time step. Subsequently, the contribution heatmap undergoes temporal smoothing filtering to suppress contribution spikes caused by single-frame noise, making the localization results more stable. On the smoothed contribution curve, the contribution peak and its corresponding temporal position are identified, and the time point corresponding to the peak and the consecutive frames within a preset window range before and after it are determined as key temporal segments.

[0076] To enhance the clinical readability of the interpretive output, the system extracts key temporal segments from the original ultrasound image sequence and displays them as dynamic video clips. A color map of contribution heatmaps is overlaid on these video clips, allowing physicians to intuitively observe the time regions and spatial locations that the model focuses on. Furthermore, the system outputs action phase labels corresponding to the key temporal segments (e.g., resting phase, anal contraction phase, or...). (Period), to help doctors understand the physiological significance of the segment.

[0077] The window range involved in the gradient aggregation and localization process can be preset according to clinical needs, such as 0.5 seconds or 10 frames, and can be adjusted through the system configuration interface.

[0078] After obtaining the contribution information, further analysis is performed to locate the key time segments that contribute the most to the classification results. For example, if the change in the area of ​​the pelvic hiatus or the displacement feature of the levator ani muscle at a certain time point is identified as having a high contribution in gradient backpropagation, then that time point and its corresponding image frame are determined as key time segments.

[0079] To present the AI ​​decision-making process to clinicians in an intuitive and easy-to-understand way, this invention uses ultrasound image frames corresponding to key temporal segments as interpretive output. When identifying the key temporal segments that contribute most to the classification results, these segments are extracted from the original temporal ultrasound image sequence and displayed directly as static images or dynamic video clips, serving as visual evidence of the AI's diagnostic results. This interpretive output allows physicians to directly observe the dynamic changes in key anatomical structures deemed abnormal by the AI ​​model, thereby validating the AI's diagnostic logic and enhancing their understanding and trust in the diagnostic results.

[0080] As a specific implementation, the present invention further proposes that the classifier outputs a confidence score of the prediction result while outputting the screening result; when the confidence score is lower than a preset threshold, the system automatically marks that the screening result needs to be reviewed by a professional physician and outputs the time segment position corresponding to the low confidence score.

[0081] Specifically, the classifier outputs a confidence score along with the screening results for pelvic floor dysfunction. This score is a floating-point number between 0 and 1; for example, 0.95 indicates that the model has 95% confidence in the current classification result. For deep learning-based classifiers, the confidence score can be calculated through classification layers (such as...). The output probability of the layer is obtained directly, that is, the probability value of the model predicting a certain class. For example, if If the layer output is [0.9, 0.1], it means that the model considers the sample to belong to the first class with a confidence level of 0.9.

[0082] To ensure the reliability of the screening results, a preset confidence threshold is established. When the confidence score output by the classifier is lower than this threshold, it indicates that the model has high uncertainty in classifying the current sample. In this case, the system automatically triggers a review mechanism, marking the screening result as "requiring professional physician review" to prompt clinicians to conduct manual intervention and secondary judgment. This preset threshold can be adjusted based on clinical experience and model performance, for example, set to 0.7 or 0.8.

[0083] When a screening result is marked as requiring review by a professional physician, the system also outputs the location information of key time segments that lead to low confidence levels. These key time segments typically refer to the segments within an ultrasound image sequence where the model exhibits the greatest uncertainty in its internal feature extraction or classification decision-making process when processing image frames within that specific time period. This location information can be presented in the form of timestamps, frame numbers, or time ranges, such as "second X to second Y" or "frame Z to frame W," allowing physicians to focus their analysis on these key frames and make judgments based on their professional knowledge.

[0084] As one specific embodiment, the present invention proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described method.

[0085] Specifically, the computer device may be a dedicated medical image analysis workstation, a high-performance server, or a computer with sufficient computing power. The memory, including random access memory and non-volatile memory, is used to store data and instructions. The processor, such as a multi-core CPU, GPU, or AI acceleration chip, is used to execute the computer program. The computer program contains instructions for implementing the steps of the above method; when the processor executes the program, it can automatically perform the entire process from acquiring ultrasound image sequences to outputting pelvic floor dysfunction screening results.

[0086] The present invention also provides an embodiment of the practical application of the method of the present invention: I. Application Scenarios: A 32-year-old primiparous woman (Ms. Li), 8 weeks postpartum, underwent pelvic floor dysfunction screening at the postpartum rehabilitation clinic of a tertiary-level hospital. Ms. Li complained of occasional urinary incontinence when coughing, but had no symptoms such as rectal pressure. The clinician initially suspected pelvic floor dysfunction and recommended a pelvic floor ultrasound examination for definitive diagnosis. The method of this invention was used to automatically analyze the pelvic floor ultrasound image sequences of this woman to output objective screening results.

[0087] II. Specific Implementation and Numerical Calculations at Each Stage: (I) S1: Acquisition and preprocessing of time-series ultrasound image sequences Image Acquisition: An ultrasound diagnostic device equipped with a transperineal volume probe will be operated by an ultrasound physician to guide the mother in performing the following three actions in sequence, while simultaneously acquiring a midsagittal ultrasound image sequence of the pelvic floor support structure area: Resting state: The mother lies flat with her legs bent, keeping her pelvic floor muscles completely relaxed. The images are captured continuously for 10 seconds at a frame rate of 20 frames per second, for a total of 200 frames.

[0088] Effective anal contraction state: After the data was collected in the resting state, the mother was instructed to contract her pelvic floor muscles as much as possible (such as tightening the anus and lifting it), and maintain the maximum contraction force for 8 seconds to acquire a total of 160 frames.

[0089] maximum Action state: After the anal sphincter contraction state is recovered, the mother is instructed to take a deep breath and hold it down forcefully (like the action of defecation) to simulate an increase in abdominal pressure. The images are continuously collected for 10 seconds, and a total of 200 frames are acquired.

[0090] Image quality assessment and preprocessing: Before inputting the image sequence into the network, quality assessment is performed. The sharpness (Laplacian operator variance), contrast (root mean square contrast), and visibility scores of the pubic symphysis and levator ani muscle (using a pre-trained anatomical structure detection model) are calculated for each frame.

[0091] Quality assessment: In the 120th frame of the image in the resting state, the sharpness score was calculated to be 85 (threshold 50), the contrast score was 0.68 (threshold 0.4), and the anatomical structure visibility score was 0.92 (threshold 0.7), all of which are higher than the preset thresholds, and the image is qualified.

[0092] Abnormal Frame Handling: In the valid anal contraction state sequence, the 45th frame image is blurred due to slight movement of the mother, causing the sharpness score to drop to 32, which is below the threshold and is automatically discarded. The system uses cubic spline interpolation to synthesize an "interpolated frame" of the 45th frame using the image features and displacement field information of the 44th and 46th frames to maintain temporal integrity. Finally, after quality screening and interpolation, the sequences of the three states all form continuous, high-quality image sequences, uniformly scaled to 512×512 pixels, and the grayscale values ​​normalized to [missing value]. .

[0093] (II) S2: Temporal segmentation network processing and feature extraction Network input and processing: The three preprocessed time-series image sequences (resting, anal contraction, ...) are processed together. The images are fed into a temporal segmentation network. This network is based on the U-Net architecture and incorporates temporal convolutional and spatial attention modules. In this example, the network input consists of 16 consecutive frames of images (N=16, covering approximately 0.8 seconds) to capture short-term dynamics.

[0094] Dynamic anatomical mask sequence and displacement temporal feature output: Segmentation Mask: The network synchronously outputs probability maps of the pubic symphysis, levator ani muscle, and pelvic hiatus in each frame of the image. For example, in the resting state, after setting the pixel probability threshold of the pubic symphysis region to 0.85, a complete segmentation mask is obtained; the outline of the levator ani muscle at the attachment area of ​​the pubic ramus is also clearly delineated; the edge of the pelvic hiatus is clear, and its closed shape is presented.

[0095] Displacement Vector Field: The network simultaneously outputs the displacement vector field of the levator ani muscle attachment point relative to the lower edge of the pubic symphysis. For example, in the 30th frame of the effective anal contraction state (t=1.5 seconds, relative to the start of contraction), the displacement vector of the left branch attachment point of the levator ani muscle is calculated to be (-1.2, -0.8) pixels (i.e., moving upwards and towards the midline); the displacement vector of the right branch attachment point is (1.1, -0.9) pixels. A displacement time-series curve is formed throughout the entire anal contraction process.

[0096] Feature extraction results: After network processing, dynamic dissection mask sequence (a total of 560 frames) and displacement temporal features (a total of 559 inter-frame displacement fields) were obtained.

[0097] (III) S3: Temporal feature extraction of pelvic hiatus area Based on the dynamic anatomical mask sequence, the temporal characteristics of the area of ​​the pelvic hiatus are calculated.

[0098] Area calculation: The number of pixels within the segmentation mask of the pelvic septum opening in each frame of the image is accumulated, and then converted into the actual area (cm²) based on the physical resolution (0.1 mm / pixel). 2 ).

[0099] Area time-series curve: Plot the complete area change curve from rest to maximum anal contraction and then to recovery.

[0100] resting area ( ): Take the average area of ​​all frames in the resting state and calculate... .

[0101] Maximum anal sphincter area ( ): In the sequence of anal contraction states, find the minimum area and calculate it. .

[0102] Area change rate: Calculate the maximum change rate during the anal contraction phase. This reflects the speed and strength of pelvic floor muscle contraction.

[0103] Recovery time constant ( Fitting: The moment of maximum anal contraction ( Identification: The system automatically identifies the moment when the effective anal contraction ends by jointly detecting the rate of change of the area of ​​the pelvic hiatus and the rate of change of the displacement field. When the rate of change of area approaches zero from a negative value and remains so for 0.3 seconds, it is initially marked as the start of the maximum anal contraction; subsequently, when the rate of change of area turns positive and the amplitude of the displacement field increases significantly, this turning point is marked as... The precise time to determine the end of the effective anal sphincter contraction state is as follows. In this example, = 8.0 seconds (starting from the start of the anal contraction movement).

[0104] Exponential fitting: Extracting from Substitute the area data points back to their resting state into the formula. Perform fitting.

[0105] Calculation results: The recovery time constant is obtained by fitting using the nonlinear least squares method. The τ value represents the time required for the area of ​​the pelvic hiatus to decay to 1 / e of its initial change (i.e., 63.2% of the total recovery) during the recovery process from its maximum contraction state. This is 1.6 seconds. Compared to the average of healthy individuals (τ ≈ 1.0 seconds), this woman's recovery speed is significantly slower; a larger τ value indicates a slower recovery.

[0106] (iv) S4: Temporal Attention Fusion Network and Spatiotemporal Feature Vector Generation Feature Alignment and Input: The extracted displacement temporal features (displacement of the levator ani muscle attachment point in the x, y directions) are strictly aligned with the area temporal features (area values) in the time dimension. The feature vector at each time point t... The original feature vector consists of the area value at the current moment, the rate of change of area, and the displacement of the left and right branches of the levator ani muscle, forming a dimension of (1+1+2+2=6).

[0107] Network processing: The aligned multimodal feature sequence is input into the temporal attention fusion network.

[0108] Temporal attention module: The network assigns dynamic weights to features at different time points. For example, during the maximum anal contraction maintenance period (t=46 seconds), the model assigns higher weights to the area feature. This is because the change in the area of ​​the rupture hole is the main indicator at this time; while from the state of anal contraction to... At the instant of state transition (t=89 seconds), the model assigned higher weights to the levator ani muscle displacement feature. ( ), to capture the coordination and abrupt changes in the motion of the attachment point.

[0109] Feature fusion: The weighted feature vectors are concatenated along their feature dimensions, and then passed through a fully connected layer to generate a 128-dimensional spatiotemporal feature vector. This vector encodes the changes in the pelvic floor of a postpartum woman from rest to contraction and then to loading. Key information throughout the dynamic process includes shrinkage efficiency, recovery speed, and the coordination of the supporting structure.

[0110] (V) S5: Classifier Output and Result Interpretation Multi-branch classifier output: First branch (screening results): This involves the spatiotemporal feature vector. Input the first branch (binary classifier) ​​of the multi-branch temporal classification network. The probability of this branch outputting a "positive" result is... The result is higher than the preset threshold (0.5), so the system outputs the screening result as: positive (pelvic floor dysfunction exists).

[0111] Second branch (functional disorder type): Since the result of the first branch is positive, the system automatically activates the second branch (three-classifier). This branch outputs the probabilities of each type as follows: pelvic floor relaxation dominant type. Levator ani muscle injury-dominant type Hybrid Therefore, the system outputs the following type of dysfunction: levator ani muscle injury-dominant type.

[0112] Interpretation of Results and Contribution Analysis: Key time segment localization: The system uses a gradient backpropagation mechanism to locate the key time segment that contributes most to the "positive" result. Results show that the peak contribution occurs during the recovery phase after the effective anal sphincter contraction state ends. Instant (seconds), and recovery time constant The fitting intervals highly overlap.

[0113] Attention weight mapping: The distribution of attention weights extracted from the temporal attention fusion network shows that within the segment with the highest contribution, the weights (average) of the displacement temporal features are... The value was significantly higher than the area time series feature (mean). This is completely consistent with the classification criteria of "levator ani muscle injury-dominant type" output by the second branch.

[0114] Interpretive Output: The system automatically extracts the most contributing key temporal segments (corresponding to frames 160 to 190 of the ultrasound image) and replays them on the diagnostic interface as dynamic video clips. In the video, the system highlights the attachment point of the levator ani muscle using a heatmap and overlays the displacement vector trajectory, visually demonstrating the abnormal movement pattern of this area during the recovery period. Clinicians can observe that after relaxation, the levator ani muscle of the postpartum woman exhibits uncoordinated tremors and delayed retraction, validating the AI ​​model's conclusion of "levator ani muscle injury-dominated type."

[0115] (vi) Confidence level and verification mechanism Confidence score output: Along with the screening results, the classifier also outputs the confidence score for this prediction. (Preset threshold) If the score is above the threshold, the system will automatically determine that no physician review is required.

[0116] Results Adoption: After reviewing the screening results, classification conclusions, and explanatory video clips output by the AI, the clinician found the results consistent with their initial judgment and clinical experience, and directly adopted them. The final diagnosis was: postpartum pelvic floor dysfunction (levator ani muscle injury-dominant type), and targeted pelvic floor muscle rehabilitation training was recommended.

[0117] III. Comparison of Results and Conclusions: To verify the advantages of the method of this invention, the screening results of this case were compared with those of traditional static parameter measurement methods:

[0118] Note: The recovery time constant τ is derived from the exponential decay model. The physical meaning of τ, obtained through fitting, is the time interval required for the area of ​​the pelvic floor hiatus to decay to 1 / e of its initial change (i.e., 63.2% of the total recovery amount) during the recovery process from an effective anal sphincter state. A smaller τ value indicates a faster recovery speed of the pelvic floor muscles, while a larger τ value suggests a decreased recovery ability of the pelvic floor muscles.

[0119] IV. Conclusion: This application obtains data on the mother's resting state, anal sphincter contraction, and... Using temporal ultrasound images from the patient under these conditions, and employing a temporal segmentation network, a temporal attention fusion network, and a classifier, the method successfully identified pelvic floor dysfunction and precisely located it as a levator ani muscle injury-dominated type. Compared to traditional methods that rely solely on static morphological parameters, this invention accurately captures the key dynamic functional abnormality of delayed recovery after pelvic floor muscle contraction, avoiding missed diagnoses and providing more clinically significant detailed diagnostic results. This fully validates the effectiveness of this method in screening for postpartum pelvic floor dysfunction.

[0120] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in the present invention, and these should all be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for screening postpartum pelvic floor dysfunction based on AI image recognition, characterized in that, Includes the following steps: Obtain the images of the person to be screened in the resting state, in the state of effective anal contraction, and at maximum... A sequence of midsagittal ultrasound images of the pelvic floor support structures region acquired continuously during action; The time-series ultrasound image sequence is input into a time-series segmentation network, and the segmentation mask of the pubic symphysis, levator ani muscle and pelvic hiatus in each frame image is extracted synchronously, as well as the displacement vector field of the levator ani muscle attachment point relative to the lower edge of the pubic symphysis between adjacent frames, to obtain the dynamic anatomical mask sequence and displacement temporal features. The temporal features of the area of ​​the pelvic hiatus are extracted based on the dynamic anatomical mask sequence. The temporal features of the area include the area change rate and the recovery time constant. After aligning the displacement temporal features and the area temporal features in the time dimension, they are input into the temporal attention fusion network to generate a spatiotemporal feature vector that reflects the dynamic function of the pelvic floor support structure. The spatiotemporal feature vector is input into the classifier, which outputs the screening results of pelvic floor dysfunction.

2. The method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 1, characterized in that, Before inputting the temporal ultrasound image sequence into the temporal segmentation network, an image quality assessment step is also included: Calculate the sharpness, contrast, and visibility scores of key pelvic floor anatomical structures for each frame of image, remove frames that are below a preset quality threshold, and perform temporal interpolation to complete the removed sequence. The time-series segmentation network is based on - A deep learning network is constructed and embedded with a temporal convolutional module and a spatial attention module. The temporal convolutional module is used to aggregate contextual information between adjacent frames, and the spatial attention module is used to enhance the representation weights of the pubic symphysis, levator ani muscle and pelvic hiatus edge region.

3. The method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 2, characterized in that, The displacement vector field is generated as follows: Based on the segmentation mask of levator ani muscle and pubic symphysis output by the temporal segmentation network, key points of the lower edge of the pubic symphysis and the contour boundary of levator ani muscle in the attachment area of ​​pubic ramus are extracted. Dense displacement field estimation is performed between adjacent frames using a deformable convolutional network, and the displacement field is regularized using temporal smoothing constraints and anatomical structure prior constraints to suppress displacement estimation errors caused by ultrasound speckle noise.

4. The method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 3, characterized in that, The recovery time constant is: the time interval required for the area of ​​the pelvic hiatus to decrease to 1 / e of its initial change during the recovery process from the effective anal contraction state, that is, the time required for the area to have recovered to 63.2% of the total recovery amount; The recovery time constant The following formula was used for fitting: ; in, Represents a time variable. The point at which the effective anal sphincter contraction ends. For a moment The area of ​​the pelvic diaphragm hiatus This represents the area of ​​the pelvic hiatus in the resting state. The area of ​​the pelvic hiatus under effective anal contraction. It is a natural constant. This is the recovery time constant, used to quantify the recovery rate of the pelvic floor muscle contraction area. The smaller the value, the faster the pelvic floor muscles recover.

5. The method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 4, characterized in that, The temporal attention fusion network includes: The temporal attention module is used to assign dynamic weights to the displacement temporal features and the area temporal features at different time nodes; The feature concatenation layer concatenates the weighted displacement time series features with the area time series features along the feature dimension. The fully connected layer maps the concatenated features to the spatiotemporal feature vector; The calculation method of the temporal attention module is as follows: ; ; in, Indicates time The original feature vector obtained by concatenating the displacement time series features and the area time series features. and The weight matrix is ​​a learnable matrix. This is a learnable attention parameter vector. This is the hidden state from the previous moment. The hyperbolic tangent activation function is used. For normalized exponential functions, For a moment Attention weight vector, This indicates element-wise multiplication. This is the weighted eigenvector.

6. The method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 5, characterized in that, The classifier is a temporal convolutional network based on dilated convolution, and its output layer has a binary classification structure to output positive or negative screening results for pelvic floor dysfunction.

7. The method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 5, characterized in that, The classifier is a multi-branch temporal classification network. Its first branch outputs a binary classification screening result, and the second branch outputs a classification result of the functional disorder type when the screening result is positive. The functional disorder types include pelvic floor relaxation-dominant type, levator ani muscle injury-dominant type, and mixed type. The classification of functional impairment types is based on the contribution distribution of displacement temporal features and area temporal features in the spatiotemporal feature vector, and the contribution is obtained through the attention weight mapping of the temporal attention fusion network.

8. The method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 7, characterized in that, While outputting the screening results, the classifier also locates the key time segment that contributes the most to the classification results through the gradient backpropagation mechanism, and uses the ultrasound image frame corresponding to the key time segment as the interpretive output.

9. A method for screening postpartum pelvic floor dysfunction based on AI image recognition according to claim 7, characterized in that, The classifier outputs the confidence score of the prediction results along with the screening results. When the confidence score is lower than a preset threshold, the system automatically marks the screening result as needing to be reviewed by a professional physician and outputs the time segment position corresponding to the low confidence score.

10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 9.