Artificial Intelligence-Based Inferior Vena Cava Images under Dezocine Anesthesia in Detection of Bile Duct Injury after Laparoscopic Cholecystectomy

+is study focused on the segmentation effects of an artificial intelligence-based algorithm of CT images, to detect the bile duct injury (BDI) after laparoscopic cholecystectomy (LC) under dezocine anesthesia.+is study was based on the maximum betweenclass variance (Otsu) algorithm; it introduced the image grayscale mapping method to increase the accuracy of the target area segmentation within the CT image and compare the segmentation effect with the threshold segmentation and the regional growth segmentation algorithm. 46 patients treated with laparoscopic cholecystectomy (LC) were used as research objects, and all patients were inspected in the abdominal CT examination. According to the anesthetic drug selection, patients were divided into control group (conventional anesthesia) and dezocine group (conventional anesthesia + dezocine), with 23 cases in each group. And it compared the difference between the respiratory recovery time, the wake time, the tube time, and the postoperative 3, 6, 12, and 24 h after surgery, and complication after LC evaluation of bile duct injury (BDI). It was found that the algorithm in this study can segment the target area in CT image accurately. Compared with the threshold segmentation and region growing segmentation algorithms, its Dice similarity coefficient (DSC) and Jaccard similarity coefficient (JSC) were higher (P< 0.05). +ere was no statistically significant difference in postoperative spontaneous breathing recovery time, wake-up time, and extubation time between the dezocine group and the control group (P> 0.05), but in the dezocine group, the visual analogue scale (VAS) scores at 3, 6, 12, and 24 hours after the surgery were lower (P< 0.05). 27 patients developed BDI after the surgery, and they were classified as per the Strasberg classification standard. It was found that 6 cases were evaluated as type A, 4 cases were type B, 2 cases were type C, 6 cases were type D, and 9 cases were type E. It was concluded that the algorithm in this study can segment the target area of the CT image accurately, assisting the doctor in diagnosis. +e use of dezocine before LC can effectively relieve patients’ postoperative pain. +is study provides a basis for the diagnosis and treatment of gallbladder disease and the detection of complications.


Introduction
Hepatobiliary diseases are common, especially cholelithiasis. With the improvement of living standards, the incidence of cholelithiasis still increases resulting from the changes in eating habits [1]. e incidence increases with age, and females are predominantly affected. Gallstones were mainly pigment stones in the liver and bile ducts, but now they are mainly cholesterol stones, which are also the main components of gallbladder stones [2]. In recent years, laparoscopy technology is constantly developing. It minimizes the hospital stay, reduces trauma, and increases the surgical field of view. Additionally, it allows simultaneous observations from multiple angles and multiple fields of view [3]. Clinically, laparoscopic cholecystectomy (LC) has gradually replaced open cholecystectomy (OC) and open mini-cholecystectomy (OM), becoming the best surgical method for clinical treatment of benign gallbladder diseases [4]. Statistics have shown that the incidence of complications after the LC surgery is approximately 9% to 17%, and bile duct injury (BDI) is one of the most serious complications. e incidence of BDI after the LC surgery is 0.4% to 1.3%, higher than 0.1% and 0.2% after the OC surgery [5]. Minor BDI will prolong the recovery time of the patient. In severe cases, multiple operations are required, which will seriously reduce the quality of life of the patient after surgery and even lead to death [6]. Dezocine is a mixed opioid receptor agonistantagonist used in clinical anesthesia and postoperative analgesia.
Computer tomography (CT) is a rapidly developed imaging technology, and doctors read CT images to diagnose gallbladder diseases and evaluate postoperative complications [7]. However, the gallbladder is located in the gallbladder fossa of the liver and only occupies a small part of the abdominal CT image, and thus it is necessary to segment the gallbladder for easier observation [8]. In the past, the doctor manually segmented the gallbladder boundary in the CT image and finally merged the segmentation results to obtain the three-dimensional results. is method requires strong professional knowledge, and it is time-consuming [9]. erefore, image segmenting algorithm assists doctors in clinical diagnosis and treatment. Currently threshold segmentation, regional growth, split merge segments, and cluster-based segmentation methods are commonly used for CT image segmentation. reshold segmentation is a common method, but the CT image of the target and background grayscale gap is poor [10]. Regional growth and split merge segmentation method is simple to separately apply to small structures, which are not ideal for complex picture segmentation, which is easy to generate segmentation [11]. Cluster-based segmentation methods cannot be evaluated between image samples [12]. Maximum betweenclass variance (Otsu) algorithm can convert CT images to a binary image, which is better to divide the CT image, but the target area within the class cannot be distinguished [13], so it is needed for optimization.
In this study, an image segmentation algorithm was used to process CT images. With the segmentation of inferior vena cava (IVC) in abdominal CT as an example, the image segmentation ability of the improved Otsu algorithm was verified. en, the analgesia effects of dezocine in LC the BDI after the LC surgery were evaluated, expected to provide reference for the treatment of hepatobiliary diseases.

