Evaluation of Surgical Effect of Atrial Septal Defect with Tricuspid RegurgitationbyTransesophageal 3DEchocardiographyBased on MC Image Reconstruction Algorithm

,is study was to explore the application and effect of three-dimensional (3D) images of the esophagus in the treatment of atrial septal defect (ASD) combined with tricuspid regurgitation (TR) surgery under the processing of marching cubes (MC) image reconstruction algorithm. ,e MC image reconstruction algorithm was improved as the optimized MC image reconstruction algorithm. 100 patients who had successfully undergone the ASD combined with TR surgery in the hospital from January 2017 to December 2019 were selected as the research objects and grouped based on size of the defect. ,e preoperative and postoperative conditions of the patients were analyzed with the MC image reconstruction algorithm. Compared with the traditional MC image algorithm, the optimized MC was advanced with less running time and fewer fixed points (P< 0.05).,ere were significant differences in TR of all ASD patients after the surgery (P< 0.05), and the TR of all patients showed obvious declines from the 1 day to 30 day after surgery and gradually stabilized from the 3 month to the 6 month after surgery. Compared with patients with normal pulmonary artery pressure, the amount of TR in patients with elevated pulmonary artery pressure increased significantly, and the difference was statistically significant (P< 0.05). In addition, the improvement of TR after occlusion was correlated with the preoperative ASD of the patient. ,e optimized MC algorithm had been improved greatly in the number of fixed points and running time.,e analysis using the optimized MC algorithm showed that ASD patients generally suffered different degrees of TR, TR increased with the increase of the defect, and good effect could be achieved in surgery of all kinds of ASD patients.


Introduction
About 10%-15% of patients with congenital heart disease suffer from ASD. As one of the most common congenital heart diseases, ASD accounts for about 1 : 2 in males and females. In adult congenital heart disease, the incidence of ASD accounts for about 35% to 40% [1]. TR blood enters the right atrium from the right ventricle via the insufficient TR. TR is usually secondary to the right ventricular dilatation and single dilatation or single high pressure due to severe pulmonary hypertension or right ventricular outflow tract obstruction [2]. At this stage, the clinical assessment of ASD mainly relies on coronary angiography, intravascular ultrasound, and optical coherence tomography [3,4]. Surgery for ASD is usually realized under the guidance of ultrasound images at this stage. For young doctors, it is difficult to complete the entire surgical process only with ultrasound images. On this basis, three-dimensional reconstruction is introduced. Most of the three-dimensional reconstruction is only for the human brain, bones, liver, and other organs. e three-dimensional vascular reconstruction is just starting, and three-dimensional reconstruction based on intravascular ultrasound is both the focus and the difficulty. e research on intravascular ultrasound images can be roughly divided into the following aspects: coronary artery image vessel segmentation and skeleton extraction, ultrasound image plaque segmentation, intravascular ultrasound (IVUS), and coronary arteriography (CAG) image data fusion [5][6][7]. At this stage, certain results have been achieved in these fields, but there is still not much research on the construction of the three-dimensional model of the heart. e MC is a three-dimensional reconstruction algorithm, which is widely used in vascular reconstruction. However, the vascular model reconstructed by the MC algorithm is composed of a large amount of triangular mesh data, which is low in computational efficiency. us, the MC algorithm has to be optimized. At present, ASD occlusion and surgical repair are the main treatment methods for the treatment of ASD. Since the first case of secondary ASD was closed successfully by King et al. with interventional therapy in 1976, occlusion surgery has been become the first choice for the treatment of ASD [8]. Relevant studies have confirmed that some patients with ASD will have different degrees of TR at the same time. In the treatment of ASD, whether it is necessary to further actively intervene in TR is a question that clinicians need to consider. is is directly related to the choice of surgical repair or interventional occlusion for ASD treatment [9,10]. erefore, the conventional MC algorithm was improved as the optimized MC to construct a three-dimensional ultrasound heart model, so as to further study the therapeutic effect of occlusion on patients with ASD combined with TR.

