Abstract

To explore the application of self-efficacy in X-ray image analysis based on deep convolutional neural network (DCNN) in the care and treatment of osteoporosis patients with rheumatoid arthritis. In this study, 90 patients with osteoporosis were divided into the control group and the experimental group for DCNN combined with X-ray diagnosis. Patients in the control group were given routine nursing care, and those in the experimental group were given comprehensive nursing care. The bone mineral content, self-efficacy, anxiety, and depression in the femur and lumbar spine after care were compared. The results showed that the accuracy, sensitivity, and false-negative rate of X-ray image recognition of osteoporosis based on DCNN were 91%, 98%, and 2%, respectively. The bone mineral contents of femur and lumbar vertebra in the experimental group were significantly higher than those in the control group (). The anxiety, depression, and self-efficacy scores of patients in the experimental group were significantly higher than those in the control group (). In conclusion, the accuracy rate of DCNN combined with X-ray plain film imaging in the detection of osteoporosis is high. Comprehensive nursing intervention can improve the curative effect and self-efficacy of patients. The improvement of self-efficacy is a related factor for the improvement of patients’ negative emotions and quality of life.

1. Introduction

In recent years, computer technology has been widely used in the medical field, such as computed tomography (CT) and X-ray imaging technology [1]. Different tissues can absorb different number of rays. Based on this principle, the technology displays three-dimensional images of internal structure of the human body, which provides convenience and basis for clinical diagnosis [2]. CNN is a kind of feedforward neural network, which can effectively reduce the complexity of the feedback neural network. It can identify some distorted but non-deformed two-dimensional images, such as those with displacement, scaling, etc., and is one of the representative algorithms of deep learning [3, 4]. In addition, neural network recognition technology is widely used in image segmentation [5]. Neural network has a huge number of connections, which is easy to include spatial information, and can better solve the problems of unevenness and noise in image recognition [6, 7]. The first convolutional neural network is a time delay network proposed by foreign scholars and experts, which belongs to the convolutional neural network for speech recognition. Then, the translational invariant artificial neural network has been successively proposed and applied to medical image detection and recognition [8, 9]. Later, with the advancement of deep learning theory and the update of numerical computing equipment, the representation learning ability of convolutional neural networks has attracted extensive attention from all walks of life [10].

Osteoporosis is a systemic bone disease, which is mainly characterized by an increased incidence of fractures, decreased bone mineral density, and structural damage. The clinical manifestations of osteoporosis are often deformation or fracture of the spine, limited movement, or difficulty in walking [10, 11]. According to the etiology, it can be divided into primary and secondary osteoporosis. Secondary osteoporosis is mainly caused by secretary metabolic diseases such as hyperthyroidism or the influence of drugs and hormones. The fracture and lesion at the lesion site can be found through X-ray plain film diagnosis of the lesion site [12, 13]. Rheumatoid arthritis (RA), an autoimmune disease, has swelling and pain in the joints in the early stage of its occurrence, but then, with the development of the disease, a large amount of calcium substances is lost, resulting in bone changes and even osteoporosis, which increases the difficulty in clinical diagnosis and treatment [14, 15].

In this study, 90 patients with rheumatoid arthritis combined with osteoporosis were selected as the research object, and the DCNN combined with X-ray plain film diagnosis was conducted. They were divided into the control group and the experimental group, which were given routine nursing care and comprehensive nursing intervention, respectively. After care, the bone mineral content in the femur and lumbar vertebra, self-efficacy, anxiety, and depression were compared between the two groups, and the quality of life of the patients was evaluated according to the summary table of quality of life measurement. Thus, the application of self-efficacy in the care and evaluation of osteoporosis in rheumatoid arthritis was studied based on X-ray image analysis of convolutional neural network in-depth learning.

2. Materials and Methods

2.1. General Information

In the study, 90 patients with RA combined with osteoporosis, admitted to our hospital from September 2018 to September 2020, were selected as the research subjects (48 males and 42 females). They were enrolled into a control group and an experimental group, each with 45 cases, and all accepted DCNN-based X-ray plain film examinations. The control group had routine nursing, and the experimental group had comprehensive nursing including social support, psychological counseling, daily exercise guidance, rational medication, and emotional relief. The nursing effects were compared for the bone mineral content in the femur and lumbar spine, self-efficacy scores, and anxiety and depression scores, and the quality of life was assessed. The study has been approved by the Ethics Committee of the hospital. The patients and their families were informed of the study and had signed the consent forms.

Inclusion criteria were as follows: (i) patients between 40 and 60 years old; (ii) patients with clear consciousness who can cooperate with doctors in treatment and sample collection; (iii) patients with RA and osteoporosis confirmed by premenstrual examination; (iv) patients with complete clinical data and information; and (v) patients with no history of mental illness.

