Abstract
The study was intended to eliminate the noise in three-dimensional transvaginal ultrasound (3D-TVS) images and improve the diagnostic accuracy in intrauterine adhesion (IUA). The extreme learning machine (ELM) algorithm was introduced first for statement. One hundred and thirty cases of suspected IUA patients were taken as the research subjects. The denoising effects of ELM algorithm were evaluated in terms of mean square errors (MSE), peak signal-to-noise ratio (PSNR), and running time, and its diagnostic efficiency of IUA was identified from precise, specificity, and sensitivity. Furthermore, the support vector machine (SVM) algorithm was introduced for comparison. It was found that the MSE and PSNR of the ELM algorithm were 0.0021 and 64.5, respectively, and its average operation time was 11.22 ± 0.89s, that the MSE values of SVM algorithm and ELM algorithm were 0.0045 and 0.0021 and the PSNR values were 52.3 and 64.5, respectively, and that the average running time of SVM algorithm was 16.35 ± 1.33s, and the average running time of ELM algorithm was 11.22 ± 0.89s, superior to the SVM algorithm in denoising effects. Moreover, the ELM algorithm showed excellent diagnostic efficiency for patients with various degrees of IUA. In conclusion, ELM can effectively eliminate noise in 3D-TVS images and demonstrates excellent diagnostic efficiency on IUA, which is worthy of clinical application.
1. Introduction
Intrauterine adhesion (IUA) is a common gynecological disease that causes damage to the basal layer of the endometrium due to trauma or inflammation, manifested by part or complete adhesion of the cervical canal and uterine cavity [1]. Generally, the IUA patient’s endometrium is damaged, leading to different degrees of fibrosis in the endometrium, which is common in pregnant women, and occurs after artificial abortion, spontaneous abortion and curettage, or postpartum hemorrhage and curettage [2, 3]. As uterine wall softens during pregnancy, it is not easy to control the curettage depth. Excessive scraping results in large negative pressure during suction, causing IUA [4]. In addition, the irregular method to dilate the cervix and repeated entry of medical devices into the uterus also increase the chance of IUA [5]. The main symptoms of IUA patients include periodic abdominal pain, dysmenorrhea, amenorrhea, and irregular menstruation. In severe cases, it may lead to female infertility. Some pregnant women with IUA may suffer from ectopic pregnancy, habitual abortion, stillbirth, etc. [6, 7], posing a huge threat to women’s physical and mental health.
At present, the clinical examination methods used in IUA patients involve hysteroscopy (HSC), hysterosalpingography (HSG), sonohysterography (SHG), magnetic resonance imaging (MRI), two-dimensional transvaginal ultrasound (2D-TVS), and 3D-TVS [8, 9]. Among them, HSC examination is the gold standard for clinical diagnosis of IUA, which is able to visually inspect the internal conditions of the uterine cavity, whereas HSC is an invasive examination, and the cost of HSC examination is relatively high [10]. HSG is also an invasive examination, accompanied by many contraindications and complications. It takes a certain period of time for women to receive HSG before they can become pregnant [11]. SHG is to inject contrast agent into uterine cavity and display uterine cavity lesions taking advantage of the good acoustic interface between the endometrium and the contrast agent. It is less traumatic, but SHG cannot clearly show the adhesion of the inspection area, suitable for simple screening [12]. MRI is a new examination method, but its application in IUA is limited. 2D-TVS examination can reflect the intrauterine conditions of IUA patients to a certain extent, but the imaging clarity is poor and the coronal section cannot be acquired. Its diagnosis accuracy of incomplete lock symptoms and mild adhesions is poor, and missed diagnosis is easy to occur [13]. 3D-TVS examination makes up for the deficiency of 2D-TVS. It can display intrauterine lesions in IUA patients, including the shape, size, and outline of the lesion. Also, it exhibits relatively good detection effects on mild adhesion. At present, 3D-TVS is extensively used for being noninvasive, simple, and less painful [14].
In clinical practice, missed diagnosis and misdiagnosis are likely to happen during 3D-TVS, which is attributed to the imaging accuracy limitation or the rotation angle limitation [15]. There is a large amount of noise in 3D-TVS images as a result of failing to process the speckles and noise in the 2D-TVS image [16]. Besides, it may cause distortion of three-dimensional images due to the actual experience and operating level limitations of clinicians, affecting the diagnosis of IUA to a certain extent.
2. Materials and Methods
2.1. Research Subjects
In this study, 138 suspected IUA patients (age range: From 23 to 48 years old; mean age: 29 ± 6.11), admitted to hospital from May 2018 to April 2020, were selected as the research subjects. The main symptoms of 138 patients were infertility, amenorrhea, and irregular menstruation. They all had a history of pregnancy and uterine cavity operation. Among them, there were 11 patients with secondary infertility (8.0%), 12 patients with amenorrhea (8.7%), 119 patients with irregular menstruation (86.2%), and 131 patients with a history of miscarriage (94.9%). All patients were diagnosed by 3D-TVS and the diagnosis results were analyzed. This study had got permission from the Medical Ethics Committee of hospital. The patients and their families had signed informed consent forms.
Inclusion criteria: (i) patients aged between 18 and 65; (ii) patients who voluntarily participated in the study and were willing to cooperate with the doctor in data collection and health surveys; (iii) patients suspected of having IUA.
Exclusion criteria: (i) patients with incomplete clinical data; (ii) patients who were unwilling to undergo HSC, 2D-TVS, and 3D-TVS examinations; (iii) patients with other serious gynecological diseases; (iv) patients who intended to be pregnant again.
2.2. The ELM Algorithm
ELM is a new and practical single-hidden layer feedforward neural network (SLGN) proposed by Professor Huang Guangbin. Compared with the traditional neural network algorithms, the ELM algorithm does not need to manually set input weights and does not need the generalized SLFN. The ELM algorithm has good generalization performance and fast learning speed and can produce the only optimal solution [17]. The implementation process of the ELM algorithm is as follows.
It is assumed that there are S different samples , where and ; a SLFN with C hidden layer nodes can be expressed as follows:where C represents the hidden layer node, represents the hidden layer output weight, represents the activation function, represents the weight vector connecting the input data and the th hidden layer node, represents the weight vector connecting the output data and the th hidden layer node, represents the inner product of the weight vector, represents the offset of the th hidden layer point, and represents the th output sample on SLFN. The goal for an SLFN is to obtain the minimum output error value, namely,
That is, there are , , and that satisfy the following equation:
Equation (3) is expressed in the matrix form as follows:where represents the hidden layer output matrix of SLFN and is the expected output matrix, and equation (5) is inferred:
Since the ELM algorithm sets the input weight and hidden layer bias of the hidden layer of the SLFN network, then the output matrix H can be uniquely determined. The training process of SLFNs can be converted to solve the linear system, and then, the output weight can be determined by 0. The least squares optimal solution of the above system is calculated as follows:where represents the generalized inverse matrix of H, and then, the output sample equation of the ELM algorithm can be expressed as follows:
According to the orthogonal projection method, the parameter learning method of the ELM algorithm is as follows:
The corresponding ELM output equation can be expressed as follows:or
The corresponding ELM output equation at this time is then expressed as follows:
2.3. Denoising Process of ELM Algorithm
The ELM denoising process for three-dimensional ultrasound images is divided into two steps: training stage and testing stage. The training stage is to select the appropriate activation function and specify the number of hidden layer nodes of SLGN, and then, the algorithm starts training according to the input ultrasound image. Finally, the output weight is calculated and the image denoising model is established. The training stage is to test the noisy image according to the existing mathematical model and finally complete the denoising process [18].
It is assumed that there is an original image I0 free of noise, and noise-added image I is obtained by adding noise to I0. For the noisy image I, the pixel value of the local image block in I and the pixel differential derivative are extracted. For each pixel x in I, with x(m, n) as the center, a partial image block Pm,n with a size of h × h is obtained. The row vector p(m,n) is extracted with its size set as h2. For the first-order differential and second-order differential derivative of each pixel x, the difference equation can be used to find all 5 differential values for each x. The row vector composed of all differential values is expressed as d(m, n). Therefore, for each pixel x, its feature vector u(m,n) is extracted. The equation below is then obtained:
For the original image I0, the pixel value I(m,n) of I is extracted first, which is set as the target value of the extracted feature vector of the noisy image I at (m,n). Finally, the output sample of the image is obtained which is trained by the ELM algorithm to obtain the output weight of the image, followed by the establishment of a mathematical model for image denoising. Finally, the final denoising image is acquired. The ELM algorithm denoising process is shown in Figure 1.

