Abstract

This study was aimed at analyzing the injury of anal sphincter (AS) for primipara caused by the vaginal delivery and cesarean section under the guidance of three-dimensional (3D) ultrasound images. A total of 160 patients who underwent postpartum reexamination were enrolled as the research subjects, including 80 cases of natural delivery (group A) and 80 cases of cesarean section pregnant women (group B), all of whom underwent three-dimensional ultrasound imaging scans. At the same time, an optimized kernel regression reconstruction (KRR) algorithm was proposed for the enhancement of ultrasound images. It was found that the running time after acceleration by the graphics processing unit (GPU) was obviously superior to that of a single-threaded CPU and a multithreaded CPU, showing statistical differences (). The thickness of the proximal and distal external AS in group A was much thinner in contrast to that in group B, showing statistical difference (). Therefore, the 3D ultrasound image based on the optimized KRR algorithm can accurately assess the morphology of AS injury in primipara, and the adverse effect of natural delivery on the AS complex in primipara was greater than that of cesarean section.

1. Introduction

In recent years, with the continuous progress and development of health awareness, women are paying more and more attention to their own health and recovery of postpartum pelvic floor function [1]. Anal sphincter complex (ASC) is the main component of the posterior pelvic cavity, and it is an important structure to maintain the normal exhaust and defecation of the anus. ASC is a morphological and functional unity composed of internal anal sphincter (AS), external AS, puborectalis, and combined longitudinal muscles. The delivery of pregnant women is the main cause of injury of ASC [2, 3]. The injury of ASC can cause fecal incontinence or exhaust incontinence, and the incidence can reach up to 60% [4]. Neurological or mechanical injury to the ASC caused by vaginal delivery is more common. For women who give birth in the vagina for the first time, about 30% of women will cause AS injury during the delivery process [5, 6]. A small number of pregnant women with cesarean section can also cause injury of AS. Studies have shown that about 2% of women who choose cesarean section will have symptoms of anal incontinence [7, 8].

At present, magnetic resonance imaging (MRI) and endoanal ultrasound (EAUS) are widely used in the diagnosis and evaluation of AS [9, 10]. With the continuous update and development of medical equipment, perineal ultrasound (translabial ultrasound (TLUS)) is increasingly used in the evaluation of female pelvic floor muscle function [11]. Compared with MRI, ultrasound diagnosis is cheaper, convenient, fast, and easier for patients to accept, and the diagnosis time is shorter, so it is more comfortable than rectal ultrasound diagnosis [12]. Although there are many advantages of 3D ultrasound, the speed of 3D ultrasound calculation is relatively slow, so the acceleration of its algorithm is a very critical step [13]. The freestyle 3D kernel regression reconstruction (KRR) algorithm is an algorithm that is very suitable for GPU acceleration, which can make the algorithm better put into practical use.

Compared with other algorithms, the KRR algorithm has better artifacts and higher graphics quality, but it also takes more time and cost to calculate [14]. The 3D ultrasound image reconstructed by the GPU-accelerated 3D ultrasound reconstruction algorithm can well reflect the shape of the original data volume, which can assist medical staff in diagnosis and effectively improve the efficiency of diagnosis and treatment. The KRR algorithm was constructed to accelerate the GPU, which can greatly reduce the running time of the algorithm for 3D reconstruction graphics. To sum up, the combination of artificial intelligence algorithm and imaging technology in clinical disease diagnosis is a hot research topic of scholars at present. In this study, 160 patients who underwent postpartum reexamination were included as the research objects, 80 cases of natural delivery were set as group A, and 80 pregnant women with cesarean section were set as group B, all of which underwent three-dimensional ultrasound imaging scans. At the same time, an optimized KRR algorithm was proposed to enhance the ultrasonic image processing, and then the changes of the anal sphincter complex in pregnant women under different delivery methods were comprehensively evaluated.

2. Materials and Methods

2.1. Research Objects