Image Reconstruction Based on the Marching Cubes Algorithm.
A voxel was the basic unit in a three-dimensional data field. e f(a, b, k) in the voxel was set to represent the coordinates of each pixel in the data field, where a and b represented the position of the pixel in the layer, and k referred to the number of layers. It was supposed that the distance between different sampling points is Δx, Δy, Δz; then the corresponding conversion relationship could be written as a � x/Δx, b � y/Δy, and k � z/Δz. e gray value of any point A(x, y, z) in the coordinates could be calculated with the following equation: f(x, y, z) � n 0 + n 1 x + n 2 y + n 3 z + n 4 xy + n 5 xz + n 6 yz + n 7 xyz, (1) where n i (I � 0, 1, ..., 7) depended on the gray value of the eight vertices of the voxel. e gray value of any point in the voxel could be calculated with this equation. e most important step in the MC algorithm was to extract the contour surface, which mainly included the following three steps: determining the positional relationship between the contour surface and the voxel focus and determining the division method of the voxel contour surface; determining the focal coordinates of the edge and the contour surface; and calculating the normal vector of the contour surface. When the focal coordinates of the edge and the contour surface was determined, the three-dimensional data field was assumed to be continuous, and the linear interpolation between the two points was adopted to calculate the coordinates of the intersection point of the edge and the contour surface. e coordinates of the two vertices were set to be D 1 (x 1 , y 1 , z 1 ) and D 2 (x 2 , y 2 , z 2 ), and the coordinates of the intersection points were calculated as follows: where R represented the threshold of contour surface and f(D 1 ) and f(D 2 ) were the pixels of the two vertices. In the vector calculation by the contour surface method, the gradient value of each vertex on the voxel was calculated by the gray difference method, then the normal direction of the intersection could be obtained by linear interpolation of the gradient between the two vertices, which referred to the normal vector of the contour surface. It was assumed that the gray value of a vertex was f(a, b, k); then the gradient vector of this point could be obtained by the gray difference method as follows: where s represented the gradient vector, Δx, Δy, Δz referred to the distance between the two vertices, and the normal vector of the vertex unit could be obtained after normalization, as follows: e normal vector of contour surface m → could be written where m → 1 and m → 2 were the normal vectors of the vertex. Finally, the connection ambiguity in MC algorithm was solved by moving tetrahedron method and asymptotic method.

Optimization of Marching Cubes Algorithm.
e traditional MC algorithm was to extract and draw the threedimensional model based on the contour surface. e model was fitted by multiple triangular faces, and these three intersection points were obtained by linear interpolation among the vertices of the voxels.
is type of approach required a long time, which affected the efficiency of model construction. In addition, analysis of previous studies revealed that the ambiguity of contour surface connection also affected the effect of model generation. Based on this, the optimized MC algorithm was constructed in this study.
Firstly, the linear interpolation was optimized by replacing the linear interpolation point with the median point, and the equations could be written as follows: where M was the coordinate of the midpoint, M 1 and M 2 were the coordinates of the two vertices, the normal direction at the midpoint, and m → 1 and m → 2 referred to the normal vectors of the vertex. e midpoint method could improve the efficiency of the computer but was prone to errors.
e results were refined further through multiple equalizations. Firstly, the intersection point of the voxel and the edge was determined by the equal division, and then it was refined for equalization further till the final location was determined.
e specific calculation formula could be expressed as follows: If the pixel at point a was f(a), the pixel at point c was f(c), b was the midpoint of a and c, the threshold of the contour surface was R, and f(a) < R < f(b), then the coordinate of point a was (a 1 , b 1 , k 1 ), and the coordinate of point c was (a 2 , b 2 , k 2 ), and Δx, Δy, Δz were the distance between the two points.

Research Objects and Grouping.
A total of 100 adult patients with ASD combined with TR admitted to hospital from January 2017 to December 2019 were selected, and they all met the following criteria: patients who were clinically confirmed as ASD combined with TR; patients aging over 18 years old and under 60 years old; patients with normal liver function and kidney function; and patients conforming to the indications for occlusion. Patients with the following conditions were excluded: patients with other types of heart diseases; patients suffering from mental diseases; patients suffering from hypertension or diabetes; patients suffering from Eisenmenger syndrome; patients who received other treatments including traditional Chinese medicine (TCM); and patients with poor compliance. All patients participating in the experiment had signed the informed consent forms, and this study was reviewed and approved by the Ethics Committee of the hospital.
In this experiment, ASD patients were grouped based on the size of the ASD into group A with large ASD (group A), group B with medium ASD for no smaller than 30 mm (group B), and group C with small ASD of no smaller than 10 mm and no larger than 30 mm (group C).