Research Subjects.
In this study, 46 patients admitted to the hospital from June 2019 to September 2020 undergoing LC surgery were selected, including 19 males and 27 females, aged 21-67 years. ey were randomly divided into observation group and reference group, with 23 cases in each group. ere was no statistically significant difference in the general data such as gender and age between the two groups (P > 0.05), and they were comparable. is study has been approved by the ethic committee of the hospital. All patients and their families understood the study and had signed an informed consent form. e subjects were selected as the following inclusion criteria: (I) patients without mental disorder; (II) patients with normal organ function; (III) patients without concurrent malignant disease; and (IV) patients who had not taken opioid analgesics.
Exclusion criteria were as follows: (I) patients with a history of mental illness; (II) patients with severe cardiovascular and cerebrovascular diseases; (III) patients who had taken opioid analgesics for a long time; and (IV) patients with liver and kidney dysfunction.
At the same time, the general data and postoperative follow-up data of 27 patients admitted to the Affiliated Hospital of Jianghan University from September 2015 to September 2020, who had BDI after undergoing LC surgery, were collected, to evaluate the role of CT images in diagnosing BDI after the LC surgery.

CT Examination.
In this study, a 16-slice spiral CT scanner from Siemens, Germany, is used to scan the patient's upper abdomen. For double-slice spiral CT tomography, the scanning parameters are set as follows: the tube voltage is 180 kV, tube current is 45 mAs, slice thickness is 5.0 mm, and screw pitch is 1.5 mm. 2 experienced physicians independently read the CT images in a blind manner.

Segmentation Algorithm of CT Images.
e Otsu algorithm is widely used because of its fast speed, good segmentation effects, and strong scalability.
Because the gray value of the image collected by the device has a large difference, it is mapped to [0, 255] first.
where X represents the original image, Y represents the output image, (a, b) is the coordinate on the map, min(X) is the minimum gray value of the original image, and max(X) is the maximum gray value. Suppose the image has N gray levels, m i is the number of pixels contained in the i ∈ [0, N − 1] gray level, and M is the total number of pixels. en, the equation below is obtained: P i is the probability of the i-th gray level, expressed as P i � m i /M, and then, there is N−1 i�0 P � 1. A threshold t is set, and the image is divided into two classes of F 0 and F 1 according to the gray level, where F 0 � 0, 2, 3, . . . , x { }. p 0 and p 1 represent the probability of F 0 and F 1 , respectively.
e mean gray values of F 0 and F 1 classes are expressed as follows: 2 Scientific Programming where e variances of classes F 1 and F 0 are expressed as follows: In order to find the optimal threshold, three evaluation functions are set: where σ 2 B , σ 2 W , and σ 2 T represent the variance between the classes, the variance within the classes, and the total variance, expressed as follows: At this time, the problem is converted into how to find an optimal t, so that the three discriminant functions are the largest. Because σ 2 T � σ 2 W + σ 2 B , the relationship between x, y, and z can be converted to It is noted that the three discriminant functions have the same monotonicity. Because σ 2 T can be calculated quickly, and are independent of t, it is the simplest to use σ 2 T as the analysis object. Also, z � σ 2 B /σ 2 T , the analysis function is further simplified; that is, σ 2 B is used as the classification discriminant function. where Suppose there is a formula that is proportional to the mean distance difference between various classes and inversely proportional to the distance sum between various classes. When the maximum is taken, t at this time is the optimal threshold.
where P 0 (t) and P B (t) are the targets and δ 0 (t) and δ 1 (t) are the target and background average variance, respectively.
e optimal threshold t is the t value when X(t) takes the maximum value, and the optimal threshold t satisfies the following equation:

Anesthesia
Methods. e patients were randomly divided into dezocine group and control group according to the order of visits. Before the surgery, 0.1 g phenobarbital and 0.5 g atropine 0.5 g were intramuscularly injected. After the venous access was opened, the blood pressure, heart rate, and pulse oxygen saturation were routinely monitored. In both groups, patients were injected with 0.003 mg/kg fentanyl, 0.08 mg/kg atracurium, and 2 mg/kg propofol for induction intubation. During the operation, isoflurane was Scientific Programming continuously given and Kasining was administered depending on the circumstances. In the dezocine group, 0.1 mg/kg dezocine was given during the induction. After the patient's breathing was restored, the tracheal tube was removed if the extubation indications were met, and then they were sent back to the ward after being fully awake.

