Abstract

Objective. The study aimed to explore the application of ultrasound image-guided general drug anesthesia combined with lumbar and sacral plexus block based on MATrix LABoratory (MATLAB) algorithm in hip arthroplasty and to study its clinical effect. Methods. The classic geodesic active contour (GAC) algorithm and the improved fuzzy clustering level set algorithm were used to segment ultrasound images of waist plexus, and then their segmentation effects were compared. Both algorithms are from the MATrix LABoratory (MATLAB) platform. A total of 60 patients undergoing hip arthroplasty were selected and randomly enrolled into control and experimental groups. The control group accepted general drug anesthesia, and the experimental group accepted ultrasound-guided lumbar and sacral plexus block combined with general anesthesia. The mean arterial pressure and heart rate at t0 (before anesthesia), t1 (before ventilation), t2 (when the skin was incised), t3 (when the prosthesis was implanted), t4 (when the incision was closed), and t5 (at the end of ventilation) were observed, and the intraoperative sufentanil dosage and 24 h analgesic dosage, the incidence of postoperative delirium, and the incidence of cognitive dysfunction were recorded. Results. The improved fuzzy clustering level set algorithm was better than the GAC model algorithm in image segmentation and running time. In contrast with the control group, the average arterial pressure and heart rate of the experimental group at the four time points of t1, t2, t3, and t5 were obviously reduced ( < 0.05). In contrast with the control group, the amount of sufentanil and analgesics in the experimental group was obviously reduced ( < 0.05), and the incidence of postoperative cognitive dysfunction and delirium was obviously reduced ( < 0.05). Conclusion. The improved fuzzy clustering level set algorithm is superior to the GAC model in image segmentation and running time. Under its guidance, the lumbar and sacral plexus block combined with general anesthesia has a good clinical effect in hip arthroplasty, which is better than simple general anesthesia.

1. Introduction

Hip fracture is a frequently occurring disease in clinic. The clinical manifestations of patients are swelling of the limbs, restricted movement, and pain, which are more common in elderly patients, often accompanied by the decline of various organs [1]. At present, the main method to treat this disease is total hip arthroplasty (THA). It can effectively improve hip joint function and reduce intraoperative bleeding, with less complications. In hip replacement surgery, general anesthesia is often required. However, most patients with hip fracture are the elderly, who are accompanied by various chronic diseases, low immunity, poor liver and kidney function [24], high blood loss, obvious stress response, and more sensitivity to anesthetics. Low-dose anesthetics can affect respiratory and circulatory functions in patients, and large-dose anesthesia is intolerable [57]. Lumbar plexus block (LPB) is currently the most commonly used anesthesia method for THA. Compared with traditional simple general anesthesia and intraspinal anesthesia, lumbar block combined with general anesthesia not only facilitates respiratory management but also effectively reduces circulatory depression. Lumbar plexus block combined with general anesthesia can be widely used in lower extremity surgery including marrow joint replacement surgery. Ultrasound-guided nerve block can directly block the peripheral nerves under direct vision and enable clinicians to observe the structure of the nerve and dynamically observe the spread of local anesthetics, which improves the success rate and reduces complications, laying the foundation for the successful puncture block [8, 9].