Treatment Methods.
e right femoral artery and vein were punctured to the 6F and 7F arteriovenous sheaths, respectively; systemic heparinization was realized with the first dose of intravenous heparin 100 U/kg (if the operation exceeded 1 hour, half the initial heparin dose should be added). e right heart was catheterized firstly to measure the pressure of the right atrium, right ventricle, and pulmonary artery, and the blood oxygen saturation of each part was detected. e form and size of the atrial septal defect and the distance from the upper edge of the defect to the right coronary valve of the aorta were measured further. If necessary, the ascending aortic angiography was performed to determine whether there was aortic valve prolapse and regurgitation. e angiography catheter was selected based on the form of ASD in left ventricle angiography, and the catheter was rotated counterclockwise from the femoral artery to the left ventricle so that the tip points to the ASD could be open. e catheter was moved slowly so that the tip could jump through the ventricular septal defect opening to the right ventricle, and then the catheter was fixed. e occluder was selected according to the defect diameter measured by angiography. Generally, the diameter of the occluder should be 1-2 mm larger than the angiographic diameter. A suitable occluder was sent to the left ventricular surface along the delivery sheath, and the left ventricular surface umbrella was released firstly. It was not necessary to adjust the direction for the symmetrical occluder, and the mark of the left ventricular side umbrella of the eccentric occluder should point to the apex so that left ventricular umbrella of the occlude could be close to the interventricular septum. e position of the occluder could be determined through hand feel, fluoroscopy, ultrasound, or even ventriculography. If the position was appropriate and there was no obvious residual shunt displayed by the ultrasound image, the wire was fixed and the long sheath was withdrawn. e right ventricular umbrella of the occlude was released.
e left ventricular angiography and ascending aorta angiography were repeated. Contrast and transthoracic ultrasound were adopted to confirm that the occluder was fixed and there was no obvious residual shunt; then the occlude could be completely released. e sheath was removed, the puncture port was pressurized, and then the surgery was completed.

Related Observation Indicators.
Before the examination, the patient was instructed to refrain from eating for 12 Scientific Programming hours. If the patient was nervous on the day of the examination, 2.5 mg of diazepam could be taken orally. Before the formal examination, the patient was required to take lidocaine glue orally, so that the oral cavity, pharynx, and esophagus of the patient were anesthetized by the topical anesthetic, so as to reduce and even avoid the response during intubation. e patient was placed in a lateral position, and the examiner stood on the left side of the patient. Dentures (if any) had to be removed before intubation. e patient was required to bite the mouth pad, and the glue was applied on the surface of the transducer. e curved probe was inserted along the middle of the oral tongue base, and moved rapidly after entering the esophagus to reach the middle of the esophagus (about 34 cm). e horizontal and vertical axis of the patient should be examined, respectively.

Statistical Analysis.
e SPSS 22.0 software was adopted for statistical analysis, and the counting results were expressed as the mean ± standard deviation. e t test was employed to compare the indicators of two groups. P < 0.05 was deemed as statistically significant.

Comparison on MC Algorithm Data before and after
Optimization.
e collected transesophageal 3D ultrasound heart images were undertaken as the original dataset to test the traditional MC algorithm and the optimized MC algorithm under different sizes of dataset, and the calculation time of each algorithm and the number of fixed points of the constructed model were recorded and compared. e result is shown in Figure 1. In each dataset, the number of fixed points of the optimized MC algorithm to build a model is significantly less than that of the traditional MC algorithm with statistical difference (P < 0.05); the running time of the optimized MC algorithm was also greatly shorter than that of the traditional MC algorithm with statistical difference (P < 0.05).

Comparison of MC Algorithm Images before and after the Optimization.
e MC ultrasound images before and after optimization are shown in Figures 2 and 3, respectively. Figures 2(b) and 3(b) show the three-dimensional heart models constructed by the traditional MC algorithm and the optimized MC algorithms, respectively. By comparison, it was found that the three-dimensional heart models constructed by the two ultrasound images were similar overall, and both could achieve better results. e optimized MC algorithm could achieve the same effect as the traditional MC algorithm through fewer fixed points and shorter running time.

Comparison on Basic Information of Patients
. 100 patients were included in the experiment, including 56 patients in group A (17 males and 39 females, with an average age of 35.17 ± 5.78 years old), 31 patients in group B (11 males and 20 females, with an average age of 36.45 ± 7.22 years old), and 13 patients in group C (5 males and 8 females, with an average age of 36.14 ± 6.17 years old). Comparison of the above information showed that the difference between the two groups was not statistically meaningful (P > 0.05), as shown in Figure 4.

Relationship of the Defect Size to Right Atrium (RA), Right Ventricular (RV), and TR.
e average RA, RV, and TR of patients with different sizes of defect were statistically analyzed, and the results are given in Figure 5. It revealed that the average RA, RV, and TR for patients in group A were 51.33 ± 4.55 mm, 39.13 ± 5.54 mm, and 10.54 ± 6.57 mm, respectively; those in group B were 45.97 ± 6.13 mm, 30.54 ± 4.78 mm, and 6.48 ± 2.98 mm, respectively; and those in group C were 36.11 ± 5.12 mm, 20.45 ± 3.44 mm, and 2.97 ± 1.43 mm, respectively. us, the RA, RV, and TR in the three groups were statistically different (P < 0.05).
Correlations of RA, RV, and TR of three groups of patients were analyzed further, and the results are illustrated in Figure 6.

Correlation between Pulmonary Artery Pressure and
Tricuspid Regurgitation. Among all ASD patients, 13 patients had elevated pulmonary artery pressure (PAP), and 87 patients with ASD had normal PAP. e TRs of the patients with elevated PAP were compared with those of the patients with normal PAP, and the results are shown in Figure 7. In contrast to the patients with normal PAP, the amount of TR in patients with elevated PAP increased observably (P < 0.05).