Evaluation of the Segmentation Effects.
In order to evaluate the segmentation effects of the algorithm in this study, threshold segmentation and region growing segmentation algorithms are introduced to compare with the algorithm in this study. e segmentation effects were evaluated factoring into the Dice similarity coefficient (DSC) and Jaccard similarity coefficient (JSC).
where A is the manual segmentation results and B is the segmentation results by the algorithm in the study. A ∩ B is the intersection of A and B, and A ∪ B is the union of A and B. If the DSC and JSC indicators are closer to 1, it means that the two images are more similar, indicating better segmentation effects.

Observation Index of Anesthesia Effects of Dezocine.
Relevant indexes were recorded, including spontaneous breathing recovery time, wake-up time, and extubation time, and the analgesic effects were evaluated at 3, 6, 12, and 24 hours after surgery. e visual analogue (VAS) score was used to evaluate the analgesic effects: 0 meant no pain, and 10 meant pain was intolerable.

Evaluation of BDI.
Usually, BDI occurs 1 to 2 weeks after the surgery. e patient has one or more symptoms of abdominal pain, peritonitis, cholangitis, and sudden high fever. In this study, as per the Strasberg classification, BDI was classified into types A to E: type A: there was bile leakage from the small bile duct, but the continuity of the extrahepatic bile duct was not destroyed, such as the vagal bile duct leak in the gallbladder bed; type B: the obstruction of the branches of the biliary tree, and the more common was the accidental clipping of the right accessory hepatic duct; type C: the open bile leakage caused by the cut injury to the right accessory hepatic duct; type D: the bile leakage caused by the side wall injury of the extrahepatic bile duct; and type E: injury related to the common bile duct.

Statistical
Methods. SPSS 20.0 was used to process the data.
e measurement data were expressed as mean-± standard deviation (x ± s), and t-test was used. e count data adopted chi-square test. P < 0.05 was the threshold for significance.

Image Processing Results.
All patients accepted CT examinations, and the collected CT images were standardized and normalized. e improved Otsu algorithm was used to segment the IVC, and the expert manual segmentation results were used as the standard. Figure 1 shows the CT segmentation results of two patients. e target area and expert manual segmentation of the Otsu algorithm were most closely related, and the division of the threshold segmentation method was the largest. It showed that the improved Otsu algorithm used in this study could be divided more accurately.

Image Segmentation Results.
After the original image was segmented using the algorithm, the DSC values were compared with those of the manually segmented image by the expert, DSC values of different algorithms are shown in Figure 2, the DSC values of improved Otsu, threshold, and region growing were (0.85 ± 0.092), (0.59 ± 0.042), and (0.63 ± 0.071), the DSC values of the improved Otsu were higher than the threshold segmentation and region growth segmentation, and the difference was statistically significant (P < 0.05).
After the original image was segmented using the algorithm, the JSC values were compared with those of the manually segmented image by the expert; JSC values of different algorithms are shown in Figure 3. e JSC values of improved Otsu, threshold, and region growing were (0.81 ± 0.089), (0.55 ± 0.048), and (0.58 ± 0.053), the JSC values of the improved Otsu were higher than the threshold segmentation and region growth segmentation, and the difference was statistically significant (P < 0.05). Figure 4 shows the postoperative spontaneous breathing recovery time; Figure 5 shows the wake-up time; Figure 6 shows the extubation time; and Figure 7 shows the postoperative analgesic effects. ere was no significant difference in spontaneous breathing recovery time, wake-up time, and extubation time between the dezocine group and the control group, P > 0.05, indicating that the use of dezocine before the LC surgery had no effects on the patient's recovery. e VAS scores of the two groups were compared, and the VAS scores at 3 h, 6 h, 12 h, and 24 h after surgery in the control group were (3.27 ± 0.29), (5.12 ± 0.51), (5.48 ± 0.51), and (4.92 ± 0.47), and the VAS scores at 3 h, 6 h, 12 h, and 24 h after surgery in the dezocine group were (1.23 ± 0.18), (2.30 ± 0.25), (2.62 ± 0.19), and (1.81 ± 0.16); it can be concluded that the postoperative 3 h, 6 h, 12 h, and 24 h VAS scores were lower than the control group (P < 0.05).

Evaluation of BDI after the LC Surgery.
After the surgery, 27 patients developed BDI. ey were classified as per the Strasberg classification standard. Of them, 6 cases were evaluated as type A, 4 cases were type B, 2 cases were type C, 6 cases were type D, and 9 cases were type E (Figure 8).