In this study, 160 cases of patients who were admitted to the hospital for postpartum reexamination from October 20, 2017 to October 20, 2019 were selected as the research objects, of which 80 cases were natural delivery (group A) and 80 cases were pregnant women with cesarean section (group B). The study had been approved by the ethics committee of the hospital, and the patients and their families signed the informed consent forms.

The inclusion criteria were defined as follows: primiparous women aged 20~30 years old; primiparous women whose singleton and third trimester ultrasound confirmed that the size of the fetus was in line with the gestational week, 42 days after delivery; the women undergoing cesarean section who were in the second stage; patients who had clear consciousness and were able to cooperate the study; and patients with no pelvic surgery.

The exclusion criteria were defined as follows: (1) patients with psychiatric diseases; (2) patients with incomplete clinical data; (3) patients who withdrew from the experiment due to their own reasons; (4) patients with speech and communication impairment, hearing impairment, or severe cognitive impairment; and (5) patients with psychiatric disorders.

2.2. Operation Methods

The ultrasonic diagnostic instrument was used to diagnose the patient. The ultrasonic probe frequency was 5-9 MHz intracavitary volume. The specific operation methods were defined as follows. The medical record number, age, height, delivery weight, fetal weight at birth, delivery method, and midwifery method of postpartum pregnant woman were recorded. The patient was instructed to take the lithotomy position ten minutes after defecation and urination, while flexing the hips and slightly abducting the knees. The female probe was coated with coupling agent and wrapped in a condom. The probe was placed at the patient’s perineum to scan from bottom to top in the cross-section (from the end of the anus to the anorectal angle). The ASC was observed in multiple planes in the following three planes: proximal plane, middle plane, and distal plane. The thickness of AS inside the anus was measured at the 3, 6, 9, and 12 o’clock directions.

2.3. The Construction of Freestyle KR-Based 3D Ultrasound Reconstruction Algorithm

In the KRR algorithm of GPU version, the algorithm was divided into two parts: data acquisition and target reconstruction. The most important step was data acquisition, which directly affected the accuracy and efficiency of subsequent image reconstruction. Data acquisition was mainly completed by two parts. The first part was to calibrate the two-dimensional B-ultrasound image to determine its correct physical position; and the second part was to select the ultrasound observation area to be reconstructed. With the development of machine learning methods, the KRR algorithm began to be widely used. This idea was called the KR method in nonparametric estimation. The KRR-based 3D reconstruction algorithm was developed on this basis in this study.

After the initial filling stage, a discrete 3D ultrasound image data was obtained. Each point in this image can be expressed by equation (1) under nonparametric estimation:

In the above equation (1), referred to the observed value, was the regression equation, was the 3D coordinates of the corresponding point, represented the noise error without interfere with each other, and represented all the points in the 3D graph. If was a sampling point near the point, can be expressed as equation (2) below after incorporated with Taylor equation.

It could be transformed into

The above equation showed that if the Taylor function was considered the local performance of the regression function, then the estimated parameters in the above equation can be expressed as the estimated solution of the regression equation when the data was .

The regression equation obtained can reflect the real data only when closer to 0. The least squares equation was used to make the observed value closer to the value of the regression equation :

In the above equation, referred to the kernel function, and it was also a weighting function. It was mainly used to determine the influence of the points around the calculation point on the calculation point. If the surrounding points were farther from the calculation center point, the weighting effect would be worse, and the smoothing parameter was used to control this influence. If the function was a symmetric function at this time, and its maximum value was 0, then it satisfied equation (5) below:

In the equation above, was a constant value and was a Gaussian function. Just as the estimation shown in the least square method of the previous equation (4), parameter affected the accuracy and complexity of the voxel in the local approximation. Therefore, the size of was very important. The kernel function became a function with three directional variables, and its bandwidth should be a matrix. The selected Gaussian function equation was as follows:

In equation (6), was the bandwidth of the Gaussian function, and it was also the smoothing parameter introduced above. As a 3D point , was found. For more convenient calculation, the value was set to 3. Based on the condition of 3D point, equation (4) could be equivalently transformed into the below equation:

where represented the impact of the point on the calculation point of the central point . The value was determined based on the distance from the point to the point and the corresponding bandwidth M, which could be expressed as follows:

In order to facilitate the calculation of the computer, it had to solve the minimum case of equation (7) and convert it into the form of a matrix. For each point around the calculation point, there was a distance matrix to store the distance from the surrounding points to the calculation point. The 3D matrix was shown as follows:

This matrix was also the distance matrix that the CPU needed to prepare for GPU acceleration when the algorithm was implemented in the following algorithm. When the minimum value of equation (7) was obtained, the corresponding value of was calculated with the below equation:

It was assumed that the estimated value was ; the estimated value sought in this study was according to above descriptions. Thus, equation (11) could be obtained.

After the distance matrix was obtained, another matrix was needed to calculate the impact of the surrounding points to the calculation point, which referred to the distance weighting matrix. Obviously, the Gaussian function in equation (8) could be undertaken as a weighting reference. In consideration of the matrix form for finding the minimum of equation (7), a matrix could be used, which was a diagonal matrix. The element value at was in equation (8). According to the above conditions, the matrix operation equation corresponding to the estimated value can be obtained as follows through matrix operation of equation (7):

In the above equation (12), was a column vector, only the first number was 1, and the others were all 0, aiming to find the solution of more convenient. was also a column vector, the pixel value corresponding to coordinate was stored in the 3D ultrasound image, and the size of the vector was determined by . However, since all points were not calculated in actual work, the calculation point was selected as the center, and a cube of size was selected in the input of the 3D image, and the pixel value in the cube was taken as the value of . The selection of kSize had a lot to do with the actual programming. The above all were the introductions of the 3D ultrasound reconstruction algorithm.

2.4. Statistical Methods

The data processing was analyzed by SPSS19.0 version statistical software. The measurement data was indicated as (), and the count data was displayed as percentage (%). The running time was compared in pairwise using the one-way analysis of variance. The age, height, weight, course of disease, and diagnostic accuracy of patients between groups were compared with the paired test. The difference was statistically significant at .

3. Results

3.1. Comparison on Basic Data of Patients

As shown in Figure 1, the average age of the patients in group A was years, the average height was  cm, the average weight at delivery was  kg, and the average weight of the newborn was  kg. In group B, the average age, average height, average weight, average weight at delivery of the women, and average weight of the newborn were years,  cm,  kg, and  kg, respectively. There was no statistical difference between the two groups of patients in the comparison of basic data (), so the experimental research can be carried out.

3.2. Comparison on GPU Acceleration Effect of KRR Algorithm

When the CPU acceleration effects were compared, the single-threaded CPU, multithreaded CPU, and GPU were selected, and the results were shown in Figure 2 below. The running time of single-threaded CPU was seconds, the running time of multithreaded CPU was seconds, and the running time of the GPU was seconds. Thus, the running time after GPU acceleration was more obvious, which was greatly different from the running time of single-threaded CPU and multithreaded CPU, showing meaningful differences ().

3.3. Comparison of the Calculation Parameters of KRR Algorithm to the Acceleration Effect

To analyze the impacts of different calculation parameters on the actual reconstruction effect, the different kSizes of the AS data with a size of were selected for comparison, and the results were as follows. As illustrated in Figures 35, the size of kSize had a great influence on the computing time of the KR algorithm. When , the CPU computing time was seconds, and when , the CPU computing time was seconds, so the running time had increased by about 80%. When , the CPU computing time was seconds, which doubled the time on the basis; in addition, the running time of GPU at was seconds. When , the running time was seconds, and when , the running time was seconds. The running time had increased nearly twice. It indicated that the change of kSize could affect the reconstruction computing time of KRR algorithm, and the differences in computing time were obvious ().

Figures 68 showed the 3D tomographic images of AS of healthy people and the 3D ultrasound images of the patients after delivery. It showed that the structure of the perineum of healthy women was complete and the structure of the anal sphincter muscle was normal, while the structure of the perineum of the puerpera was incomplete, and the anal sphincter complex had a certain degree of rupture.

3.4. Comparison on as Measurement Results of Two Groups of Patients