2.4. The Parameter Setting of 3D-TVS and ELM
All patients participating in this study were diagnosed with 3D-TVS. The ultrasound diagnostic scanner was used in this study, three-dimensional volume probe 9EVF4, and the frequency of the three-dimensional volume probe was 4–8 MHz. During the transvaginal ultrasound scan, the patient took the lithotomy position. The scanning probe was covered by a condom and applied with the coupling agent. The 2D-TVS image was acquired first to display the uterine cavity morphology, intimal thickness, and sagittal section of the IUA patient, followed by the three-dimensional automatic imaging, with the scan time set to 6∼8 s, the scan angle set as 130°. The 3D-TVS was carefully checked until a complete three-dimensional ultrasound image was attained. The abovementioned ultrasound examinations were performed by ultrasound specialists in obstetrics and gynecology department.
The denoising effects were mainly determined by the number of hidden layer nodes and the type of activation function [19]. Before the ultrasonic image denoising processing, the MATLAB was used to determine the parameters of the ELM algorithm. Finally, the research was carried out with the hidden layer node set as 120 and the activation function is the sigmoid function.
2.5. Accuracy Judgment Standard of IUA Diagnosis
The IUA was classified into three types: mild adhesion, moderate adhesion, and severe adhesion according to previous research results. Mild adhesions are manifested by poor endometrial growth. There are hyperechoic adhesions and discontinuous endometrium (discontinuity range <25% of the uterine cavity long diameter). Irregular small dark areas are observed, and the thickness of the endometrium is more than 5 mm. Moderate adhesions are manifested as discontinuous endometrium (discontinuity range between 25% and 75%). There are irregular hypoechoic adhesions, and the thickness of the endometrium is between 2 mm and 5 mm, and scattered separation is noted in the uterine cavity. Severe adhesions are manifested by the discontinuity of endometrium (discontinuity range >75%). The thickness of the endometrium is less than 2 mm, which cannot be distinguished from the muscle layer. There is blood in the uterine cavity, and dark areas are visible. There is no periodic change in the uterine cavity [20].
2.6. Evaluation of Diagnostic Accuracy
HSC and 3D-TVS were performed on 138 suspected IUA patients, and the HSC test results were taken as standard. The ELM was evaluated from accuracy, sensitivity, and specificity, and SVM was introduced for comparison. The calculation equations of precise, specificity, and sensitivity are as follows:where indicates accuracy, indicates specificity, indicates sensitivity, indicates number of IUA images that can be accurately identified, indicates that the number of nonIUA images that cannot be accurately identified, and indicates the number of IUA images that cannot be accurately identified.
2.7. Evaluation of Denoising Effects
The most intuitive evaluation method for 3D-TVS image quality is visual judgment, but this subjective judgment method will produce different judgment results due to the doctor’s clinical experience. Consequently, MSE and PSNR were used to comprehensively judge the denoising effects of the ELM algorithm. MSE is the average error between the ideal noise-free image and the denoised image based on different denoising algorithms. A smaller MSE indicates smaller error of the denoised image. The SNR value reflects the denoising level of different algorithms. A smaller PSNR indicates smaller noise of the denoised image. The calculation methods of MSE and PSNR can be expressed as follows:where represents the number of pixels on the denoised image, represents the ideal image pixel gray value, represents the denoised image pixel gray value, and represents the average pixel value of the denoised image.
2.8. Statistics
The data was sorted out using Excel2019 and processed by SPSS17.0 software. The measurement data were calculated as . The T test was used for data conforming to the normal distribution, with the rank sum test used for data not conforming to the normal distribution. The analysis of variance was applied in multiple groups’ data comparison conforming to normal distribution. < 0.05 was the criterion for significance.
3. Results
3.1. Denoising Effects’ Analysis
HSC and 3D-TVS examinations were performed on 138 patients suspected of having IUA, with HSC examination results used as standard, as shown in Figure 2. To test the denoising performance of the ELM algorithm, the SVM algorithm was introduced for comparison. The denoising effects are shown in Figures 3–5. The ELM was found to be superior to SVM algorithm in denoising effects. The ELM algorithm kept the features and structure of the image better, with clearer image edges.