Exclusion criteria were as follows: (i) patients who withdrew and transferred for treatment due to personal reasons; (ii) patients with other serious diseases or infectious diseases; (iii) patients with incomplete case data; (iv) patients with severe arthritis or patients who had undergone treatment for similar conditions; (v) patients who had other system or organ diseases; and (vi) patients who did not accept treatment.

2.2. X-Ray Plain Film Diagnosis

The X-ray plain film on the lesions of RA was taken for osteoporosis diagnosis. After checking the basic information, the examiner determined the specific body part to diagnose, selected the appropriate size of the film according to the actual size of the inspection site, removed the objects that can affect the irradiation effect at the inspection site, and adjusted the voltage, current, and time for preliminary preparation.

2.3. DCNN Learning Algorithm

In the study, the DCNN learning algorithm is applied to recognize the X-ray plain film of patients with RA combined with osteoporosis. In the image segmentation, automatic learning features of network parameters are automatically adjusted by supervised learning, and the image processing process is shown in Figure 1.

To solve the problem that the edge of the lesion in the image is not clear and the local contrast is insufficient, the adaptive histogram equalization method is used to enhance the image contrast, which is defined as follows:

The size of the sliding window is defined as XX, f(n) is the local mapping function, and C(n) is the cumulative distribution function. Then, the slope of the local mapping function f(n) is calculated as follows:

When the maximum local mapping function slope is Kmax, the maximum histogram height is Lmax, which is calculated as follows:

The calculation model of neural network is as (4), where On is the output of the neuron, In (n is 1, 2, 3, ..., n) is the input signal, T is the neuron activation function, Qnm indicates the connection strength between two neurons, and γn indicates the threshold of activating neurons.

The severity of rheumatoid arthritis is evaluated through X-ray image data, and all levels of weight values are assigned through a weighted loss function. The weight of loss is calculated as equation (5). Among them, n is the sample size, T is the real value input, F is the predicted value input, and f represents the loss function. In general, CNN algorithm mainly refers to a linear operation method for grid data, including several basic simple operation processes. Compared with other neural networks, the CNN has independent connection and calculation methods, but they are all based on the backpropagation algorithm, and the network parameters are adjusted and optimized on this basis.where I(x) and O(x) are integral functions, I(x) represents the input, O(x) represents the convolutional kernel, and T(n) is the feature mapping, which is expressed as follows:

In practice, for discrete data in the image, it is defined that I(x) and O(x) are both discrete variables. Then, the convolution of I(x) and O(x) is expressed as equation (7). CNN can recognize images by sliding window, selective search, and other methods. First, it can judge whether the window is the target and defines it as the regression problem of the occurrence probability of each target in image segmentation.

2.4. Evaluation Indicators and Standards

Patients accepted routine nursing and comprehensive nursing, including social support, psychological counseling, daily exercise guidance, rational medication, and emotional relief, respectively. The nursing effects were compared for the bone mineral content in the femur and lumbar spine, self-efficacy scores, and anxiety and depression scores, and the quality of life was assessed. Among them, the self-efficacy was assessed according to Table 1.

Dice similarity coefficient (DSC), average pixel accuracy (MPA), and average intersection ratio (MIOU) were used to evaluate the difference of ROI between manual marking by clinicians and automatic marking by algorithms, and the calculation formula was as follows:where S0 represents the ROI manually marked by the clinician and S represents the ROI automatically segmented by the algorithm.

2.5. Statistical Methods

The data were processed by SPSS19.0, the measurement data were calculated as mean ± standard deviation ( ± s), and the count data were expressed as a percentage (%). The analysis of variance was adopted for comparison between groups. The difference was statistically significant with .

3. Results

3.1. X-Ray Images of Osteoporosis

Figure 2 shows an X-ray image of the right knee joint of a patient with osteoporosis. It was evident that the bone density of the right knee was decreased, the trabecular bone was thinned and sparse, the space between bone marrow cavity and the trabecular bone was widened, the bone cortex was thinned, and there was stratification. The edge of the knee joint became sharp, the joint space became narrower, and there was millimeter-sized scattered radiolucent space with a blurred boundary. Clear low-density radiolucent areas can be seen above and below the patella.

Figure 3 shows an X-ray image of the ankle joint of a patient with osteoporosis. The joint was saddle-shaped and about 4 mm wide. The lateral X-ray film found that the joint space appeared as a forward-backward convex curved line, and the inner and outer ankles were unclear because they overlapped the shadow of the talus. The anteroposterior length of the upper articular surface of the talus was much longer than that of the lower articular surface of the tibia.

The accuracy of ROI segmentation by different algorithms was objectively evaluated by DSC, MPA, and MIOU, and two typical algorithms, support vector machine (SVM) and Naive Bayes (NB), are introduced for comparison. The results showed that the DSC, MPA, and MIOU values of CNN algorithm were 0.9410, 0.9228, and 0.8968, respectively, which were significantly better than those of SVM algorithm and NB algorithm (Figure 4).