Figure 9 illustrated that the thickness of the proximal external AS section measured at 12 o’clock and 6 o’clock was  mm and  mm, respectively, while those in group B were  mm and  mm, respectively. Thus, the AS in group A was thinner than that in group B, and the difference was remarkable in statistics ().

Figure 10 revealed that the thickness of the measured mid-extra-anal AS section at 12 o’clock was relatively weaker than that in group B, and the difference was obvious in statistics ().

In Figures 11 and 12, the measured thicknesses of the distal external AS section at 12 o’clock and 6 o’clock were  mm and  mm, respectively, while those in group B were  mm and  mm, respectively. The measured AS in the anus were  mm and  mm, respectively, and the AS thickness in group B were  mm and  mm, respectively. The thickness comparison between the two groups show huge difference (). The thickness of the puborectalis muscle of the two groups of patients was measured through experiments, and it was found that the thickness of both sides of the puborectalis muscle of the two groups did not change greatly ().

4. Discussion

ASC is an important part of maintaining anal self-regulation. Any part of ASC can cause anal defecation, gas incontinence, and other symptoms [15]. Therefore, accurate diagnosis and timely exercise and repair of injury of ASC are of great significance to reduce or avoid the occurrence of anal incontinence in the future [16]. The optimized freestyle KRR algorithm in this study had greatly improved the computational efficiency after GPU acceleration. The results showed that in terms of the CPU acceleration effect, the running time of single-threaded CPU was seconds, the running time of the multithreaded CPU was seconds, and the running time of GPU was seconds. The running time after GPU acceleration was the most obvious, showing dramatic difference (). The comparison of different kSize revealed that the size of kSize had a great impact on the computing time of the KRR algorithm. The running time of GPU was seconds when , seconds when , and seconds when . Such results indicated that the change of kSize could affect the reconstruction operation time of the KRR algorithm, and the operation time difference between them was large dramatically (). Such results suggested that the algorithm could be optimized to greatly increase the speed of calculation and can quickly make judgments for the diagnosis of the patient’s condition, saving diagnosis time. This was more consistent with the research results of Wen et al. [17], and both show that the optimized KRR algorithm could not only improve the diagnosis effect but also shorten the calculation time and improve the overall diagnosis efficiency.

The optimized KRR algorithm was applied to the 3D ultrasound images of the primipara. It was found that the thickness of the measured proximal external AS section at 12 o’clock and 6 o’clock were  mm and  mm, respectively, while those in group B were  mm and  mm, respectively. The thickness of the measure AS section in group A was thinner than that in group B, with great difference (). This indicated that the anal sphincter complex was thinner in women who have given birth naturally than in women who have had a cesarean section, which may increase the risk of anal incontinence. Such result was similar to the research conclusions of Levin et al. [18]. It suggested that the AS thickness of primipara at 12 o’clock after vaginal delivery was thinner than the prenatal thickness, and there was no obvious difference in thickness in other directions. The measurement results of the puborectalis muscle revealed that there was no observable difference in the thickness of the bilateral puborectalis between vaginal delivery patients and cesarean section patients, showing no great difference, which may be related to the anterior and posterior diameter and area of the pelvic septum, which had to be studied and discussed in future clinical trials.

5. Conclusion

A freestyle KRR algorithm was constructed firstly, and GPU was adopted to optimize its computing time. Then, it was applied to 3D ultrasound images to analyze the injury of ASC of primiparas during vaginal delivery and cesarean section. It was found that the super 3D ultrasound images under the KRR algorithm could not only improve the diagnosis effect but also shorten the calculation time, improve the overall diagnosis efficiency, and can assist physicians in judging the injury of ASC of the primipara. The shortcomings of this study were that the number of selected patient samples was too small; the data led to a small scope of application of the research results and may also had some adverse effects on the results. In the process of follow-up research, it will consider increasing the sample of patients and expanding the scope of investigation. In addition, it will continue to study other factors affecting the injury of ASC and further explore new clinical treatment approaches for injury of ASC.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflicts of interest.