To quantitatively analyze the denoising effects of different algorithms, MSE and PSNR were used as quantitative indexes. As shown in Figures 6 and 7, the ELM algorithm showed a notably lower MSE value (0.0021 vs. 0.0045) ( < 0.05) and a higher PSNR value (64.5 vs. 52.3) ( < 0.05) versus the SVM algorithm, indicating the ELM algorithm demonstrated better filtering effects. The image quality after ELM processing was higher versus the SVM.


3.2. Running Time Analysis
As shown in Figure 8, the average running time of the SVM algorithm was notably higher versus the ELM (16.35 ± 1.33 s vs. 11.22 ± 0.89 s) ( < 0.05), indicating that, in comparison with the SVM algorithm, ELM algorithm was more efficient in denoising.

3.3. Comparison of Diagnosis Effects
HSC examinations identified 44 patients with mild adhesions, 31 patients with moderate adhesions, and 25 patients with severe adhesions. On the basis, 3D-TVS was performed on the patients to calculate the precise, specificity, and sensitivity values of different denoising algorithms. As shown in Figure 9, when the image was processed without a denoising algorithm, the precise, specificity, and sensitivity of 3D-TVS for patients with mild adhesion were 82.3%, 81.5%, and 81.9%, respectively; those for patients with moderate adhesion were 87.7%, 84.2%, and 86.1%, respectively; those for patients with severe adhesion were 95.5%, 91.2%, and 91.4%, respectively. As shown in Figure 10, when the SVM algorithm was used to denoise the 3D-TVS image, those for patients with mild adhesions were 89.4%, 88.1%, and 90.2%, respectively; those for patients with moderate adhesions were 93.6%, 89.6%, and 91.9%, respectively; those for patients with severe adhesion were 96.2%, 92.7%, and 94.9%, respectively. As shown in Figure 11, when the ELM algorithm was used to denoise the 3D-TVS image, those for patients with mild adhesion were 96.8%, 94.4% and 92.5%, respectively; those for patients with moderate adhesion were 98.6%, 94.7%, and 94.2%, respectively; those for patients with severe adhesion were 100%, 100%, and 96.1%, respectively, showing notable differences between groups ( < 0.05). Hence, the ELM algorithm had higher precise, specificity, and sensitivity, demonstrating better diagnostic effects on IUA.