3.2. The Incidence of Osteoporosis

Figure 5 presents different locations of osteoporosis and the corresponding number of patients. It was evident that there are more patients with femoral osteoporosis vs. patients with lumbar osteoporosis. There was no notable difference in the number of patients with osteoporosis in different parts between the two groups ().

3.3. The Detection Rate of the X-Ray Image

It was evident from Figure 6 that the accuracy and sensitivity of DCNN-based image analysis in detecting osteoporosis were 91.2% and 98.3%, respectively, and the false-negative rate was only 2%.

3.4. The Anxiety and Depression Scores

Figures 7 and 8 present the proportion of patients with the four mental states of mild depression, anxiety, general, and good. The experimental group had a higher proportion of patients with a good mental state (62% vs. 10%) () and a lower proportion with mild depression (3% vs. 44%). The patients with anxiety and general mental state accounted for 10% and 25%, respectively.

3.5. The Bone Mineral Content and Bone Density

Figure 9 shows the bone mineral density index T value after different nursing interventions. It was less than −2.0 in the control group, while it was at a normal level in the experimental group, which was between −1.5 and −1 ().

3.6. The Self-Efficacy and Exercise Scores

Figure 10 presents the self-efficacy scores after different nursing interventions. It was evident that the self-efficacy score of the experimental group was higher (78.86 ± 11.32 vs. 51.21 ± 13.37) ().

Figure 11 shows the exercise status scores after different nursing interventions. It was evident that the exercise status score of the experimental group was higher (83.81 ± 13.28 vs. 60.21 ± 20.15) ().

Figure 12 shows the Tampa Scale of Kinesiophobia (TSK) scores of the two groups. It was evident that the TSK score of the experimental group was lower (28.09 ± 3.21 vs. 47.85 ± 4.88) ().

4. Discussion

Generally, patients with osteoporosis have no obvious symptoms in the early stage, and the disease has developed to skeletal deformities, abnormal lesions, or even fractures when it is finally discovered. X-ray plain films enable the doctor to observe local lesion changes (such as osteoarthritis, intervertebral disc disease, and spine migration). The X-ray image of osteoporosis shows an increase in bone transparency, a decrease in bone trabeculae, and a widening gap. But there are some limitations because the disease will not be discovered until the bone mass is reduced by more than 30% [16, 17]. The World Health Organization’s classification of osteoporosis in the last century stipulates that when the bone density of adult healthy people drops more than 2.5 from the normal value, it can be judged as osteoporosis [18]. Diseases including hyperparathyroidism, multiple myeloma, and osteomalacia can lead to secondary osteoporosis [19, 20]. In this study, patients with RA combined with osteoporosis were selected as the research subjects for DCNN-based X-ray plain film examinations. They were given routine nursing intervention and comprehensive nursing intervention, respectively. The nursing effects were compared for the bone mineral content in the femur and lumbar spine, self-efficacy scores, and anxiety and depression scores. Furthermore, the quality of life was assessed. It was found that in the experimental group, the bone mineral density T value and the self-efficacy score were higher (), and the T value was at a normal level. This was consistent with the research results of Picha et al. [21], indicating that DCNN-based X-ray plain film examination has high accuracy in detecting RA combined with osteoporosis and comprehensive nursing such as social support and exercise guidance can improve patients’ clinical efficacy, positive emotions, and self-efficacy. The improvement of self-efficacy is a related factor to alleviate patients’ negative emotions and promote the quality of life.

5. Conclusion

In this study, patients with rheumatoid arthritis and osteoporosis were selected as the research objects and were diagnosed by DCNN combined with X-ray plain film. Routine nursing intervention and comprehensive nursing intervention were given, respectively. DCNN combined with X-ray plain film images can effectively detect rheumatoid arthritis complicated with osteoporosis, with high accuracy. Comprehensive nursing, such as social support and exercise guidance, can improve the clinical efficacy, positive emotion, and self-efficacy of patients. The improvement of self-efficacy is the related factor of patients’ negative emotions and improvement of quality of life. However, the sample size selected in this study is small, which may have a certain impact on the experimental results. Therefore, in the subsequent experiments, the sample size will be increased to further study the application of X-ray image analysis of self-efficacy based on deep learning in the nursing and evaluation of rheumatoid arthritis and osteoporosis. In a word, this study provides data support and theoretical basis for the diagnosis and treatment of rheumatoid arthritis complicated with osteoporosis.

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.

Authors’ Contributions

Yaqin Geng and Ting Liu contributed equally to this study.

Acknowledgments

This study was supported by the Changzhou Science and Technology Program (grant no. CJ20190065).