Ultrasound is convenient, reproductive, nondestructive, and real time and thus commonly used in orthopedics of various hospitals. In ultrasound imaging technology, the diffraction and reflection characteristics of ultrasound are used to inject ultrasound into the human body. The echo signals received according to the different impedance and attenuation coefficients of the tissue are different. These signals will be recorded in the ultrasound detector to reflect the changes in the position and intensity of the organs, and then whether the examined organs have lesions is detected [1012]. Ultrasound equipment needs to be combined with an ultrasound imaging system to improve the diagnostic efficiency of the ultrasound department. At the same time, to better manage ultrasound imaging information, the ultrasound imaging system needs to be continuously optimized [1315]. Image segmentation occupies an important position in the quantitative and qualitative analysis of medical ultrasound images, which directly affects the subsequent analysis and processing [16]. Correct and clear ultrasound image segmentation provides a guarantee for the accurate extraction of diagnostic information in clinical applications, and it is also the key to clinical quantitative analysis, real-time monitoring, and precise positioning of computer-aided operations [17, 18]. In recent years, with the advancement of segmentation technology, technologies such as dynamic programming, active contour models, and level sets have made image segmentation develop rapidly from two-dimensional segmentation to three-dimensional segmentation, which continuously improves image segmentation [1921]. Traditional ultrasound image segmentation is mainly based on the edge detection method and the region growing method, which complement each other and need to be combined in clinical practical applications [22]. Fuzzy clustering level set algorithm is a model that has been studied more in the field of image analysis and computer vision, but its application in ultrasound is limited due to the characteristics of large ultrasound noise [23]. Therefore, in recent years, many experts and scholars have devoted themselves to adapting the fuzzy clustering level set algorithm to the processing of ultrasound images, and certain progress has been made, such as the proposal of a binarization algorithm based on the fuzzy clustering level set algorithm. However, there are still some problems in related research. If this algorithm is to be widely used in ultrasound image processing, further research is needed [24]. MATLAB is currently one of the most useful software applications in the world, and it has powerful computing and visualization capabilities. It has more than 30 toolboxes for different areas. It is the preferred tool in the field of computer-aided design and algorithm simulation [25].

Therefore, in this study, MATLAB software was used to improve the fuzzy clustering level set algorithm, which was then applied to ultrasound image-guided general anesthesia combined with lumbosacral plexus block in hip arthroplasty, to provide a scientific basis for improving the efficiency of ultrasound diagnosis and auxiliary diagnosis and promote the rehabilitation of hip replacement.

2. Materials and Methods

2.1. Research Subjects

A total of 60 patients undergoing hip arthroplasty in the hospital from March 2019 to March 2020 were selected, and 30 of them were enrolled into a control group and the remaining were enrolled into an experimental group. The control group had 17 males and 13 females, with an average age of (51.2 ± 3.7) years, there were 16 males and 14 females in the experimental group, with an average age of (52.8 ± 2.4) years, and there was no obvious difference in general information. Exclusion criteria were as follows: patients with severe cardiovascular and cerebrovascular diseases and lung infections during the perioperative period and those who were not suitable for general anesthesia; those with abnormal coagulation function; those with a history of mental illness; those who were allergic to anesthetics; and those not cooperating or refusing lumbar nerve block. The experiment met the requirements of medical ethics, and all patients were informed of it and signed the consent form.

2.2. Ultrasonic Image Segmentation Algorithm Based on MATLAB

Ultrasound image segmentation adopts the level set active contour model (LSACM) energy function structure, which mainly includes evolution curve and image to be segmented. The model in which the evolution curve adopts the implicit function expression is called the geometric active contour model, which introduces the level set algorithm and can naturally adapt to the change of the curve topology. The GAC model is a classic representative of the geometric active contour model. The energy functional function of the GAC model isin which is the initial curve with s as the parameter, and the function y will be constructed according to the edge information of the image, which is defined asin which is the Gaussian filter function with mean square , is the expression of the image, and ∗ is the convolution operator. Combining equation (1) with curve evolution theory, we can get GAC level set evolution equation as follows:

Because the stability of the evolution equation is not high, Osher proposed a new level set method, introduced the Heaviside function, and constructed a new energy functional function, expressed as follows:in which is the regular expression of .

This research was mainly based on Kumar et al.'s fuzzy level set-based image algorithm [14], and the improved level set evolution based on fuzzy clustering is expressed as

The evolution step length is set as s, where  = 0.2/s and  = 0.1s. The level set curve evolution equation is solved according to the set parameters, as shown in Figure 1.

2.3. Evaluation of Segmentation Effects of the Two Algorithms

The following three criteria are used to objectively evaluate the segmentation effects of multiple ultrasound images of the two algorithms.

Regional contrast is expressed as follows:where and are the average gray levels of the target area and the background area, respectively. Greater area contrast indicates a greater difference between the target area and the background, and the segmentation effects are more obvious.

Regional consistency is expressed as follows:where represents the total number of pixels in the entire image, and the normalization factor is used here. and are the variances of the two regions, respectively. Greater regional consistency indicates better similarity of the segmented images.