4. Discussion
Intrauterine birth control is a common gynecological disease, which can cause serious harm to the fertility of patients [21]. Therefore, early diagnosis is very important. 3D-TVS is used for IUA tests because it is noninvasive, simple, and painless. However, noise in 3D-TVS images will inevitably have certain influence on the accurate diagnosis of IUA [22]. In order to eliminate the noise in the 3D TV image and improve the accuracy of the image, the ELM algorithm is used to denoise the 3D TV image. One hundred and thirty eight patients with suspected intrauterine device in hospital were selected as the research object. HSC and 3D-TVS were performed in 138 patients. Taking HSC diagnosis results as the gold standard, different algorithms are used to denoise 3D-TVS images. The minimum mean square error (MSE) and maximum signal-to-noise ratio (PSNR) were selected to evaluate the denoising efficiency, and the running time of the algorithm was compared to evaluate the denoising efficiency. The results showed that compared with SVM algorithm, the MSE value of ELM algorithm decreased significantly (0.0021 vs. 0.0045) ( < 0.05) and the PSNR value increased significantly (64.5 vs. 52.3) ( < 0.05), indicating that ELM algorithm has better filtering effect. The image quality processed by ELM is better than that processed by SVM. The average running time of SVM algorithm was significantly higher than that of ELM algorithm (16.35 ± 1.33 s vs. 11.22 ± 0.89 s) ( < 0.05), indicating that ELM algorithm was superior to SVM algorithm in denoising. After denoising, the diagnostic effects of different algorithms on IUA were evaluated from three indexes of accuracy, specificity, and sensitivity. The results showed that the diagnosis effect of IUA patients using SVM algorithm or ELM algorithm was better than that without the denoising algorithm. However, compared with SVM algorithm, ELM algorithm has higher corresponding index, and the difference is significant ( < 0.05), indicating that ELM algorithm has better diagnosis effect on IUA.
5. Conclusion
In this study, the ELM algorithm was applied to the denoising of 3D-TVS images, and its denoising effects and diagnostic efficiency of the IUA were evaluated. It was found that the ELM algorithm demonstrated excellent denoising effects and high denoising efficiency on IUA patients. The ELM algorithm is suggested in 3D-TVS image denoising to improve the efficiency of IUA diagnosis. However, some limitations in the study should be noted. The sample size is small, which will reduce the power of the study. In the follow-up, an expanded sample size is necessary to strengthen the findings of the study. In conclusion, the study provides a theoretical reference for the treatment of IUA.
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.