Discussion
Compared with OC, LC has become the first choice for gallstones and benign gallbladder diseases due to less trauma, less pain, faster healing, and shorter hospital stay [14]. However, the postoperative complications reduce the quality of life, especially the BDI. In some areas where LC is not yet mature, the incidence of BDI is higher [15]. BDI can cause bile duct stenosis, bile duct obstruction, bile duct infection, and long-term complications, such as liver cirrhosis and liver atrophy [16]. e causes of BDI are complicated, including surgical factors, such as conventional cholecystectomy, mainly LC, and other interventions, and nonsurgical factors, such as interventional or endoscopic treatment [17][18][19]. During the LC surgery, BDI may be caused by LC which may be caused by subjective factors, such as the lack of operating skills and experience of the doctor, the insufficient standardization of the operation, the failure of the surgeon to accurately assess the difficulty of the operation, and the insufficient skills of the assistant in mirror support. It can also arise from objective reasons. For example, laparoscopy technology itself has certain limitations; when operations are performed on the screen, it is Region growing Improved Otsu   Scientific Programming sometimes difficult to determine the accurate anatomical position, because the surgeon cannot directly touch the operation area; and obese patients will also affect the surgical field of vision to a certain extent [20][21][22]. In addition, changes in the shape and position of the gallbladder will increase the risk of BDI [23].
LC requires general anesthesia, and patients will suffer from pain after the LC surgery. Post-LC pain mainly occurs 24 hours after surgery, manifesting as incision pain, visceral pain, and involved shoulder pain [24]. Pain may be caused by excessive traction on the patient's peritoneum during the operation, or incomplete gas release of the pneumoperitoneum after the operation, which seriously affects the recovery of the patient after the operation and increases the occurrence of postoperative complications [25]. Dezocine is an analgesic that has agonistic effects on K receptor u. u receptor plays an important role in sedation and alleviating labor pain and mild respiratory depression. It is often used for postoperative analgesia and cancer pain. However, adverse reactions will occur at a large dose. Dezocine is an opioid receptor agonist-antagonist. On the one hand, the drug can be used in spinal analgesia, and on the other hand, it is safe to use. Studies have pointed out that, when the drug is used alone for postoperative analgesia, it requires a large dosage, which may cause adverse reactions, such as drowsiness and dizziness after the operation. It is recommended to use it in combination with other analgesics to reduce the incidence of adverse reactions [26,27].
Artificial intelligence algorithms have been widely used in the medical field. For example, Guo et al. used ELM and other technologies to identify errors in the uneven distribution report and achieved excellent results [28]. In this study, the Otsu algorithm was optimized, and the improved Otsu algorithm was found to be accurate in segmenting the target area of CT images with the manual segmentation results by the expert as the standard. Compared with the threshold segmentation and region growing segmentation algorithms, its DSC and JSC values were higher, indicating that the improved algorithm had good segmentation effects, which can be used in clinics for the diagnosis and treatment      Scientific Programming of gallbladder diseases and the detection of BDI. After the LC surgery, 27 patients developed BDI. ey were classified as per the Strasberg classification standard. It was found that 6 cases were evaluated as type A, 4 cases were type B, 2 cases were type C, 6 cases were type D, and 9 cases were type E. ere was no significant difference in the postoperative spontaneous breathing recovery time, wake-up time, and extubation time between the dezocine group and the control group (P > 0.05), which proved that the use of dezocine did not have an impact on the patient's recovery. It is believed that the effects of analgesia treatment after the pain occurs are often not good. Preventive analgesia is to take measures in advance to prevent the pain being transmitted to the central nervous system, thereby eliminating or reducing postoperative pain. It not only has obvious analgesia effects, but also requires a low dosage. What is more, the incidence of complications is low. In this study, the VAS scores of the dezocine group at 3, 6, 12, and 24 hours after surgery were lower than those of the control group, proving that dezocine was safe and effective for preoperative anesthesia to relieve pain in patients.

Conclusion
In this study, the Otsu algorithm was optimized and the improved algorithm was used to segment the target area in CT images. It was found to be accurate in segmenting CT images and the results were close to the manual segmentation results, proving that it can assist doctors in the diagnosis and treatment of gallbladder diseases. Moreover, the use of dezocine anesthesia before LC can alleviate the postoperative pain of patients. However, some limitations in the study should be noted. e subjects are form 1 hospital, and the sample size is small, which may reduce the power of the study. In the follow-up, an expanded sample size is required to strengthen the findings of the study. In conclusion, this study provides a basis for the diagnosis and treatment of gallbladder disease and the detection of complications.
Data Availability e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare no conflicts of interest.