Maximum Shannon entropy is expressed as follows:where and represent the probability that the binary output of the segmented image is 0 and 1 and represents the amount of information contained in most images (larger of the target image after segmentation indicates better overall segmentation effects).

2.4. Simulation of Two Ultrasonic Segmentation Algorithms

The initial population of the improved fuzzy clustering level set algorithm based on MATLAB is Pop = 30, εGA = 5.0; for the GAC model algorithm, err_goal = 0.002, 1r = 0.01. The actual output TT is

TT = 0.0006 1.0001 −0.0001 −0.0001 0.003

0.0148 −0.0007 0.9971 −0.0056 −0.0038

0.0241 −0.0009 −0.0046 0.9911 −0.0060

0.0283 −0.0007 −0.0055 −0.0105 0.9925

The algorithm obtained is used to train the target curve, and then it is analyzed for the running time and the number of iterations.

2.5. Methods of Anesthesia

Patients in the control group were given direct general anesthesia. 0.25 mg/kg midazolam, 2.0 mg/kg propofol, 0.2 mg/kg cisatracurium bromide, and 0.4 μg/kg sufentanil were injected intravenously with mechanical ventilation.

The experimental group received lumbar plexus block on the affected side before general anesthesia induction. The specific method was as follows. Patients in the experimental group accepted ultrasound-guided lumbar and sacral plexus block based on the improved fuzzy clustering level set image segmentation combined with general anesthesia. A low-frequency ultrasound probe was used to scan the intersection of the highest point and the midline of the iliac spine on both sides, and the lumbar plexus nerve was exposed, which was a hyperechoic oval image. After the target area was determined, based on the image segmentation under improved fuzzy clustering level set, the imaging ability was optimized, the appropriate depth of field, focus range, and gain were selected, and 3 mL 1% lidocaine skin infiltration anesthesia was used. Peripheral nerve plexus stimulation needle was adopted to puncture the needle. After the needle tip reached the target area, no blood was drawn back and 20 mL 0.5% ropivacaine was injected. In the same way, ultrasound-guided sacral plexus nerve block based on the improved fuzzy clustering level set image segmentation was performed. The probe was positioned at 1/2 of the connection between the posterior superior iliac spine and the greater trochanter, which was a continuous hyperechoic shadow. The image of sacral plexus was a hyperechoic elliptical image between the sacrum and the ilium, and 15 mL of 0.5% ropivacaine was injected with the same method as described above. The patient was observed, and if there was no abnormality, mechanical ventilation and general anesthesia were given, propofol 2.0 mg/kg infusion, sufentanil 0.1 mg/kg infusion.

The induction of anesthesia before operation, maintenance of anesthesia during operation, and recovery from anesthesia after operation were the same in the two groups.

2.6. Observation Indicators

The average arterial pressure and heart rate at 6 time points were observed, which were t0, t1, t2, t3, t4, and t5. The amount of sufentanil used during the operation, the amount of 24 h analgesics, the incidence of postoperative delirium, and the incidence of cognitive dysfunction were recorded.

2.7. Statistical Analysis

The mean ± standard deviation was adopted to express measurement data, and the comparison between the two groups was realized by the t-test. The enumeration data were represented by n (%), and the comparison between the two groups was achieved by the χ2 test. All data were processed using SPSS22.0, and a bar chart was drawn with Excel 2019.  < 0.05 indicated that the difference was obvious.

3. Results

3.1. The Segmentation Results of GAC Algorithm

It was evident from Figure 2 that the GAC model can accurately segment the boundary between the L2 transverse process and the L3 transverse process, making the lumbar plexus more accurate. However, it failed to accurately segment the boundary of the waist plexus in the end. It may be because the GAC model used gradient information to construct the evolution equation of the curve. However, the edge of the ultrasound image was weak and the noise was large, and it was difficult to make the curve to the boundary more accurately.

3.2. Segmentation Results of Improved Fuzzy Clustering Level Set