Tricuspid Regurgitation of Patients before and after the
Surgery. Surgery was performed only on patients in group A and group B, the changes in the amount of TR volume of patients before and one day after surgery were compared, and the results are illustrated in Figure 8 below. Compared with the amount before surgery, the amount of TR in groups A and B was increased greatly, and the differences were statistically meaningful (P < 0.05).

Tricuspid Regurgitation of Patients at Different Time Points after the Surgery.
e amounts of TR of patients were detected at the 1 st day, 7 th day, 1 st month, 3 rd month, and 6 th month after surgery. e results shown in Figure 9 revealed that the overall decline trend of patients in group A and group B was consistent with an obvious decline within 1 month after surgery and stability after 3 months. ere was no statistically meaningful difference in the amount of TR between patients in group A and group B after the surgery (P > 0.05), but there was an opposing situation for both groups before and after surgery (P < 0.05).

Discussion
ASD is caused by hypoplasia of the septum between the left ventricle and the RV of the patient. e atrioventricular septum has a defect that leads to a congenital disease in which the blood flow is connected [11]. Under normal circumstances, the pressure of the left atrium is greater than that of the right atrium. When a patient develops ASD, the blood in the atrioventricular septum will flow from the left to the right, causing the pulmonary blood volume to increase, and the long-term pulmonary blood volume increase will cause the pulmonary circulation blood volume to exceed the capacity of the pulmonary vascular bed, causing irreversible resistance pulmonary hypertension in the body. e further development of resistance pulmonary hypertension will cause bidirectional shunt at the atrial level, and even a rightto-left shunt, and eventually develop Eisenmenger syndrome [12,13]. erefore, early detection and treatment are of great significance. In this experiment, images based on the optimized MC algorithm were adopted to evaluate the ultrasound images of the patients in this study. It was found that the ultrasonic heart three-dimensional model constructed by the traditional MC algorithm had high accuracy but long running time. On this basis, the optimized MC algorithm constructed in this experiment could achieve the same configuration model and shorten the model construction time. e optimized MC algorithm could increase the efficiency by about 20% overall. Compared with the two-dimensional digital image, the three-dimensional model could more directly and comprehensively present the spatial information of the object, so the reconstructed three-dimensional model of the blood vessel was conductive to diagnosis of the disease better. Manuel et al. (2017) showed in the study that most adult ASD patients had different degrees of TR, and patients with moderate to severe TR accounted for about 20% of the total number [14]. In this experiment, there were 12 patients with the amount of TR above 25 mL before the surgery, and there were no patients with the amount of TR higher than 50 mL. On the one hand, this result was related to the small number of samples. On the other hand, Geggel (2017) found that people's awareness of congenital diseases such as ASD was gradually improving, so the disease could be controlled in the early stage through treatment in time [15]. At this stage, the mechanism of TR is not completely cleared. Hari et al. (2015) suggested in the literature that tricuspid annulus expansion may be the most important factor for TR [16]. Cua et al. (2017) further proposed that the geometric configuration changes of the RV, the RV remodeling caused by pulmonary hypertension, and tricuspid annulus expansion were the main causes of TR [17]. e results of this study indicated that the amount of TR in patients with ASD and TR after occlusion had been increased obviously (P < 0.05), and occlusion had an effect on patients with large and medium ASD. In addition, the amount of TR in patients with ASD had increased observably one day after the surgery; the improvement effect gradually stabilized at the 3 rd month with the increase of time. e combined TR before surgery could be increased greatly and a stable state could be formed within 3 months, which was consistent with the report of Astarcioglu et al. (2015) that the remodeling of the heart could be stopped quickly with the occlusion of the defect [18]. A study by Henzel et al. (2018) showed that 50% of ventricular remodeling after ASD occlusion occurred within 24 hours after the surgery, and 90% could be completed 1 month later. TR could be decreased due to decline of the load for RV after the surgery [19].

Conclusion
e MC algorithm was explored and optimized to get the optimized MC algorithm, and a 3D heart model was successfully constructed. e efficacy of occlusion for patients with ASD and TR was further studied, and the results showed that the amount of TR in patients with large and medium ASD had been increased sharply after occlusion.   However, this study only focused on the cardiac ultrasound images for the study of algorithm. Whether the algorithm is useful for other ultrasound images has to be further explored in future. In addition, the explored samples were too less and the patients with small ASD who do not need occlusion were not studied, which had to be further studied in depth in future. In summary, the results of this study can provide reliable basis for clinical treatment for ASD combined with TR.

Data Availability
No data were used to support this study.

Conflicts of Interest
e authors declare that they have no conflicts of interest.