Based on MATLAB simulation, the clustering results showed that it was close to the edge of the target area, but due to the characteristics of uneven ultrasound image and large noise, some noises also appeared in the nontarget area, as shown in Figure 3. The above clustering results after level set evolution suggested that the smaller area can be filtered out to make the edge of the target area clearer. Therefore, the algorithm based on improved fuzzy clustering level set was better than the algorithm based on GAC model in image segmentation.

After the number of iterations and running time of the two algorithms were compared, it was found that when the number of iterations was the same, the running time of the improved fuzzy clustering level set algorithm was 11.82 s, while that of the GAC model algorithm was 12.69 s, as shown in Table 1. The running time of the former was 0.87 s less than that of the latter, indicating that the image segmentation based on the improved fuzzy clustering level set algorithm was better than the GAC model algorithm in running time.

3.3. Evaluation of Segmentation Performance of the Two Methods

The quantitative analysis results of the segmentation performance of the two methods are shown in Table 2. It was noted that the segmentation performance of the improved fuzzy clustering level set algorithm based on MATLAB was better than the classic GAC model algorithm. This proved the effectiveness and feasibility of the improved fuzzy clustering level set algorithm based on MATLAB.

3.4. Comparison of Mean Arterial Pressure

The comparison of the average arterial pressure at six time points of t0, t1, t2, t3, t4, and t5 is shown in Figure 4. The average arterial pressure of the experimental group at t0, t1, t2, t3, t4, and t5 was 112.25 ± 10.11, 101.87 ± 8.88, 99.76 ± 9.37, 97.84 ± 10.66, 94.51 ± 9.42, and 110.88 ± 8.46, respectively. In contrast with the control group, the average arterial pressure of the experimental group at the four time points of t1, t2, t3, and t5 was obviously reduced ( < 0.05).

3.5. Comparison of Heart Rate

The comparison of the heart rate at six time points of t0, t1, t2, t3, t4, and t5 is shown in Figure 5. The heart rates of the experimental group at t0, t1, t2, t3, t4, and t5 were 78.15 ± 8.27, 73.54 ± 6.91, 69.73 ± 7.32, 70.63 ± 9.66, 66.17 ± 6.77, and 74.52 ± 8.01, respectively. In contrast with the control group, the heart rate of the experimental group at the four time points of t1, t2, t3, and t5 was obviously reduced ( < 0.05).

3.6. Comparison of Intraoperative Sufentanil Dosage and Analgesic Dosage

The comparison results of intraoperative sufentanil dosage and analgesic dosage are shown in Figure 6. The amount of fentanyl and analgesic drugs used in the experimental group was 15.88 ± 9.26 and 56.47 ± 7.45, respectively; the amount of fentanyl and analgesic drugs used in the control group was 34.76 ± 7.28 and 79.76 ± 9.37, respectively. In contrast with the control group, the intraoperative sufentanil dosage and analgesic dosage of the experimental group were obviously reduced (< 0.05).

3.7. Comparison of the Incidence of Postoperative Cognitive Dysfunction and Delirium

The comparison of the incidence of postoperative cognitive dysfunction and delirium is shown in Figure 7. The incidence of cognitive impairment and delirium in the experimental group was 5.13% and 2.56%, respectively; the incidence of cognitive impairment and delirium in the control group was 20.51% and 17.95%, respectively. In contrast with the control group, the incidence of postoperative cognitive dysfunction and delirium in the experimental group was obviously reduced ( < 0.05).

4. Discussion

In the study, first, a detailed analysis of ultrasound imaging was conducted based on the basis of LSACM to study the impact of different LSACMs on ultrasound imaging. Then, Kumar et al. improved the fuzzy level set image algorithm based on the fuzzy level set image algorithm and the characteristics of the ultrasound image and carried out the segmentation experiment on the lumbar plexus ultrasound image, which was compared with the classic LSACM and GAC model algorithms, and the experimental effects and performance of these two algorithms were checked and analyzed. After experimental analysis, it was found that the improved fuzzy clustering level set algorithm proposed was better than the algorithm based on GAC model in image segmentation. In addition, when the number of iterations was the same, the running time of the improved fuzzy clustering level set algorithm was 11.82 s, while that of the GAC model algorithm was 12.69 s. The running time of the former was 0.87 s less than that of the latter, indicating that the image segmentation based on the improved fuzzy clustering level set algorithm was better than the GAC model algorithm in running time, which was similar to the research of Xu et al, who indicated that convolutional neural network had the advantage of wiring harness in breast cancer ultrasound image segmentation, and the accuracy, precision, and recall rate were all over 80%, and the running time was 11.4 s, which was consistent with the results of this study [26], suggesting that these algorithms can improve the imaging quality of medical ultrasound to assist in clinical diagnosis of diseases [27]. Therefore, the improved fuzzy clustering level set algorithm has certain advantages in ultrasound image segmentation and can be recommended for clinical auxiliary diagnosis.

Anesthesia is crucial in the treatment of hip replacement surgery, which can improve the stability of hemodynamics, reduce the adverse effects on the patient, and then improve the efficacy of surgery [28]. It was found that in contrast with the control group, the average arterial pressure and heart rate of the experimental group at the four time points of t1, t2, t3, and t5 were obviously reduced, and the amount of sufentanil and analgesic drugs and the incidence of postoperative cognitive dysfunction and delirium were obviously reduced, which was consistent with the results of previous studies [29] that general anesthesia is often used for hip fracture surgery, but it often causes adverse reactions during and after the operation and affects the effect of the operation. Peripheral nerve block anesthesia has little effect on patients’ breathing and circulation, but traditional nerve block anesthesia often has shortcomings such as inaccurate positioning [30]. The lumbar plexus ultrasound in the study was based on the improved fuzzy clustering level set algorithm, which can realize accurate position to improve the effect of lumbar and sacral plexus block anesthesia. The results suggested that the mean arterial pressure in the experimental group at t0, t1, t2, t3, t4, and t5 was 112.25 ± 10.11, 101.87 ± 8.88, 99.76 ± 9.37, 97.84 ± 10.66, 94.51 ± 9.42, and 110.88 ± 8.46, respectively; the average arterial pressure at the four time points of t1, t2, t3, and t5 was significantly lower than that of the control group (< 0.05); the heart rates at six time points were 78.15 ± 8.27, 73.54 ± 6.91, 69.73 ± 7.32, 70.63 ± 9.66, 66.17 ± 6.77, and 74.52 ± 8.01, respectively, which were significantly lower than those of the control group (< 0.05); the amounts of fentanyl and analgesics used in the experimental group were 15.88 ± 9.26 and 56.47 ± 7.45, which were lower than 34.76 ± 7.28 and 79.76 ± 9.37 in the control group (< 0.05); the incidence of cognitive impairment and delirium in the experimental group was 5.13% and 2.56%, which was lower than 20.51% and 20.51% in the control group (< 0.05). In conclusion, combined treatment of hip replacement patients had better heart rate, intraoperative dosage of sufentanil and analgesia, and postoperative incidence of cognitive dysfunction and delirium than patients with general anesthesia alone. Therefore, ultrasound-guided lumbar and sacral plexus block anesthesia combined with general anesthesia has a more perfect anesthesia and analgesic effect, reduces the dosage of drugs, and thereby decreases the occurrence of poor prognosis such as cognitive dysfunction and delirium caused by drugs.

5. Conclusion

The level set algorithm based on the improved fuzzy clustering proposed was better than the GAC model algorithm based on the classic level set in image segmentation and running time. Under its guidance, the lumbar and sacral plexus block combined with general anesthesia has better performance in hip arthroplasty, with good clinical application effect, which can reduce the dosage of drugs, thereby decreasing the occurrence of poor prognosis such as cognitive dysfunction and delirium caused by drugs, and is better than simple general anesthesia. However, this study still has some limitations, such as too few algorithm comparisons and small sample size, 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 can provide a scientific basis for improving the efficiency of ultrasound diagnosis and assisting diagnosis and at the same time promote rehabilitation of hip replacement.

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 that they have no conflicts of interest.

Acknowledgments

This study was supported by Medical and Health Science and Technology Project B of Taizhou Science and Technology Bureau (1702KY40).