Next Article in Journal
New Neutron Imaging Facility NIFFLER at Very Low Power Reactor VR-1
Previous Article in Journal
Fuzzy Model for the Automatic Recognition of Human Dendritic Cells
Previous Article in Special Issue
Segmentation of Pancreatic Subregions in Computed Tomography Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Social Media Devices’ Influence on User Neck Pain during the COVID-19 Pandemic: Collaborating Vertebral-GLCM Extracted Features with a Decision Tree

1
Department of Biomedical Engineering, Faculty of Engineering, The Hashemite University, Zarqa 13133, Jordan
2
Department of Electrical Engineering, Al-Ahliyya Amman University, Amman 19328, Jordan
3
Department of Medical Engineering, Al-Ahliyya Amman University, Amman 19328, Jordan
4
Department of Innovation Engineering, University of Salento, 73100 Lecce, Italy
*
Authors to whom correspondence should be addressed.
J. Imaging 2023, 9(1), 14; https://doi.org/10.3390/jimaging9010014
Submission received: 14 October 2022 / Revised: 7 December 2022 / Accepted: 2 January 2023 / Published: 8 January 2023
(This article belongs to the Special Issue Intelligent Strategies for Medical Image Analysis)

Abstract

:
The prevalence of neck pain, a chronic musculoskeletal disease, has significantly increased due to the uncontrollable use of social media (SM) devices. The use of SM devices by younger generations increased enormously during the COVID-19 pandemic, being—in some cases—the only possibility for maintaining interpersonal, social, and friendship relationships. This study aimed to predict the occurrence of neck pain and its correlation with the intensive use of SM devices. It is based on nine quantitative parameters extracted from the retrospective X-ray images. The three parameters related to angle_1 (i.e., the angle between the global horizontal and the vector pointing from C7 vertebra to the occipito-cervical joint), angle_2 (i.e., the angle between the global horizontal and the vector pointing from C1 vertebra to the occipito-cervical joint), and the area between them were measured from the shape of the neck vertebrae, while the rest of the parameters were extracted from the images using the gray-level co-occurrence matrix (GLCM). In addition, the users’ ages and the duration of the SM usage (H.mean) were also considered. The decision tree (DT) machine-learning algorithm was employed to predict the abnormal cases (painful subjects) against the normal ones (no pain). The results showed that angle_1, area, and the image contrast significantly increased statistically with the time of SM-device usage, precisely in the range of 2 to 9 h. The DT showed a promising result demonstrated by classification accuracy and F1-scores of 94% and 0.95, respectively. Our findings confirmed that the objectively detected parameters, which elucidate the negative impacts of SM-device usage on neck pain, can be predicted by DT machine learning.

1. Introduction

Many social media (SM) users enjoy using many smartphone applications in everyday life and are linked in for a long time to social media such as Facebook, Twitter, LinkedIn, Instagram, Snapchat, Tik Tok, Pinterest, Reddit, YouTube, and WhatsApp. During the browsing routine, users tend to lower their heads and place the smartphone device close to their waist or lap while travelling, such as in a car, bus, or subway train. Using a smartphone for a long time in such a posture will cause a strained spine, neck, and eye fatigue.
Daily, worldwide social media usage in the years 2012–2020 has already been published by the Statista Research Department [1] and the World Health Organization (WHO) [2]. Considering the years 2019 and 2020, the average, daily, worldwide social media usage by smartphones and internet users was 145 min per day in 2020, which was up from 142 min in the previous year. Currently, the country with the most time spent daily on social media is the Philippines, with online smartphone users spending an average of three hours and fifty-three minutes daily on social media. For comparison, the daily time spent on social media in the United States (US) was just two hours and three minutes.
Currently, the global social network penetration rate is nearly 54%. Western Europe has the highest social media penetration rate at 79%, topping the global social media usage by region; Eastern and middle Africa close the ranking with 10% and 8% usage, respectively [3]. People access social media for a variety of reasons. Users like to find funny or entertaining content and enjoy sharing photos and videos with friends, but they mainly use social media to stay in touch with current events and friends.
Social media profoundly affects smartphone use, interpersonal relationships, and everyday life. According to an online survey conducted in February 2019, social media has improved access to information, ease of communication, and freedom of expression. On the other hand, some respondents also reported that social media had negatively affected their privacy, increased their political polarization, and heightened daily distractions [4]. Social media has such a large global impact on daily life that many internet and smartphone users believe that social media platforms have strongly affected certain aspects of daily life. In this survey, 44% of respondents stated that social media platforms have led to increased political polarization [5,6].
The COVID-19 pandemic has involved the entire world population, putting a strain on national health systems and profoundly changing our lifestyles. Specifically, technology made it possible to carry out essential services required by the population (teaching, communications, public administration, etc.) and support health systems during the pandemic. In this context, wearable devices represent powerful tools for gathering information related to the user’s condition directly from home. These tools were widely employed during the COVID-19 pandemic to avoid the overload of health systems [7,8].
Few studies show a statistical analysis, a model or index relating to the use of SM, the ages and real usage times of users, and how these factors are linked to the onset of pain or pathologies in the neck. Most studies linking neck pain to social media use are statistical questionnaires based on many questions that are addressed to social media users and cross-sectional surveys. A significant study that related SM usage, users’ ages, and neck pain to a certain index or model was presented by H. Yang et al. [9]. This study explored the researcher’s predictive relationship of social media on smartphone use to body esteem in female adolescents and the mechanism underlying these relations. A cognitive–affective framework was investigated, and the relationship between the SM and smartphone use and body esteem was determined by the cognitive internalization of an ideal body image, own aspect comparisons, and social-appearance anxiety. A sample of (N = 100) female adolescents aged 13 to 18 was studied. The results were as follows: repetitive SM use tended to cause unhealthy body esteem via intensified cognitive internalization, which triggers appearance comparisons and anxiety regarding negative appearance evaluation. In addition, the time spent in front of the smartphone screen negatively affected the body estimate. This study underestimated the multifactor mechanism that explains the negative impacts of social media and smartphone activities on body esteem in female adolescents who will have low body esteem in the future [10].
An example of neck-pain distribution caused by different factors, including worldwide SM usage, is provided below. A total of 15% of the adult population in Brazil, 4% in China, 20% in the European Union, 5% in Japan, 12% in Russia, and 24% in the US had been diagnosed with a neck pain condition. Moreover, neck pain has an annual prevalence rate exceeding 30% among adults in the US; nearly 50% of individuals will continue to experience chronic neck pain or frequent occurrences. Among adults, between 20% and 70% will experience neck pain that interferes with their daily activities during their lifetime [11,12]. In 1995, the US Department of Defense issued a guideline on the use of computers and tablets in military settings. They recommended that hand-held equipment should not weigh more than 2.3 kg; should be small enough to be held and operated with one hand; and should be no larger than 100 mm high, 255 mm long, and 125 mm wide [13].
Many questions may arise as a result of the reported studies. One of these questions is: Is there any quantitative approach among the subjective-basis approaches to predict muscles’ neck pain associated with SM technology usage? Second, what qualitative basis (criteria) or measurable parameters may enable us to build a new formula or rule to describe or predict the neck pain that may occur? Holding a smartphone device to browse applications and SM at a close distance will cause headaches and eye strain problems. To avoid these health risks and consequences, SM users must use the smartphone device at eye level, change their posture continually, keep an appropriate viewing distance, and reduce the use time of the smartphone device. Some smartphone users do not pay enough attention to their posture while using a smart device.
This research therefore attempts to find an approach or a quantitative method for studying the effect of using SM (i.e., with mini displays) on neck pain and avoiding muscle fatigue with future use. The proposed method uses:
  • The extracted features from X-ray retrospective images using the gray level co-occurrence matrix (GLCM);
  • The two angles measured, and the related area controlled by these angles according to the inclination of the neck vertebrae for normal and abnormal cases (i.e., patients with perceived neck pain);
  • Information about the SM-usage period in hours correlated with the users’ ages. Nine inputs or information were provided to the decision tree (DT) to predict the conditions that may lead to muscle fatigue or produce neck pain;
  • The DT classifier (provided by the Weka package, University of Waikato, New Zealand) can reduce the bias (noise) produced by unbalanced samples. The final phase of this framework is a new, predictive mathematical model utilizing a gene-expression programming (GEP) tool to define the class (normal or abnormal) to which each patient belongs using a MATLAB-based, graphical user interface to support the orthopedic doctor.

Related Works

The impact of SM usage on neck pain prevalence during the spread of COVID-19 pandemic has been reported in many survey-based studies [14,15,16,17,18].
Access to working at home and distance learning were the most significant factors that imposed neck and shoulder pain. For example, the study reported in Ref. [14] on a sample of 26126 students confirmed neck pain occurrence. In particular, this study aimed to demonstrate the prevalence of neck pain, mainly in medical students, that could be ascribed to electronic device usage during the COVID-19 pandemic. Most students reported a rise in neck aches; the majority noted an increase in neck aches (n = 1002—72.3%), whereas n = 384 (equal to 26.7%) students indicated the same pain before and during the pandemic. Another work (Ref. [15]) focused on the study of the home use of smartphones in 1045 participants in whom neck-pain symptoms appeared. Demographic and descriptive analyses, a Pearson correlation analysis, reliability tests, and a linear regression analysis were used to process the questionnaire data. The obtained results revealed no correlation between the selected variables; namely, e-learning, online classes, physical fitness, and body pain; and the time spent with smartphones. However, the collected data were affected by personal perception.
In a survey of 2044 Italian students conducted before and after the COVID pandemic, 43.5% of students reported neck pain and 33.5% had lower-back disease [16]. The obtained results demonstrated that musculoskeletal pain in young students could be ascribed to the reduction in physical activity during the COVID-19 lockdown. In a questionnaire study, 129 computer users were asked about functional disability [17]. It was found that 42.9% had neck and upper back pain. In addition, some participants had mild, moderate, and severe functional limitations due to neck and back pain occurrences. This study increased the awareness of having a correct, ergonomic work space. Similarly, in [19], the authors investigated a possible correlation between back pain and COVID-19 infection by analyzing different scientific works presented in the literature. They identified neurological damages induced by disease as a factor of post-COVID-19 chronic pain syndrome. Particularly, the same receptors mediating the access of SARS-CoV-2 into the respiratory systems were present in the neural tissues, thus attributing post-COVID joint pain to neurologic implications due to infection [20].
The alterations to the neurologic system caused by COVID-19 infection are not well understood. However, their effects are evident, such as chronic aches and altered pain sensibilities. Additionally, the extended lockdown periods—actuated to limit the pandemic spread—have exposed the population to risk factors that lead to neck pain mainly due to the prolonged use of electronic devices such as smartphones and tablets [21]. Indeed, the limited display size induces head and neck flexion, causing a postural alteration and resulting in the dysfunction of muscular activity and increasing the cervical load. Several studies have demonstrated a direct correlation between musculoskeletal pain, the number of hours of electronic device usage, and the positive impact of physical exercise on the user’s condition. In particular, the prevalence of neck pain was significantly related to age, sex, health status, job satisfaction, and length of employment. In addition, an increased sedentary lifestyle and incorrect posture appear to promote the onset of musculoskeletal disorders [22]. The main prevention strategies for avoiding these consequences are: reducing smartphone usage time, maintaining correct posture, performing exercise regularly, and teaching healthy habits. In addition to the posture issues, psychological stress is also a cause of neck pain, especially for students and teachers [23,24]. In Ref. [25], the authors investigated the lockdown effect on psychological stress and neck pain (NP). They studied a population of 265 college students by submitting to them a questionnaire related to sociodemographic features, the neck disability index (NDI), self-perceived stress, the visual analogue scale (VAS), and neck pain (NP) frequency. The results demonstrated that 35.6% of students suffered from mild NP impairment during the lockdown, a higher occurrence than before. Students expressed moderate self-perceived stress, whereas 59.3% reported study-related stress. Higher rates of self-perceived, study-related stress, sitting for more than 3 h per day, and a higher VAS score were linked to an increased risk of an NDI ≥ 15 (Nagelkerke’s R2 = 0.513, p < 0.001).
Similarly, M. Houle et al. analyzed the factors affecting headache and neck pain as well as the effect of wearing a headset on headache and neck-pain intensity in telecommuters over five days [26]. Sixty-two participants were involved, gathering data related to the NBQ (Neck Bournemouth Questionnaire), headache and neck frequency, and wearing a headset (i.e., typology and number of hours). Using a multivariate regression model, the study revealed that only the headache-related disability score was an associated factor of headache occurrence, and only neck-pain-related disability was an associated component of neck-pain occurrence. Headset usage was not linked to increased neck discomfort or headache intensity. In addition, therapists in the United States (US), United Kingdom (UK), and Canada have reported that continuous repetitive and regular usage of a smartphone device for browsing applications and SM may lead to cumulative damage for musculoskeletal and eye users [27]. The studies warned that many static postures of the shoulders, upper spine, and neck could cause physical disorders and diseases later in life. Many optometry and vision-science studies have also shown the same results [20].
Many researchers and scientists suggest some systems and methods that measure the postures of a person and their effects on the neck, shoulder, spine, and eye while using SM on smartphones. For example, S. Arteaga et al. suggested a posture-monitoring system using an accelerometer for stroke survivors [27]. The proposed system consists of a three-axis accelerometer, beeper, light emitting diode (LED), and vibrator and uses many monitoring devices above body parts such as the knees, necks, shoulders, and wrists of subjects. The proposed system warns SM users and stores data when the appropriate posture is detected. In the next study, Farra et al. [13,28] developed a novel system to monitor spine-normal and abnormal positions by measuring the inclination of the SM users’ upper backs and the subsequent stress effect on the spines. Many different sensors have been used to measure this effect, such as an inclinometer and load cells placed around the neck and on the foot of the SM user, identifying a static setting that leads to the lower back pain of the user. Although this model was appropriate for indoor situations such as offices, it could not be applied to the case of SM smartphone users. Another close system of SM monitoring was developed by Baek et al. [29]. They used a two-axis accelerometer to study postures while sitting, standing, and walking. The suggested method divides postures into three groups as a function of the tilt angle between the device and Earth surface.
Some of the researchers in the ergonomics literature studied the effects of different display screens on neck and shoulder pain when compared to a single display. These studies investigated the smartphone screen’s height, viewing angle, and distance from the face [30,31,32,33,34]. Many studies have suggested that a smartphone screen with a lower height and a gaze angle of about 15 degrees is suitable for visual comfort [30,32,33]. However, the most accepted recommendation nowadays is to position the smartphone screen at eye level. In other published studies, positioning the display screen of a personal computer (PC) or a smartphone in a central position was compared with placing the screen at a position angled to the left and to the right [31]. It was found that the angled position was associated with a significant increase in neck and shoulder muscle activity and head movements. Finally, Straker et al. studied the flexion angle differences between adolescent computer users and non-computer users while using social media. They found that computer users demonstrated increased neck flexion and pelvic tilt [35]. They also showed that more time spent on the computer while using social media was associated with an increased bending of the head and neck, especially in boys, and of the lower back in girls (leading to lumbar lordosis) [36].
This manuscript is organized as follows: Section 1 contains the introduction to SM usage. Section 2 presents the method and materials, including the results of the decision-tree classifier and statistical analysis. In Section 4, the discussion of the obtained results is conducted. The final section is the conclusion.

2. Materials and Methods

2.1. Data Collection and Study Design

Based on retrospective X-ray neck images, a cross-sectional study was conducted on 46 patients with neck-pain occurrences in the Arab Medical Centre (Amman, Jordan). The data collection took place between 15 February 2020, and 18 April 2020, during which 46 X-ray neck images were captured using an X-ray imaging machine (i.e., the Definium TempoTM fixed X-ray system (GE HealthCare, Chicago, IL, USA)), with a matrix size of 2000 × 2500. For a 35 cm × 43 cm cassette, this digital matrix corresponds to a pixel size of 175 μm and a limiting resolution of three line pairs per millimeter (namely, a spatial resolution of 0.1 mm). First, participants completed a short survey before undergoing the orthopedic examination.
Table 1 briefly illustrates the survey content provided to the patients; the age, gender, duration of time spent using SM devices (in hours), presence of chronic pathologies such as diabetes or high blood pressure, and the pain type for which the orthopedic visit was necessary were the information requested from the participants.
X-ray neck images were acquired under the supervision of an orthopedic doctor, with patients seated on chairs in front of the X-ray machine. Patients with many healthcare problems, such as blood pressure and diabetes, were also considered in the research study. The orthopedic doctor questioned all patients about the time duration of their use of SM devices. Prior to visiting the doctor, patients thought they had ear pain, not neck-muscle tension; therefore, the X-ray imaging was essential. The proposed approach relating to the image-processing and subsequent extraction of GLCM parameters in order to determine the neck-pain pathology due to the intensive use of SM devices is illustrated in Figure 1.

2.2. Ethical Approval

This research study was approved by the Institutional Review Board (IRB) of the Hashemite University (No. 26/7/2021/2022). Informed consent was obtained from patients; it was reported on the first page of the questionnaire submitted to them, written in both Arabic and English. It explained the study’s aims and emphasized the confidentiality of given information. The participants were able to withdraw from the study at any point. No identifying information was obtained through the study, and all data collected were solely used for the statistical analysis.

2.3. Inclusion and Exclusion Criteria

The research study was conducted on 46 patients in the Arab Medical Centre (Amman, Jordan). All the participants declared in the completed questionnaires (Table 1) that they used SM devices or smartphones intensively every day. Patients with any long-term pathologies, musculoskeletal diseases or anomalies, or those who had previous surgeries on the neck or shoulders were not included in our study.
Table 2 reports the pathology types or painful parts of the body, as declared by the patients in the questionnaires, and the number of patients for each pathology. The demographics of the patients who participated in the study are presented in Table 3. The number of female patients was twenty-seven, with a mean age ± STDev (standard deviation) equal to 33.70 ± 6.82, respectively, and the number of male patients was nineteen, with a mean age ± STDev equal to 41.42 ± 8.10, respectively.
As can be observed, imbalanced datasets are a regular occurrence in healthcare applications. In this work, the class ratio between the majority (38 abnormal) and minority (8 normal) samples is only five to one and does not represent a significant imbalance. The machine learning literature on this problem has given three primary solution possibilities:
(i)
To restore balance in the training set and avoid the creation of bias in the first place, it is possible to under-sample the large class or to over-sample the small class [37];
(ii)
Alternately, one can change the costs (shift matrix) associated with misclassification in order to prevent any bias [37];
(iii)
A further precaution is to replace precision with so-called balanced accuracy [37].
In this study, the first and second solutions were evaluated by choosing new parameters for the “weka.classifiers.trees.J48” package (from the University of Waikato, Hamilton, New Zealand) that was applied to our dataset [38]. The dataset resampling procedure was implemented as follows: in the Weka software version 2022 [38], regarding the oversampling feature (to increase the minority group), we used the function “classifiers.meta.CostSensitiveClassifier” in default mode, which reweights the training instances to take a given misclassification cost matrix into account and then uses the classifier built from the reweighted data. The weighted average of the receiver operating characteristic (ROC) area and the F-measure (provided later in Section 3.2) demonstrate that the results obtained after the oversampling procedure are extremely close to the previous resampling.

2.4. Angles and Area Measurement

Often, the practical approach to distinguishing between normal neck conditions and pathological cases due to the use of SM devices is to measure only one angle (i.e., angle_1, the angle between the global horizontal and the vector pointing from the C7 vertebra to the occipito-cervical joint). Instead, in this study, two angles were measured; angle_1 and angle_2 (namely, the angle between the global horizontal and the vector pointing from C1 vertebra to the occipito-cervical joint), together with the area between them. The procedure of measuring angles and the area between them is shown in Figure 2. The X-ray images showed that a curve can be drawn through the neck vertebrates, from C1 to C7 vertebrae, using the Bezier curve tool. Next, the angle between the horizontal line and the curve at the C1 vertebra was measured using the angle tool (named angle_2, as shown in Figure 2). The angle_1 was detected using the angle tool between the horizontal line and the curve at C7 vertebra (as shown in Figure 2). Finally, the area between the two angles was measured by drawing the line between these ends (the C1 and C7 vertebrae). All parameters, including angle_1, angle_2, and area, were measured for all patients with pathological (declared pain) and normal conditions (no declared pain). With the use of the image analysis software Image J version 1.801 (NIH, Bethesda, MD, US), the angles and area parameters were determined.

2.5. Features Extraction from the Gray Level Co-Occurrence Matrix

The X-ray images of the human neck with or without muscle tension or painful pathology have the same specifications; however, they are different from the X-ray images of an abnormal lung affected by coronavirus or with the presence of tumor lesions. The X-ray images of lungs can be easily applied to deep-learning machine algorithms to predict abnormalities. In the case of X-ray images of the neck, there are no tumors or infections to be detected by the machine-learning algorithm; thus, finding specific statistical features through an image-based analysis is very important. The attempt to use the GLCM method may be a suitable solution.
The parameters that can be extracted by means of the GLCM method depend on the image quality that may be accordingly correlated with the neck shapes. GLCM was applied to the X-ray images to extract four additional parameters [39,40], which are valuable for evaluating neck muscle pain. The GLCM functions characterize an image texture by calculating how often pairs of pixels with specific values and specified spatial relationships occur in an image, creating a GLCM, and then extracting the statistical measures from this matrix. The GLCM method calculates how often a pixel with the intensity (gray level) value i occurs in a specific spatial relationship to a pixel with the value j (cell value). The GLCM parameters extracted in this research work are:
(i)
Contrast: the separation between the brightest and darkest image area; namely, the difference between the highest and lowest values of the adjacent set of pixels.
c o n t r a s t = i , j = 0 N 1 P i , j ( i j ) 2
P i , j = V i , j i , j = 0 N 1 V i , j
where N stands for the number of gray levels and P(i,j) is the normalized value of the gray-scale at positions i and j of the kernel with a sum equal to 1. V is the value in the cell i,j of the image window; if i and j are equal (ij) = 0, the cell is on the diagonal.
(ii)
Homogeneity: the closeness of the distribution of elements in the GLCM to the GLCM diagonal. It is defined as:
h o m o g e n e i t y = P i , j 1 + ( i j ) 2  
In general, the cell or pixel value attribute can have a variety of display formats, including empty, numeric, text, Boolean, or error; in this case, it is at a a gray-scale intensity level. Windowing is a certain size of resolution with a cell format that can be applied to the original image in the form of gray-level mapping, contrast stretching, histogram modification, or contrast enhancement such as a filter, mask, or kernel, etc. [41].
(iii)
Correlation: the linear dependency of gray levels on those of neighboring pixels. This indicates that there is a predictable and linear relationship between two neighboring pixels within the window, expressed by the regression equation. The correlation can be represented mathematically as:
c o r r e l a t i o n = i , j = 0 N 1 P i , j [ ( i µ i ) ( j µ j ) ( σ i 2 ) ( σ j 2 ) ]  
where μ   a n d   σ are the GLCM mean and variance, respectively.
  • (iv) Energy: computed as the square root of an angular second moment:
E n e r g y = i , j = 0 N 1 P i , j 2
For pre-GLCM employment, the images need to be enhanced or pre-processed. The pre-processing steps aim to remove the background, eliminate the noise, and to visualize the edges of the vertebrae (bones), as is shown in Figure 3. The overall flow of image pre-processing implemented in this research work is reported below.
(1)
Adjusting the contrast and brightness of the image; cropping to specify the position of the neck;
(2)
Magnification of the image and freehand selection of the vertebrae;
(3)
Smoothing many times and improving the image sharpness;
(4)
Finding the edges of the vertebrae using the image edge detection method;
(5)
Adjusting the brightness and contrast of the image (0–108 pixels);
(6)
Applying the fast Fourier transform (FFT) bandpass filter to remove low and high spatial frequencies responsible for image blurring [42]. This filter has been designed to smooth variations of the X-ray image (bright or dark patches) with sizes larger than 40 pixels and to strongly attenuate insignificant spots smaller than 3 pixels. Note that these values are half the spatial frequencies of the actual cutoff frequency. The cutoff frequency is very soft, so the bandpass filter will also significantly attenuate the spatial frequencies in the center of the bandpass unless the difference between the two values is greater than a factor of five or so. It can also suppress the horizontal or vertical stripes created by scanning an image line by line with a direction tolerance of 5%;
(7)
Further adjusting to the brightness and contrast of the image;
(8)
Resizing the image size to 256 × 256 pixels and completing a gray-scale conversion;
(9)
Applying the GLCM method using Matlab software (version. R2022a, MathWorks, Inc., Natick, MA, US) to extract contrast, homogeneity, correlation, and energy parameters.

2.6. Descriptive Variables

The time duration of the neck-pain-causing use of SM devices in hours (H.mean) was categorized into five groups, with a width of each group up to 4 h. These groups were: (1) no perceived pain (normal subject); (2) pain after 2–3 h; (3) pain after 3–6 h; (4) perceived pain after 6–9 h; and (5) perceived pain after more than 9 h. The descriptive variables used in this study were the age, H.mean, angle_1, angle_2, area, contrast, homogeneity, correlation, and energy. These are presented in Table 4, where statistics contain the mean, standard deviation (STDeviation), minimum (Min), maximum (Max), and standard error (Std. Error) values. The standard error provides the precision of a sample mean by accounting for sample-to-sample variability; it represents the predicted measurement error in a single individual’s score. The used formula to calculate the Std. Error is S T D e v i a t i o n / n , where n is the number of samples [43].
It is important to point out that the deterministic data reported in Table 4 related to age, H.mean, angle_1, angle_2, area, contrast, homogeneity, correlation, and energy have no random components. The same input values generate the same output. As a result, the standard-error values from statistical data models do not have their usual meanings. A high statistical significance (namely, a low standard-error value) is an indication of an effect due to a model term. However, it is not possible to construct valid confidence intervals for effects or model predictions.

2.7. Decision Trees

Decision trees (DTs) are standard machine-learning methods used in classification [44]. The DTs are usually known for their simplicity, reliability, and classification performance [45]. They have been used for a variety of biomedical applications. The DT’s generation depends on performing entropy [46] and information gain (IG) calculations [47]. The DT algorithm named C4.5, introduced by Quinlan [48], was used as a data classifier in this work known as the “weka.classifiers.trees.J48” package (developed by the University of Waikato, Hamilton, New Zealand). The entropy calculations were performed to determine the information gain as described by Shannon in the following equation [49]:
E = i = 1 n p i log b p i  
The information gain calculations include the comparison between the entropy of each attribute with the total entropy of the dataset. These calculations are performed on each node of the decision tree, as is illustrated and discussed below in Section 3.2. The attribute is selected for that node according to the highest information gain calculation. The calculations are then repeated recursively for each branch of the DT.

2.8. Mathematical Predictive Model for the Neck Pain Diagnosis

A mathematical, predictive model with a MATLAB graphic interface has been developed to help the orthopedic doctor predict the onset of neck pain. The gene expression programming (GEP) technique has been used to create the model [50]; the genes are made up of numerous linked chromosomes that look like trees and have several variables structured in a start and end point. These trees are known as GEP expression trees and can be expressed mathematically; an example is shown in Figure 4.
The GEP method involves several mechanisms, including building and expressing chromosomes for the dataset, running the framework, evaluating fitness criteria such as the root-mean-square error (RMSE) or the coefficient of determination (R-squared), and terminating the programming process if the fitness requirements are met. Otherwise, the gene expression must be replicated through variable crossover or mutation. Figure 4 depicts a GEP algorithm as an expression tree (ET). The algorithm starts by implementing the GEP process, which comprises the creation of the chromosomes with the required function settings and fitness criteria for the variables a, b, c, and d (Figure 4a). The chromosomes are then executed and transformed into the tree expressions (TEs). The framework processing terminates if the TEs meet the fitness criteria. However, if the fitness criteria are not met, the variables are altered by performing one or more genetic operations (crossover or mutation) on selected TEs. The TEs are eventually transformed into mathematical expressions to make them more convenient for design applications.
In this work, the experimental database was processed with GeneXproTools 5.0 software (developed by Gepsoft Lda, Capelo, Portugal) to create the GEP model for class prediction (normal or abnormal). The database was separated into training and testing categories to ensure the generalization and validity of the constructed model across a wide range of variables and to minimize overfitting. The training data were only utilized to create the GEP model, whereas the testing data were used to test the model validity and accuracy. In this study, 31 points (67% compared to the total of 46 patients participating in the study) were selected at random for the training data category, whereas 15 points (equal to 33%) were used for the testing data category.
Several GEP process settings are critical to developing the most efficient model. Table 5 summarizes the GEP settings used in this study. The data population consisted of 46 individuals and the fitness criteria are based on the least receiver-operating characteristic (ROC) value. There were ten independent variables: gender, age, time spent on social media (H.mean), angle_1, angle_2, area, contrast, homogeneity, correlation, and energy. Table 5 displays the parameters chosen for the GEP algorithm; there are five genes with a maximum tree depth of eight levels, and the three trees are linked together by multiplication.
Figure 5 depicts the developed GEP model in the ET form, consisting of five sub-trees (sub-ET1, 2, 3, 4, and 5) linked by multiplication (Equation (7)). Out of the total of ten parameters reported in Table 6, only six variables (i.e., d0, d2, d6d9) were employed in the developed mathematical model, chosen by the fitness function ROC. If the fitness conditions were not met, the variables were modified by performing one or more genetic operations on the selected TEs (crossover or mutation).
The product of the five sub-trees yielded the predicted classification. The GEP model represented in Figure 5 as an ET was transformed into the mathematical expression of Equation (7). After further simplification, Equation (9) was obtained, relating to the H-parameter that establishes which class the patient belongs to. The values of the constants t1 and t2 (shown in the general expression of the parameter H in Figure 4c) were obtained from the GEP model and were equal to −1797.29 and 7.28, respectively. As is reported in Figure 4d, if H assumes values greater than or equal to 0.5, it is a normal condition (namely, no perceived pain). If H is less than 0.5, it belongs to the abnormal class, which means the presence of pain perceived by the user.
Equation (7) (i.e., y) represents the GEP mathematical model, in which each mathematical term corresponds to an expression tree (ET). The multiplication function connects these terms. The highlighted parameters taken from the X-images and optimized based on the ROC fitness function are the variables d2, and d6d9. In Table 6 these variables have been defined.
y = ( e d 8 4 ) 4 × e e d 6 × d 9 4 × d 2 1 27 × d 7 1 12 d 2 4 + L n ( d 8 ) + d 6  
y = ( e C o r r e l a t i o n 4 ) 4 × e e C o n t r a s t × E n e r g y 4 × T i m e 1 27 × H o m o g e n e i t y 1 12 T i m e 4 + L n ( C o r r e l a t i o n ) + C o n t r a s t  
H = 1 1 + e 1797.29 × y + 7.28
The term H is the transformed expression using the sigmoid function [50]; its numerical limit and related class were determined as is shown in Figure 4d.

3. Results

This research aimed to define a quantitative approach for predicting conditions that lead to neck pain resulting from the intensive use of SM devices by considering the duration of their use, in hours, as a variable. The proposed method, presented in Figure 1, is able to find the appropriate parameters for predicting the SM effects. Figure 2 shows the first step of the proposed approach of finding the appropriate angles and the area between them associated with the variability of SM-device usage. With the advantages of the Bezier curve tool, the Image J version 1.801 software (NIH, Bethesda, MD, U.S.A.) was employed to draw the line via the vertebrae and then draw the tangent line at the level of the C1 and C7 vertebrae. Maintaining an accurate performance during the measurement is essential because the difference between the condition of no perceived pain (normal) and that of perceived pain (abnormal condition) is very sensitive.
Figure 3 shows the second part of the SM parameters detection; namely, the steps of image quality enhancement before extracting the features (parameters) of contrast, homogeneity, correlation, and energy through the GLCM method. All the steps in Figure 3 were performed to visualize the vertebrae edges that reflect the quality of the features. The statistical description for all the obtained parameters is presented in Table 4 (Section 2.6).

3.1. Results of Statistical Validation for the Objectively Calculated Parameters

The Statistical Product and Service Solutions (SPSS) statistics software, version 21.0 (developed by IBM Software Group, Chicago, IL, USA), was used to analyze the data. A one-way ANOVA test and an independent-sample t-test were used to analyze the differences in age, use duration, neck-pain duration, and GLCM features. Some studies used both multiple linear regression and binary logistic regression analyses [51,52,53]. In this work, however, the same testing protocol used in other works [49,54,55] was applied, but with a new machine-learning model known as the decision tree. The decision tree can predict the occurrence of neck pain better than logistic regression based on the calculated entropy and the if–then rules. The redeployment of machine learning and genetic expression as predictive models will allow for improved rapid diagnostic tools in this field. The obtained progress may end with developing an in-cloud application in which physicians scan the X-ray image while entering the patient’s gender and age to predict the neck condition, especially for those with excessive SM-device usage.
Table 7 demonstrates the correlation between all parameters ( 1 r + 1 ) and the response to neck condition (i.e., no perceived pain-normal condition or perceived pain-abnormal condition). In contrast, the graphical representation for correlation vs. response is shown in Figure 6. In Figure 7 and Figure 8, a comprehensive analysis was performed, taking into account all parameters: age, angle_1, angle_2, area, contrast, homogeneity, correlation, and energy by H.mean, utilizing the box-plot, while the central value was 95%.

3.2. Results of Using the Decision Tree Method

The dataset has eleven attributes and two classes. These attributes are gender, age, Social_Media_Use (H.mean), angle_1, angle_2, area, contrast, homogeneity, correlation, energy, and diagnosis. The attribute “diagnosis” formed the two classes. Figure 9 shows an unpruned DT built using 46 instances; two-thirds (66.7%) of the dataset were used to build the DT, and one-third (33.3%) of the dataset was used for testing purposes to assess the performance of the learning approach (16 samples). The size of the DT generated was thirteen nodes with seven leaves in total, as is shown in Figure 9.
In this study, the confusion matrix of the test dataset was maintained by combining normal and abnormal patients (34%; 16 samples). The next phase involved reducing the disparity (unbalanced ratio) between abnormal and normal samples. Thus, the DT classifier’s new function, the cost matrix, was activated with entries weighted [(0, 1); (5, 0)] (brought by the Weka package). Consequently, the relative costs of misclassifying true positives and true negatives were calculated. Note that the steps provided earlier had an effect on the confusion matrix that resulted in the following prediction parameters: TP = 13, TN = 2, FN = 1, and FP = 0 (as are reported in Table 8).
The results show that 13 out of 16 instances were classified correctly, with an accuracy of around 94%. Furthermore, a good accuracy of class abnormal (perceived neck pain) was obtained with an F1-score equal to 0.95. The results of the DT performance (shown in Table 8) have been calculated using Equations (10)–(13):
P r e c i s i o n = T P ( T P + F P )
R e c a l l = T P ( T P + F N )
F 1 S c o r e = 2 × P r e c i s i o n × R e c a l l P r e c i s i o n + R e c a l l
A c c u r a c y = T P + T N T P + T N + F P + F N
TP stands for true positive, FP for false positive, TN for true negative, and FN for false negative. The expression “perceived neck pain” refers to abnormal samples; “perceived no pain” refers to normal cases. The confusion matrix reflects these terms as follows:
TP: true positive represents a case or patient with neck pain (abnormal) detected correctly;
FP: false positive represents a case or patient without neck pain (normal) detected as abnormal (perceived neck pain);
TN: true negative represents a case or patient without neck pain (normal) detected correctly;
FN: false negative represents a case or patient with neck pain (abnormal) detected as normal (no perceived neck pain).
In addition, the 9-fold cross-validation setup was applied during the run of the new “CostSensitiveClassifier” settings of the DT, resulting in the successfully classified instance and the weighted F-score being 93.75% and 0.94, respectively.
Noteworthily, the selection of the DT to be applied to this dataset was a successful choice because, while the DT algorithm is suitable for large and small datasets, it may not be suitable for large-scale metadata. If the dataset is too large, the algorithm may become too complex, leading to an overfitting issue (a major risk). In this work, the training–testing split protocol was selected as 70%–30% or approximately 30 samples for training vs. 16 samples for testing. On the other hand, the dataset is unbalanced—i.e., with 38 (corresponding to 82.61%) abnormal cases and 8 (corresponding to 17.39%) normal ones (Table 3)—which facilitates decision-making. Information gain (IG) helps measure the uncertainty reduction of a certain feature. It also helps to decide which feature is good as a root node. Therefore, detecting 13 (TP) out of 16 samples during the test algorithm validation indicates very efficient decision-making. In the DT, the wrong decision is usually related to the last leaf in one of the branches; it can be avoided if the DT is trained with a larger dataset. Overall, the DT technique is considered one of the easiest techniques in machine learning, with the capability of being applied even in real-time situations where speed and simplicity are an advantage.
The DT shown in Figure 9 indicates that the more time is spent on social media, the more abnormality and neck pain occurs. A set of classification rules generated by the DT are summarized in Table 9.

3.3. Results from the Developed Graphical GEP Predictive Model

The MATLAB graphical user interface (GUI) for the developed mathematical prediction model based on Equations (7)–(9) is shown in Figure 10a. The MATLAB GUI’s functionality begins with the selection, directly by the common user or by the orthopedic doctor, of the pre-processed X-ray neck image (by the Select Image button) from the specific folder. After that, the user must enter the d3d5 geometrical parameters’ values (i.e., angle_1, angle_2, and area) previously obtained from the orthopedic doctor by viewing the X-ray image with a specific software. Thereafter, by clicking the “GLCM” button on the left of Figure 10a (green box), the d6d9 parameters are automatically determined using the GLCM function (variables defined in Table 6). The geometrical and GLCM data are then combined with additional information, such as the user’s gender, age, and time duration of SM usage (H.mean) to predict the patient condition (i.e., no perceived neck pain—normal condition or perceived pain—abnormal condition) by the obtained H-value. The predicted class will be displayed on the GUI as “Normal” (if the H parameter value is greater than 0.5) or “Abnormal;” that is, perceived pain from the patient for H values less than 0.5 (orange box in Figure 10). The GUI also features an expanded function for archiving the patient information by transferring all the data in an excel sheet for later use (storage and printing). For further clarity, Figure 10b illustrates the different steps of the MATLAB application, as are described above. An MP4 video illustrating the various operating steps of the developed MATLAB application is available to the reader as Supplementary Materials.
Table 10 presents the results of testing the prediction GEP model (described in Section 2.8) on 46 real patients (the total number of participants to the research work, numbered in Table 10). All the X-ray images were saved in the specific folder and named with the same identification number, to be selected (by the “Select Image” button) and then processed. The normal class (that is, no perceived pain corresponding to H values greater than 0.5) is indicated with value 1; instead, the zero indicates belonging to the abnormal class (that is, perceived pain from the patient for H values less than 0.5). After the model validation/testing, the obtained accuracy calculated by Equation (13) was 91.30%, in which:
TP = 8, when the patient condition (as reported in the questionnaire) is normal (i.e., no perceived pain, value 1) and the predicted class is normal (namely, H value ≥ 0.5);
TN = 34, when the patient condition (as reported in the questionnaire) is abnormal (i.e., perceived neck pain) and the predicted class is also abnormal (i.e., H value < 0.5);
FP = 4, when the patient condition (as reported in the questionnaire) is abnormal (i.e., perceived neck pain) and the predicted class (by the GEP prediction model) is normal (namely, H value ≥ 0.5);
FN = 0; when the patient condition (as reported in the questionnaire) is normal (i.e., no perceived pain, value 1) and the predicted class is abnormal (H value < 0.5).
The trained model learns from the training database repeatedly until the predicted neck pain achieves performance criteria such as RMSE, R-squared, or ROC. Based on the ROC, the variables enrolled in the GEP mathematical model are d0, d2, and d6d9. If the parameters (variables) with a proportional relationship do not meet the fitness function, they are not considered. For this reason, other parameters such as d1, d3, d4, and d5 were left out of the model (namely, they are not present in Equation (7)). The obtained testing accuracy equal to 91.30% is less than that of the DT (equal to 94%, as reported in Table 8). This is supported by the different fitness functions; the entropy function was utilized in DT, while the ROC function was utilized in the ETs. The four errors present in Table 10 (“Wrong FP” in class matching), corresponding to 8.69%, indicate that the abnormal condition’s variables (parameters) were incorrectly predicted, and thus the resulting H value (>0.5) led to the incorrect classification (as normal).

3.4. Further Comorbidities

Comorbidities are the association of several diseases and health problems that can lead to the onset of a progressive or chronic disease. The co-occurrence of new diseases might disappear and occasionally progress. However, the engagement and reliance on SM entertainment and smartphones has become a kind of obsessive lifestyle over the last decade. Researchers have attempted to investigate this contentious fact from a new perspective. For example, 159 adults from Midwestern University took part in a research study on smartphone dependency (nomophobia) [56]. It was discovered that using a phone while driving and being female are strong positive indicators of smartphone dependency.
Much research, such as the current study, have suggested that patients using SM devices adopt forward postures. At the same time, web browsing, video-game playing, emailing, and texting are linked to a variety of health issues including kyphosis, which is associated with pulmonary and cardiovascular disorders. Furthermore, new research indicates that when patients stare down at a smartphone, personal computer, or tablet, they lower their heads and rotate their shoulders while looking down. As a result, rib muscular limitation or tightness, as well as inappropriate posture during movement, make normal breathing difficult [57]. Neck flexion and weight have a substantial proportional relationship, which is most likely owing to decreased physical activity [36,58]. Headaches, such as migraines, have been examined in school-age children and adolescents, and they vary by age and gender [59]. One study discovered a 48% prevalence of headaches among school-aged children aged 7 to 18 years, while another discovered that headaches are the most prevalent discomfort among schoolgirls (42%) [60].

4. Discussion

This work is a new attempt to study the effects of social media entertainment usage that may lead to serious neck pain. Patients complained of neck pain during their visit to the orthopedic doctor before undergoing X-ray radiography; at the same time, they reported through the questionnaires that they used SM devices for a significant number of hours (H.mean). To develop a reliable approach to assessing SM impacts on the neck muscles, a quantitative method was performed on 46 retrospective, neck-vertebral X-ray images. Thus, the studied parameters were detected based on two syncretized steps: (1) three parameters, angle_1, angle_2, and the area between them, were measured by drawing a Bezier curve through the vertebral neck path; (2) the second step relayed the image quality in which the GLCM was applied to extract four features of contrast, homogeneity, correlation, and energy. The progress of the neck-muscle fatigue was classified as normal (no pain) and abnormal (pain), and all parameters were examined by the time duration of SM usage known as H.mean.
Table 7 shows the correlation between all parameters and the response, whether normal (no perceived pain) or abnormal (perceived pain) cases. The absolute correlation changes from −1 to +1 (i.e., −1 ≤ r ≤ +1) were considered, while in Figure 6, the best correlation was calculated for the angle_1, area, and contrast of −0.34512, −0.36956, and 0.306127, respectively. This result was proven in Figure 7b, in which the value of angle_1 in normal subjects is the smallest if the user interacted with SM devices for an average of only two hours. It is worth noting that the greater the interaction with SM devices, the greater the increase in angle_1. In other words, dealing with SM devices for more than 2 h may lead to neck muscle tension. In correlation with the patient age (Figure 7a), it is obvious that candidates aged less than 30 years were qualified to develop neck pain if they interacted with SM for more than 6 h.
Concerning angle_2, as is shown in Figure 7d, a slight increase, with times ranging from 3 to 9 h, is observed. Also, notably, the area is not proportional to the angles increasing, which means that area is affected (becoming smaller) by the angles increasing in the time interval of 3–9 h and above, according to Figure 7c. Image quality may be affected by fatigue and stress levels, as is shown by the GLCM features in Figure 8. For example, a significant difference was observed related to the images’ contrast for normal (no perceived pain) and pain conditions after more than 6 h usage, as shown in Figure 8a. The energy parameter clearly differentiates between no pain and suffering claims. Alternatively, the average values for the energy indicator remain constant with a temporal correlation (2–9 h), indicating that neck pain was unaffected, as is shown in Figure 8d. However, given that the change rate for these values for a time between 3 and 9 h is similar, it appears that the difference between no pain and discomfort in terms of correlation and homogeneity cannot be counted. (Figure 8c,d).
In this study, the DT classifier was employed successfully. Understanding and predicting the neck pain caused by SM devices can be modelled using the DT classifier’s advantages over other classifiers. These if–then rules are presented in Table 9. They show that participants with only 2 h of social media usage (or below this threshold) were classified as normal regardless of their age. Furthermore, participants aged 27 and below with less than 8 h of daily social media usage were still classified as normal. On the other hand, participants over 27 with an image contrast greater than 0.15 were classified as abnormal, meaning that they probably suffered from neck pain, regardless of the severity. In this regard, more details can be found in Table 9.
GLCM-based feature extraction combined with machine-learning (ML) algorithms is being applied to many medical applications such as mammograms for breast cancer detection, magnetic resonance imaging (MRI) for brain cancer detection, and unlimited non-medical applications. The numerical values of GLCM always depend on the pre-processing techniques used, such as thresholding, filtering types, and the angle rotation on the processed images. Contrast measures the special frequency of the image and is a different moment of GLCM; it can measure the variations between the highest and lowest values of the adjacent set of pixels. Therefore, in this study, contrast complied with DT branches of all ages and angle_1 very positively (Figure 9). To make the decision, it did not work alone with the pixels’ units; entropy was calculated with the significant parameters in the branches mentioned.
Further, the eight parameters calculated from 46 subjects were fed into the DT classifier with a training-test protocol of 66%–34%. The number of leaves was seven, and the size of the tree was thirteen. After evaluating the test split, the achieved accuracy and the F1-score were 94% and 0.94%, respectively. The result of the testing performance is illustrated in Table 8. This approach may be considered a new attempt to evaluate the influence of SM devices (i.e., with different neck postures) based on the achieved results.
Therefore, this research work could present the following contributions:
(1)
New quantitative parameters have been proposed for studying or evaluating the effect of SM devices on their users’ neck muscles;
(2)
The ability to use the DT rules increases the prediction of neck pain;
(3)
The geometric measures of neck postures may increase the pain prediction;
(4)
As is shown in Figure 10 and Table 10, the developed, MATLAB-based GUI implementing the mathematical GEP model can be employed as a reliable diagnostic tool to assist the orthopedic doctor;
(5)
This research activity was approached objectively rather than subjectively. The number of input parameters received from retrospective X-ray images was seven (angle_1, angle_2, area, contrast, homogeneity, correlation, and energy), while the remaining parameters (age and H.mean—just two) were gathered through patient questionnaire (survey) forms. In percentage terms, compared to the total number of parameters considered (nine), they correspond to 77.7% and 22.2%, respectively.
It is important to note that the ETs were created using the ROC fitness function, and that six variable parameters were chosen (d0, d2 and d6d9). In other words, the gender, H.mean, and GLCM characteristics were strongly implicated in the predictive mathematical model (as are reported in Equations (7)–(9)). The model was successful in determining the categorized limits (normal and abnormal classes) with an accuracy of 91.30%. GEP models have several advantages over other machine-learning techniques: they are closed-form solutions, making it easy for engineers and specialists to incorporate the models for solving various engineering issues, and GEP models are assumed more reliable than numerical and analytical solutions in neck-pain prediction, which are being used for the first time, to the best of our knowledge. Nonetheless, the accuracy is fairly acceptable, but increasing the samples and modifying the technique for acquiring new attributes (variables) that describe neck pain is fundamental for optimizing the method and obtaining higher-accuracy values.
Based on the scientific articles reported in Table 11, it is evident that all research works related to the effects of SM usage on neck muscles from 2008 to the present were conducted by using surveys (questionnaire only) [51,54,61]. Scientific approaches based on images analyses and related processing are quite limited; for example, D. David et al. analyzed the premature and inappropriate use of personal computers and cell phones and the related development of clinical symptoms commonly defined as “text-neck syndrome.” The authors studied the underlying causes and risk factors of musculoskeletal discomfort or pain by observing and processing the cervical–spine MRI images [62].
A few studies using angle measurement systems such as three-axis accelerometers were reported in [55,63,64,65,66]. The main disadvantages of these studies were that they became old and were not in sync with current SM devices (mainly smartphones) that have progressively developed to cover large populations of adults. On the other hand, the current studies from 2018 are all survey-questionnaire-based and do not objectively determine the pain neck symptoms [51,54,61]. Previously, the machine-learning applications have not been applied to this research area to the best of our knowledge. Thus, the quantitative analysis of neck postures combined with machine-learning techniques (e.g., decision trees) may improve the early prediction of neck-pain occurrences. This problem became a serious source of neck-pain prevalence during the COVID-19 pandemic. Patterns of online distance learning in pre-schools, schools, and universities push the authorities in charge to make new rules and guidelines for the long-term use of SM technology, especially by children and teens.

5. Conclusions

This research work developed a new approach for studying the influence of using SM devices or mini displays on neck-pain occurrences. This approach was performed on 46 retrospective X-ray images (subjects) through two measurement steps. First, three geometrical parameters were detected from the neck vertebral shapes associated with SM use for different time categories of three-hour bands. The first category (0–2 h) belonged to the normal cases (no pain). The next bands changed from 3 to more than 9 h and belonged to the abnormal cases (after pain). The parameters obtained in this step were angle_1, angle_2, and the area between them. In the second step, the GLCM was employed to extract four parameters depending on the image quality: contrast, homogeneity, correlation, and energy. Decision trees’ if–then rules were used to acknowledge which combination of the detected parameters may be applied to predict the abnormal occurrence of neck pain. The obtained classification accuracy of 94% and the F1-score of 0.95 both show that the DT machine-learning algorithm works well with fully satisfactory results [67].
The DT classifier proved its ability to handle unbalanced datasets, which are always a source of error in the healthcare domain. “CostSensitiveClassifier” parameters enable the classifier algorithm (Weka package) to regulate the over- and under-sampling methods. The DT algorithm demonstrated that the ratio of 5:1 between normal and abnormal participants did not have a significant impact on the classification accuracy. Improving such prediction and diagnosis techniques is extremely important for healthcare-service development. This research should be carried out to develop a new tool for measuring musculoskeletal neck-pain disease and symptoms.
The developments proposed in this research work will aid in the early prediction of neck pain, especially for people who use SM devices extensively. In this regard, based on the mathematical predictive model (Equations (7)–(9) discussed in the Section 2.8), a MATLAB-based graphical user interface (GUI) was developed, in which the orthopedic doctor or a generic user is able to select a specific X-ray neck image and enter the geometrical parameter (angles and area) values as well as the age, gender, and duration of SM usage related to the patient. Then, the MATLAB tool will be able to determine the other parameters/variables by means of GLCM method (as shown in Figure 10). As a result, the patient would be informed whether he/she is a candidate for neck pain or not. Furthermore, the user will be able to use the developed GUI directly on the smartphone to receive information in a timely manner.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/jimaging9010014/s1, Video S1: MATLAB-based application for neck-pain prediction.mp4.

Author Contributions

Conceptualization, B.A.-N. and R.D.F.; methodology, B.A.-N., B.E.A.B., Y.Z.R. and H.A.O.; software, B.A.-N. and B.E.A.B.; validation, B.A.-N., B.E.A.B., R.D.F. and P.V.; formal analysis, B.A.-N. and P.V.; investigation, B.A.-N., Y.Z.R. and H.A.O.; resources, B.A.-N.; data curation, B.A.-N. and P.V.; writing—original draft preparation, B.A.-N., B.E.A.B., Y.Z.R., R.D.F. and P.V.; writing—review and editing, B.A.-N., H.A.O., R.D.F. and P.V.; visualization, B.A.-N.; supervision, B.A.-N., R.D.F. and P.V.; project administration, B.A.-N.; funding acquisition, R.D.F. and P.V. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was approved by the Institutional Review Board (IRB) of the Hashemite University (No. 26/7/2021/2022, approval date: 6 June 2022).

Informed Consent Statement

Informed consent was obtained from all involved subjects by filling out the questionnaire, explaining the study aim and emphasizing the confidentiality of filled information. The participants were able to withdraw from the study at any point. No identifying information was obtained through the study, and all collected data were solely used for statistical analysis.

Data Availability Statement

Data from our study are available upon request.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

List of the abbreviations and related meaning.
AcronymMeaning and Definition
Angle_1The neck-flexion angle between the global horizontal and the vector pointing from C7 vertebra to the occipito-cervical joint.
Angle_2The neck-flexion angle between the global horizontal and the vector pointing from C1 vertebra to the occipito-cervical joint.
C1, C7Neck vertebrae
C4.5DT algorithm named C4.5
DTDecision tree
EEntropy
FFTFast Fourier transform
FNFalse negative
FPFalse positive
GLCMGray-level co-occurrence matrix (GLCM)
IGInformation gain
MLMachine learning
NDINeck disability index
NPNeck pain
RMSERoot mean square error
ROCReceiver operating characteristic
SMSocial media
Std. ErrorStandard error
STDevStandard deviation
TNTrue negative
TPTrue positive
VASVisual analogue scale
WHOWorld health organization

References

  1. Daily Social Media Usage Worldwide 2012–2022, Published by S. Dixon. March 2022. Available online: https://www.statista.com/statistics/433871/daily-social-media-usage-worldwide/#statisticContainer (accessed on 4 April 2022).
  2. Vos, T.; Barber, R.M.; Bell, B.; Bertozzi-Villa, A.; Biryukov, S.; Bolliger, I.; Charlson, F.; Davis, A.; Degenhardt, L.; Dicker, D.; et al. Global, regional, and national incidence, prevalence, and years lived with disability for 301 acute and chronic diseases and injuries in 188 countries, 1990–2013: A systematic analysis for the Global Burden of Disease Study 2013. Lancet 2015, 386, 743–800. [Google Scholar] [CrossRef] [Green Version]
  3. Smith, L. Computer-Related Musculoskeletal Dysfunction among Adolescent School Learners in the Cape Metropolitan Regionle, Stellenbosch University. 2007. Available online: https://scholar.sun.ac.za/handle/10019.1/1545 (accessed on 1 September 2021).
  4. Kubin, E.; Von Sikorski, C. The role of (social) media in political polarization: A systematic review. Ann. Int. Commun. Assoc. 2021, 45, 188–206. [Google Scholar] [CrossRef]
  5. Kamper, S.J.; Henschke, N.; Hestbaek, L.; Dunn, K.M.; Williams, C.M. Musculoskeletal pain in children and adolescents. Braz. J. Phys. Ther. 2016, 20, 275–284. [Google Scholar] [CrossRef] [Green Version]
  6. Simon, L.S. Relieving Pain In America: A Blueprint For Transforming Prevention, Care, Education, and Research. J. Pain Palliat. Care Pharmacother. 2012, 26, 197–198. [Google Scholar] [CrossRef]
  7. De Fazio, R.; Carrasco, M.; Giannoccaro, N.I.; Velázquez, R.; Visconti, P. Wearable devices and IoT applications for symptom detection, infection tracking, and diffusion containment of the COVID-19 pandemic: A survey. Front. Inf. Technol. Electron. Eng. 2021, 22, 1413–1442. [Google Scholar] [CrossRef]
  8. De Fazio, R.; Sponziello, A.; Cafagna, D.; Velazquez, R.; Visconti, P. An overview on technologies and devices against Covid-19 pandemic diffusion: Virus detection and monitoring solutions. Int. J. Smart Sens. Intell. Syst. 2021, 14, 1–28. [Google Scholar] [CrossRef]
  9. Yang, H.; Wang, J.J.; Tng, G.Y.Q.; Yang, S. Effects of social media and smartphone use on body esteem in female adolescents: Testing a cognitive and affective model. Children 2020, 7, 148. [Google Scholar] [CrossRef]
  10. Naslund, J.A.; Bondre, A.; Torous, J.; Aschbrenner, K.A. Social Media and Mental Health: Benefits, Risks, and Opportunities for Research and Practice. J. Technol. Behav. Sci. 2020, 5, 245–257. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  11. Widmer, R.J.; Mandrekar, J.; Ward, A.; Aase, L.A.; Lanier, W.L.; Farris, K.T.; Gerber, T.C. Effect of Promotion via Social Media on Access of Articles in an Academic Medical Journal: A Randomized Controlled Trial. Acad. Med. 2019, 94, 1546–1553. [Google Scholar] [CrossRef] [Green Version]
  12. Pereira, A.; Miller, T.; Huang, Y.M.; Odell, D.; Rempel, D. Holding a tablet computer with one hand: Effect of tablet design features on biomechanics and subjective usability among users with small hands. Ergonomics 2013, 56, 1363–1375. [Google Scholar] [CrossRef]
  13. Farra, N.; El-Sayed, B.; Moacdieh, N.; Hajj, H.; Hajj, Z.; Haidar, R. A mobile sensing and imaging system for real-time monitoring of spine health. J. Med. Imaging Health Inform. 2011, 1, 238–245. [Google Scholar] [CrossRef]
  14. Al Otaibi, B.D.; Alamri, R.D.; Alzahrani, M.A.; Albalawi, R.M.; Alzhrani, K.A.; Alzahrani, K.T. Neck Pain among Medical Students during COVID-19 Pandemic: A Questionnaire Based Study. J. Pharm. Res. Int. 2021, 33, 178–184. [Google Scholar] [CrossRef]
  15. Riziq, G.; Mustafa, A. The Use of Smartphones in Distance Learning/E-Learning/Online Classes and its Impact to Neck Pain in the Light of the Covid-19 Pandemic. Psychol. Educ. J. 2020, 57, 1988–1999. [Google Scholar] [CrossRef]
  16. Roggio, F.; Trovato, B.; Ravalli, S.; Di Rosa, M.; Maugeri, G.; Bianco, A.; Palma, A.; Muumeci, G. One year of COVID-19 pandemic in Italy: Effect of sedentary behavior on physical activity levels and musculoskeletal pain among university students. Int. J. Environ. Res. Public Health 2021, 18, 8680. [Google Scholar] [CrossRef]
  17. Shah, M.; Desai, R. Prevalence of Neck Pain and Back Pain in Computer Users Working from Home during COVID-19 Pandemic: A Web-Based Survey. Int. J. Health Sci. Res. 2021, 11, 26–31. [Google Scholar]
  18. Kakar, R.S.; Lomond, K. Can COVID-19 Lead to Another Pandemic of Back Pain? Arch. Phys. Med. Rehabil. 2020, 101, e132. [Google Scholar] [CrossRef]
  19. Angotti, M.; Mallow, G.M.; Wong, A.; Haldeman, S.; An, H.S.; Samartzis, D. COVID-19 and Its Impact on Back Pain. Glob. Spine J. 2022, 12, 5–7. [Google Scholar] [CrossRef]
  20. Chen, R.; Wang, K.; Yu, J.; Howard, D.; French, L.; Chen, Z.; Wen, C.; Xu, Z. The Spatial and Cell-Type Distribution of SARS-CoV-2 Receptor ACE2 in the Human and Mouse Brains. Front. Neurol. 2021, 11, 5–7. [Google Scholar] [CrossRef]
  21. KV, B.M.; Walarine, M.T. Neck Pain among Smartphone Users: An Imminent Public Health Issue during the Pandemic Time. J. Ideas Health 2020, 3, 201–204. [Google Scholar] [CrossRef]
  22. Dos Santos, I.N.; Pernambuco, M.L.; Da Silva, A.M.B.; Ruela, G.D.A.; De Oliveira, A.S. Association between Musculoskeletal Pain and Telework in the Context of the COVID-19 Pandemic: An Integrative Review. Rev. Bras. De Med. Do Trab. 2021, 19, 342–350. [Google Scholar] [CrossRef]
  23. Zyznawska, J.M.; Bartecka, W.M. Remote Working Forced by COVID-19 Pandemic and Its Influence on Neck Pain and Low Back Pain among Teachers. Med. Pr. 2021, 72, 677–684. [Google Scholar] [CrossRef] [PubMed]
  24. Yaseen, Q.B.; Salah, H. The Impact of E-Learning during COVID-19 Pandemic on Students’ Body Aches in Palestine. Sci. Rep. 2021, 11, 22379. [Google Scholar] [CrossRef] [PubMed]
  25. Daher, A.; Halperin, O. Association between Psychological Stress and Neck Pain among College Students during the Coronavirus Disease of 2019 Pandemic: A Questionnaire-Based Cross-Sectional Study. Healthcare 2021, 9, 1526. [Google Scholar] [CrossRef] [PubMed]
  26. Houle, M.; Lessard, A.; Marineau-Bélanger, É.; Lardon, A.; Marchand, A.A.; Descarreaux, M.; Abboud, J. Factors Associated with Headache and Neck Pain among Telecommuters—A Five Days Follow-Up. BMC Public Health 2021, 21, 1086. [Google Scholar] [CrossRef]
  27. Arteaga, S.; Chevalier, J.; Coile, A.; William Hill, A.; Sali, S.; Sudhakhrisnan, S.; Kurniawan, S. Low-cost accelerometry-based posture monitoring system for stroke survivors. In Proceedings of the 10th International ACM SIGACCESS Conference on Computers and Accessibility, ASSETS 2008, Halifax, NS, Canada, 13–15 October 2008; pp. 243–244. [Google Scholar] [CrossRef]
  28. El-Sayed, B.; Farra, N.; Moacdieh, N.; Hajj, H.; Haidar, R.; Hajj, Z. A novel mobile wireless sensing system for realtime monitoring of posture and spine stress. In Proceedings of the 2011 1st Middle East Conference on Biomedical Engineering, Sharjah, United Arab Emirates, 21–24 February 2011. [Google Scholar] [CrossRef]
  29. Baek, J.; Yun, B.J. Posture monitoring system for context awareness in mobile computing. IEEE Trans. Instrum. Meas. 2010, 59, 1589–1599. [Google Scholar] [CrossRef]
  30. Burgess-Limerick, R.; Mon-Williams, M.; Coppard, V.L. Visual display height. Hum. Factors 2000, 42, 140–150. [Google Scholar] [CrossRef]
  31. Mon-Williams, M.; Burgess-Limerick, R.; Plooy, A.; Wann, J. Vertical gaze direction and postural adjustment: An extension of the Heuer model. J. Exp. Psychol. Appl. 1999, 5, 35–53. [Google Scholar] [CrossRef]
  32. Sommerich, C.M.; Joines, S.M.; Psihogios, J.P. Effects of computer monitor viewing angle and related factors on strain, performance, and preference outcomes. Hum. Factors 2001, 43, 39–55. [Google Scholar] [CrossRef]
  33. Seghers, J.; Jochem, A.; Spaepen, A. Posture, muscle activity and muscle fatigue in prolonged VDT work at different screen height settings. Ergonomics 2003, 46, 714–730. [Google Scholar] [CrossRef]
  34. Jaschinski, W.; Heuer, H.; Kylian, H. Preferred position of visual displays relative to the eyes: A field study of visual strain and individual differences. Ergonomics 1998, 41, 1034–1049. [Google Scholar] [CrossRef]
  35. Straker, L.M.; Smitha, A.J.; Bear, N.; O’Sullivan, P.B.; De Klerk, N.H. Neck/shoulder pain, habitual spinal posture and computer use in adolescents: The importance of gender. Ergonomics 2011, 54, 539–546. [Google Scholar] [CrossRef]
  36. Straker, L.M.; O’Sullivan, P.B.; Smith, A.; Perry, M. Computer use and habitual spinal posture in Australian adolescents. Public Health Rep. 2007, 122, 634–643. [Google Scholar] [CrossRef] [PubMed]
  37. Brodersen, K.H.; Ong, C.S.; Stephan, K.E.; Buhmann, J.M. The Balanced Accuracy and Its Posterior Distribution. In Proceedings of the 2010 20th International Conference on Pattern Recognition, Istanbul, Turkey, 23–26 August 2010; pp. 3121–3124. [Google Scholar] [CrossRef]
  38. Package weka.classifiers.trees.j48—Weka Software, University of Waikato, New Zealand. Available online: https://weka.sourceforge.io/doc.dev/weka/classifiers/trees/j48/package-summary.html (accessed on 18 July 2022).
  39. Lu, M.; Liu, Y.; He, W.; Li, X. Skin Roughness Evaluation Method Based on gray level co-occurrence matrix. In Proceedings of the 2019 Chinese Control and Decision Conference (CCDC), Nanchang, China, 3–5 June 2019; IEEE: Piscataway, NJ, USA. [CrossRef]
  40. Bae, J.S.; Lee, S.H.; Choi, K.S.; Kim, J.O. Robust skin-roughness estimation based on co-occurrence matrix. J. Vis. Commun. Image Represent. 2017, 46, 13–22. [Google Scholar] [CrossRef]
  41. Giavazzi, F.; Edera, P.; Lu, P.J.; Cerbino, R. Image windowing mitigates edge effects in Differential Dynamic Microscopy. Eur. Phys. J. 2017, 40, 97. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  42. Rha, E.Y.; Kim, J.M.; Yoo, G. Volume Measurement of Various Tissues Using the Image J Software. J. Craniofacial Surg. 2015, 26, e505–e506. [Google Scholar] [CrossRef] [PubMed]
  43. Pontes-Silva, A.; Avila, M.A.; Fidelis-de-Paula-Gomes, C.A.; Dibai-Filho, A.V. The Short-Form Neck Disability index has adequate measurement properties in chronic neck pain patients. Eur. Spine J. 2021, 30, 3593–3599. [Google Scholar] [CrossRef]
  44. Firouzi, F.; Rashidi, M.; Hashemi, S.; Kangavari, M.; Bahari, A.; Daryani, N.E.; Emam, M.M.; Naderi, N.; Shalmani, H.M.; Farnood, A.; et al. A decision tree-based approach for determining low bone mineral density in inflammatory bowel disease using WEKA software. Eur. J. Gastroenterol. Hepatol. 2007, 19, 1075–1081. [Google Scholar] [CrossRef]
  45. Badr, B. Implementation of Decision Trees for Embedded Systems. Ph.D. Thesis, Loughborough University, Loughborough, UK, 2014. Available online: https://repository.lboro.ac.uk/articles/thesis/Implementation_of_decision_trees_for_embedded_systems/9540221 (accessed on 1 September 2021).
  46. Carter, T. An Introduction to Information Theory and Entropy. 2011. Available online: http://astarte.csustan.edu/~tom/SFI-CSSS/info-theory/info-lec.pdf (accessed on 10 January 2022).
  47. Quinlan, J.R. Induction of Decision Trees. Mach. Learn. 1986, 1, 81–106. [Google Scholar] [CrossRef] [Green Version]
  48. Salzberg, S.L. C4.5: Programs for Machine Learning by J. Ross Quinlan. Morgan Kaufmann Publishers, Inc., 1993. Mach. Learn. 1994, 16, 235–240. [Google Scholar] [CrossRef] [Green Version]
  49. Shannon, C.E. A Mathematical Theory of Communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef] [Green Version]
  50. Ferreira, C. Gene expression programming: A new adaptive algorithm for solving problems. Complex Syst. 2001, 13, 87–129. [Google Scholar] [CrossRef]
  51. Al-Hadidi, F.; Bsisu, I.; AlRyalat, S.A.; Al-Zu’Bi, B.; Bsisu, R.; Hamdan, M.; Kanaan, T.; Yasin, M.; Samarah, O. Association between mobile phone use and neck pain in university students: A crosssectional study using numeric rating scale for evaluation of neck pain. PLoS ONE 2019, 14, e0217231. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  52. Barassi, G.; Di Simone, E.; Galasso, P.; Cristiani, S.; Supplizi, M.; Kontochristos, L.; Colarusso, S.; Visciano, C.P.; Marano, P.; Antonella, D.I.; et al. Posture and Health: Are the Biomechanical Postural Evaluation and the Postural Evaluation Questionnaire Comparable to and Predictive of the Digitized Biometrics Examination? Int. J. Environ. Res. Public Health 2021, 18, 3507. [Google Scholar] [CrossRef] [PubMed]
  53. Kim, D.-H.; Kim, C.-J.; Son, S.-M. Neck Pain in Adults with Forward Head Posture: Effects of Craniovertebral Angle and Cervical Range of Motion. Osong Public Health Res. Perspect. 2018, 9, 309–313. [Google Scholar] [CrossRef] [PubMed]
  54. Widhiyanto, A.; Munawir, A.; Prayitno, H. The Effect of Duration of Smartphone Usage on Neck Pain. Dama Int. J. Res. (DIJR) 2017, 2, 54–61. [Google Scholar]
  55. Lee, H.; Lee, S.; Choi, Y.S.; Seo, Y.; Shim, E. A new posture monitoring system for preventing physical illness of smartphone users. In Proceedings of the 2013 IEEE 10th Consumer Communications and Networking Conference (CCNC), Las Vegas, NV, USA, 11–14 January 2013. [Google Scholar] [CrossRef]
  56. Fryman, S.; Romine, W. Measuring Smartphone Dependency and Exploration of Consequences and Comorbidities. Comput. Hum. Behav. Rep. 2021, 4, 100108. [Google Scholar] [CrossRef]
  57. Zafar, H.; Albarrati, A.; Alghadir, A.H.; Iqbal, Z.A. Effect of Different Head-Neck Postures on the Respiratory Function in Healthy Males. BioMed Res. Int. 2018, 2018, 4518269. [Google Scholar] [CrossRef]
  58. Harris, C.; Straker, L.; Pollock, C.; Smith, A.J. Children, computer exposure and musculoskeletal outcomes: The development of pathway models for school and home computer-related musculoskeletal outcomes. Ergonomics 2015, 58, 1611–1623. [Google Scholar] [CrossRef]
  59. Brun Sundblad, G.M.; Saartok, T. Prevalence and co-occurrence of self-rated pain and perceived health in schoolchildren: Age and gender differences. Eur. J. Pain 2007, 11, 171–180. [Google Scholar] [CrossRef]
  60. Fichtel, A. Psychosocial impact of headache and comorbidity with other pains among Swedish school adolescents. Headache 2002, 42, 766–775. [Google Scholar] [CrossRef] [Green Version]
  61. Azizur Rahman, S.; Al Marzouqi, A.; Variyath, S.; Rahman, S.; Rabbani, M.; Iqbal Ahamed, S. Effects of Social Media Use on Health and Academic Performance among Students at the University of Sharjah. In Proceedings of the IEEE 44th Annual Computers, Software, and Applications Conference (COMPSAC 2020), Madrid, Spain, 13–17 July 2020. [Google Scholar] [CrossRef]
  62. David, D.; Giannini, C.; Chiarelli, F.; Mohn, A. Text Neck Syndrome in Children and Adolescents. Int. J. Environ. Res. Public Health 2021, 18, 1565. [Google Scholar] [CrossRef] [PubMed]
  63. Lee, S.; Kang, H.; Shin, G. Head flexion angle while using a smartphone. Ergonomics 2015, 58, 220–226. [Google Scholar] [CrossRef] [PubMed]
  64. Straker, L.M.; Coleman, J.; Skoss, R.; Maslen, B.A.; Burgess-Limerick, R.; Pollock, C.M. A comparison of posture and muscle activity during tablet computer, desktop computer and paper use by young children. Ergonomics 2008, 51, 540–555. [Google Scholar] [CrossRef] [PubMed]
  65. Gustafsson, E.; Johnson, P.W.; Lindegård, A.; Hagberg, M. Technique, muscle activity and kinematic differences in young adults texting on mobile phones. Ergonomics 2011, 54, 477–487. [Google Scholar] [CrossRef] [PubMed]
  66. Chiu, H.P.; Tu, C.N.; Wu, S.K.; Chien-Hsiou, L. Muscle Activity and Comfort Perception on Neck, Shoulder, and Forearm While Using a Tablet Computer at Various Tilt Angles. Int. J. Hum. Comput. Interact. 2015, 31, 769–776. [Google Scholar] [CrossRef]
  67. Al-Naami, B.; Fraihat, H.; Al-Nabulsi, J.; Gharaibeh, N.Y.; Visconti, P.; Al-Hinnawi, A.R. Assessment of Dual Tree Complex Wavelet Transform to improve SNR in collaboration with Neuro-Fuzzy System for Heart Sound Identification. Electronics 2022, 11, 938. [Google Scholar] [CrossRef]
Figure 1. Block diagram of the proposed system for predicting the conditions leading to neck pain (GLCM: gray level co-occurrence matrix).
Figure 1. Block diagram of the proposed system for predicting the conditions leading to neck pain (GLCM: gray level co-occurrence matrix).
Jimaging 09 00014 g001
Figure 2. Angles and area measurements used as input of the decision tree (DT) to predict neck pain.
Figure 2. Angles and area measurements used as input of the decision tree (DT) to predict neck pain.
Jimaging 09 00014 g002
Figure 3. Features extraction using the GLCM method applied to the neck’s X-ray images.
Figure 3. Features extraction using the GLCM method applied to the neck’s X-ray images.
Jimaging 09 00014 g003
Figure 4. An example of the GEP model: (a) expression tree (ET), (b) the matching mathematical expression, (c) the transformed expression (H) using the sigmoid function, and (d) classification limits and categories. Note: a, b, c, and d are the feature variables of the processed model, while t1 and t2 are constants of the sigmoid function for developing the transformed expression (the related values after having implemented the mathematical model to the specific case are specified in Equation (9)).
Figure 4. An example of the GEP model: (a) expression tree (ET), (b) the matching mathematical expression, (c) the transformed expression (H) using the sigmoid function, and (d) classification limits and categories. Note: a, b, c, and d are the feature variables of the processed model, while t1 and t2 are constants of the sigmoid function for developing the transformed expression (the related values after having implemented the mathematical model to the specific case are specified in Equation (9)).
Jimaging 09 00014 g004aJimaging 09 00014 g004b
Figure 5. GEP model in the ET form.
Figure 5. GEP model in the ET form.
Jimaging 09 00014 g005
Figure 6. The best correlation coefficient vs. the response (perceived neck pain/no perceived neck pain) to angle_1, area, and contrast.
Figure 6. The best correlation coefficient vs. the response (perceived neck pain/no perceived neck pain) to angle_1, area, and contrast.
Jimaging 09 00014 g006
Figure 7. Effect of SM usage examined by time duration (i.e., H.mean) on age (a), angle_1 (b), area (c), and angle_2 (d). In Figure 7a for the variable age, the following values are reported: the first quartile Q1, that is the value below which 25% of the values in the data set are found, the median of the data values Q2, the third quartile Q3, that is the value below which 75% of the values in the data set are found, the interquartile range (IQR) = (Q3 − Q1) namely the middle 50% of the data set. The lower whisker is a line from Q1 to the smallest data point within the (1.5 × IQR) range from Q1. The upper whisker is a line from the Q3 to the largest data point within the (1.5 × IQR) range from Q3. The mild outliers, values smaller than [Q1 − 1.5(IQR)] or larger than [Q3 + 1.5(IQR)], represented by circles; the extreme outliers, values smaller than [Q1 − 3(IQR)] or larger than [Q3 + 3(IQR)], represented by stars. Outliers in data, regardless of whether they are legitimate or the consequence of errors, are generally worthy of investigation. Figure 7a’s upper outliers, ages 19 and 26, indicate whether or not these patients, ages 19 and 26, had worked 3–6 h using SM devices. Instead, the patient being observed (*32) is an error, as it does not fall within the range of 6–9 h and is eliminated.
Figure 7. Effect of SM usage examined by time duration (i.e., H.mean) on age (a), angle_1 (b), area (c), and angle_2 (d). In Figure 7a for the variable age, the following values are reported: the first quartile Q1, that is the value below which 25% of the values in the data set are found, the median of the data values Q2, the third quartile Q3, that is the value below which 75% of the values in the data set are found, the interquartile range (IQR) = (Q3 − Q1) namely the middle 50% of the data set. The lower whisker is a line from Q1 to the smallest data point within the (1.5 × IQR) range from Q1. The upper whisker is a line from the Q3 to the largest data point within the (1.5 × IQR) range from Q3. The mild outliers, values smaller than [Q1 − 1.5(IQR)] or larger than [Q3 + 1.5(IQR)], represented by circles; the extreme outliers, values smaller than [Q1 − 3(IQR)] or larger than [Q3 + 3(IQR)], represented by stars. Outliers in data, regardless of whether they are legitimate or the consequence of errors, are generally worthy of investigation. Figure 7a’s upper outliers, ages 19 and 26, indicate whether or not these patients, ages 19 and 26, had worked 3–6 h using SM devices. Instead, the patient being observed (*32) is an error, as it does not fall within the range of 6–9 h and is eliminated.
Jimaging 09 00014 g007aJimaging 09 00014 g007b
Figure 8. The effect of SM usage examined by time duration (i.e., H.mean) on the contrast (a), homogeneity (b), correlation (c), and energy (d). Mild outliers, the values smaller than [Q1 – 1.5(IQR)] or larger than [Q3 + 1.5(IQR)], represented by circles; the extreme outliers, values smaller than [Q1 – 3(IQR)] or larger than [Q3 + 3(IQR)], represented by stars, as shown and detailed in Figure 7a.
Figure 8. The effect of SM usage examined by time duration (i.e., H.mean) on the contrast (a), homogeneity (b), correlation (c), and energy (d). Mild outliers, the values smaller than [Q1 – 1.5(IQR)] or larger than [Q3 + 1.5(IQR)], represented by circles; the extreme outliers, values smaller than [Q1 – 3(IQR)] or larger than [Q3 + 3(IQR)], represented by stars, as shown and detailed in Figure 7a.
Jimaging 09 00014 g008
Figure 9. Generated decision tree to predict the effect of SM usage on neck pain.
Figure 9. Generated decision tree to predict the effect of SM usage on neck pain.
Jimaging 09 00014 g009
Figure 10. Screenshot of the MATLAB-based GUI of the developed predictive mathematical model (a); the operation procedure of the MATLAB application with indicated the various phases that follow one another (b).
Figure 10. Screenshot of the MATLAB-based GUI of the developed predictive mathematical model (a); the operation procedure of the MATLAB application with indicated the various phases that follow one another (b).
Jimaging 09 00014 g010
Table 1. Questionnaire (short survey) provided to patients during the orthopedic visit.
Table 1. Questionnaire (short survey) provided to patients during the orthopedic visit.
Question NumberQuestion Content
1Gender
MaleFemale
2Age (years)
16–2021–3031–4041–50Above 51
3Do you have diabetes?
YesNo
4Do you suffer from high blood pressure?
YesNo
5Do you browse social media?
YesNo
6How many hours do you spend on social media a day?
<2 h2–3 h3–6 h6–9 h or more>9 h
9Do you suffer from neck pain or neck tension?
YesNo
10What type of pain do you face when you visit doctors?
The doctor can help you understand the nature and type of pain.
Neck painArthritisOthers
Table 2. Pain location and the number of painful patients who participated in the study (total number of participants N = 46).
Table 2. Pain location and the number of painful patients who participated in the study (total number of participants N = 46).
Pain LocationNumber of Pained Patients Suffering from a Given
Disease (Total Number of
Patients N = 46)
Percentage of Participants
Suffering from a Specific
Disease Compared to the Total
Number N = 46 of Participants (%)
Neck pain38 (abnormal subjects)82.60
Shoulder pain919.56
Back pain510.87
Arthritis919.56
Bone pain12.17
Diabetic2963.04
Blood pressure1736.95
Table 3. Demographics of the patients participating in the study (total number of participants N = 46).
Table 3. Demographics of the patients participating in the study (total number of participants N = 46).
Age of the Participants
(Years)
Number of ParticipantsPercentage with Respect to the Total Number of
Participants (N = 46)
(20–27)48.70
(28–35)2145.65
(36–43)1123.91
(44–51)817.39
(52–59)24.35
Gender
Males1941.30
Females2758.70
Subject Situation
Normal (no perceived neck pain)817.39
Abnormal (perceived neck pain)3882.60
Neck Flexion
During the use of smartphones/handhelds, including for studying purposes (online).46100
Table 4. Statistics of the descriptive variables (i.e., age, H.mean, angle_1, angle_2, area, contrast, homogeneity, correlation, and energy) used in this study.
Table 4. Statistics of the descriptive variables (i.e., age, H.mean, angle_1, angle_2, area, contrast, homogeneity, correlation, and energy) used in this study.
Parameter (Unit)NMinimumMaximumMeanStd.
Deviation
StatisticStd. ErrorStatistic
Age (years)4624.0058.0036.891.228.28
H.mean (hour)460.59.02.040.211.40
Angle_1 (degree)4638.29101.8979.562.0413.81
Angle_2 (degree)4634.2474.2254.191.469.87
Area (mm2)46269.001305.001007.3526.29178.30
Contrast (pixels)460.082.880.550.070.52
Homogeneity (pixels)460.750.980.900.010.05
Correlation (pixels)460.500.950.800.020.11
Energy (pixels)460.160.760.410.020.13
Table 5. List of the GEP settings.
Table 5. List of the GEP settings.
ParameterSetting
Population size (P)46
Fitness functionROC
Dependent variable (Class)1
Independent variables10
Number of genes5
Function set , + , × ,   ÷ ,   x 2 ,   x 3 ,   x 4 ,   10 x , x ,   x 3 ,   E x p ( x ) ,   L n ( x )
Maximum tree depth10
Linking function between ETsMultiplication
Table 6. List of the GEP variables.
Table 6. List of the GEP variables.
Contributor to ClassVariable ID
Gender (male or female)d0
Patient Aged1
Time duration of social media use (H.mean)d2
Angle_1d3
Angle_2d4
Aread5
Contrastd6
Homogeneityd7
Correlationd8
Energyd9
Table 7. Correlation between the variables and responses related to the neck condition.
Table 7. Correlation between the variables and responses related to the neck condition.
ParameterCorrelation Coefficient vs. Response
Gender−0.017
Age−0.270
Time Duration of social media usage (H.mean)−0.253
Angle_1−0.345
Angle_2−0.139
Area−0.369
Contrast0.306
Homogeneity−0.258
Correlation−0.167
Energy−0.223
Table 8. Summary of the testing results to evaluate the DT-classifier performance after oversampling.
Table 8. Summary of the testing results to evaluate the DT-classifier performance after oversampling.
Confusion Matrix* Precision* RecallAccuracy* F1-Score
13 (TP)1 (FN)0.960.9494%0.95
0 (FP)2 (TN)
Cost MatrixCross ValidationPercentage SplitROC AreaTotal Number of Instances
019-fold66%0.9816
50
* Weighted averages are calculated for normal and abnormal samples.
Table 9. Classification (IF-THEN) rules obtained by the C4.5 algorithm for the completed DT shown in Figure 9.
Table 9. Classification (IF-THEN) rules obtained by the C4.5 algorithm for the completed DT shown in Figure 9.
1Social_Media_use “=1_hours” T H E N Diagnose “Normal”
2Social_Media_use “=2_hours” T H E N Diagnose “Normal”
3Social_Media_use “=8_10_hours” AND Age “<=27” T H E N Diagnose “Abnormal”
4Social_Media_use “<8_10_hours” AND Age “<=27” T H E N Diagnose “Normal”
5Social_Media_use “>2_hours and <8_10_hours” AND Age “>27” AND Contrast “<=0.1455” AND angle_1 “<=72.42” T H E N Diagnose “Normal”
6Social_Media_use “>2_hours” AND Age “>27” AND Contrast “<=0.1455” AND angle_1 “>72.42”  T H E N Diagnose “Abnormal”
7Social_Media_use “>2_hours” AND Age “>27” AND Contrast “>0.1455” T H E N Diagnose “Abnormal”
Table 10. Results of the implementation of the GEP prediction model on all 46 patients for predicting the neck-pain condition. As for the predicted class column, value 1 indicates the normal class (no neck pain for H value > 0.5), value 0 the abnormal class (perceived pain for H value < 0.5). The meanings of the parameters di (i = 0, 1, …, 8) are reported in Section 2.8 (Table 6), related to the mathematical GEP model developed for the neck-pain prediction. The indications given in the column “Class Matching” refer to the definitions provided in the Section 3.2 (on page 18).
Table 10. Results of the implementation of the GEP prediction model on all 46 patients for predicting the neck-pain condition. As for the predicted class column, value 1 indicates the normal class (no neck pain for H value > 0.5), value 0 the abnormal class (perceived pain for H value < 0.5). The meanings of the parameters di (i = 0, 1, …, 8) are reported in Section 2.8 (Table 6), related to the mathematical GEP model developed for the neck-pain prediction. The indications given in the column “Class Matching” refer to the definitions provided in the Section 3.2 (on page 18).
Patient N.Gender
d0
Age
d1
H.mean
d2
Angle_1
d3
Angle_2
d4
Area
d5
Contrast
d6
Homo-geneity
d7
Correlation
d8
Energy
d9
Input
Class
GEP Model (H)Predicted ClassClass Matching
1Male293.572.4241.3511030.2970.9140.9070.306Abnormal (0)0.006Abnormal (0)OK (TN)
2Male301.552.0660.848960.7650.8360.7700.230Abnormal (0)0.028Abnormal (0)OK (TN)
3Male329.079.6571.0510121.2930.8540.7970.407Abnormal (0)0.001Abnormal (0)OK (TN)
4Male353.562.8636.879860.4510.9130.7580.392Abnormal (0)0.004Abnormal (0)OK (TN)
5Male357.559.9659.112790.5770.8810.8790.382Abnormal (0)0.001Abnormal (0)OK (TN)
6Male389.090.0150.0410700.5500.8990.8460.430Abnormal (0)0.001Abnormal (0)OK (TN)
7Male416.087.0747.6710091.3000.8390.6530.399Abnormal (0)0.001Abnormal (0)OK (TN)
8Male433.565.447.129930.1680.9450.9350.358Abnormal (0)0.028Abnormal (0)OK (TN)
9Male469.053.6156.959410.4990.9300.7060.681Abnormal (0)0.001Abnormal (0)OK (TN)
10Male510.570.1346.619390.3760.8990.7800.386Abnormal (0)0.001Abnormal (0)OK (TN)
11Male540.575.3240.089660.1880.9620.8490.760Abnormal (0)0.001Abnormal (0)OK (TN)
12Male580.838.2938.8111230.3100.9410.8570.602Abnormal (0)0.001Abnormal (0)OK (TN)
13Female259.089.0868.7711700.6790.8750.6880.290Abnormal (0)0.001Abnormal (0)OK (TN)
14Female279.086.9752.8713050.3000.9300.8100.412Abnormal (0)0.001Abnormal (0)OK (TN)
15Female289.077.2574.2210051.1280.8090.6430.194Abnormal (0)0.001Abnormal (0)OK (TN)
16Female288.088.8771.374141.9260.7910.6090.158Abnormal (0)0.001Abnormal (0)OK (TN)
17Female289.093.0169.419210.3950.9120.7540.473Abnormal (0)0.001Abnormal (0)OK (TN)
18Female299.093.6155.2911050.6750.8860.6830.373Abnormal (0)0.001Abnormal (0)OK (TN)
19Female307.0101.8968.459170.1490.9510.9340.494Abnormal (0)0.004Abnormal (0)OK (TN)
20Female317.084.2253.1312600.1470.9520.9410.451Abnormal (0)0.003Abnormal (0)OK (TN)
21Female326.089.9562.3410940.5950.8930.7390.350Abnormal (0)0.001Abnormal (0)OK (TN)
22Female327.599.4154.119880.3640.9040.7750.357Abnormal (0)0.001Abnormal (0)OK (TN)
23Female329.094.0158.3511110.5660.9020.7700.352Abnormal (0)0.001Abnormal (0)OK (TN)
24Female335.691.7658.6510100.1480.9540.9440.440Abnormal (0)0.016Abnormal (0)OK (TN)
25Female355.598.5862.6110640.8170.8660.7010.272Abnormal (0)0.001Abnormal (0)OK (TN)
26Female355.582.7549.6510840.5030.8870.7610.278Abnormal (0)0.001Abnormal (0)OK (TN)
27Female357.090.6251.8411160.3580.9020.7940.333Abnormal (0)0.001Abnormal (0)OK (TN)
28Female364.589.3262.0111590.2470.9500.7890.593Abnormal (0)0.114Abnormal (0)OK (TN)
29Female375.589.3160.2810230.1230.9530.9310.511Abnormal (0)0.093Abnormal (0)OK (TN)
30Female421.585.5742.0210800.5330.8890.7530.385Abnormal (0)0.001Abnormal (0)OK (TN)
31Female425.576.9169.0910570.6050.8720.7780.307Abnormal (0)0.001Abnormal (0)OK (TN)
32Female460.877.7648.618480.4180.9230.8260.397Abnormal (0)0.001Abnormal (0)OK (TN)
33Female481.590.2646.1410500.1580.9460.9390.419Abnormal (0)0.001Abnormal (0)OK (TN)
34Female507.080.8950.879870.1560.9480.9390.417Abnormal (0)0.002Abnormal (0)OK (TN)
35Male374.557.0556.1410650.1420.9530.9310.470Normal (1)0.694Normal (1)OK (TP)
36Male392.560.4846.1510440.1700.9480.9400.395Normal (1)1.000Normal (1)OK (TP)
37Male413.067.8550.579120.1460.9520.9370.459Normal (1)1.000Normal (1)OK (TP)
38Male451.585.4958.0411430.2650.9450.8460.661Normal (1)1.000Normal (1)OK (TP)
39Female242.579.8250.5210550.8220.8680.7110.432Normal (1)0.691Normal (1)OK (TP)
40Female274.079.5748.552692.8810.7510.5050.170Normal (1)1.000Normal (1)OK (TP)
41Female301.564.1251.318880.8370.8390.6520.237Normal (1)0.940Normal (1)OK (TP)
42Female362.079.6454.0610670.4720.8980.7640.497Normal (1)1.000Normal (1)OK (TP)
43Male357.077.1752.0610750.0800.9770.9460.727Abnormal (0)0.994Normal (1)Wrong (FP)
44Male482.590.4764.049850.1820.9370.9310.365Abnormal (0)1.000Normal (1)Wrong (FP)
45Male501.582.0934.247891.3210.8450.6690.337Abnormal (0)1.000Normal (1)Wrong (FP)
46Female321.577.0840.729610.4230.9100.7710.385Abnormal (0)1.000Normal (1)Wrong (FP)
Note: the 1-value in the class column (input and predicted class) indicates the normal (no perceived pain) cases, whereas the 0 value indicates the abnormal (perceived pain) ones. A class matching value of “OK” means that the “Input Class” normal (value 1) is correctly predicted as normal and defined as True Positive (TP), or that the “Input Class” abnormal (value 0) is correctly predicted as Abnormal and defined as True Negative (TN)
Table 11. Comparison of this work with similar scientific works reported in the literature analyzing the impact of using the SM devices on neck-pain occurrence.
Table 11. Comparison of this work with similar scientific works reported in the literature analyzing the impact of using the SM devices on neck-pain occurrence.
First Author, Ref. n., YearMethod Survey-Based (Subjective) or Quantitative (Objective)Samples (Male/Female)Evaluation ApproachParameters #Target of Study
Machine-Learning TypeStatistics
F. Al-Hadidi [51], 2019Online Questionnaire
(Subjective)
500NoneSignificant test
(p < 0.001)
Two: duration, neck painTo investigate the association between neck pain and the duration of device use, taking into consideration gender, age, and the most frequent position in which students use their devices.
S. A. Rahman [61], 2020Questionnaire (Subjective)300NoneSignificant test
(p < 0.003)
Four: gender, age, university campus, academic yearTo investigate the effects of SM use on health and academic performance of students at Sharjah University
D. David [62], 2021MRI of the cervical spine (Objective)1 case
reported
NoneNoneOne: neck flexion angleTo analyze the new phenomenon of the “text-neck syndrome”
S. Lee [63], 2014Three-dimensional motion capture system (Objective)18NoneSignificant test
(p < 0.05)
One: Head flexion angleTo quantitatively assess the amount and range of head flexion of smartphone users
L. Straker [64], 2008Three-dimensional posture and muscle activity measurement (Objective)18NoneSignificant test
(p < 0.001)
Three: working in desktop, tablet, and paper conditions and measuring the head angleTo compare the posture and muscle activity of children using a tablet computer to the posture and muscle activity of children using a desktop computer and paper technology.
E. Gustafsson [65], 2011Angle measuring system
(Objective)
56NoneSignificant test
(p < 0.05)
Three: symptomatic, asymptomatic, head angleTo investigate differences in technique between young adults with and without musculoskeletal symptoms when using a mobile phone for texting, and differences in muscle activity and kinematics between different texting techniques.
H. Ping Chiu [66], 2015Angle measuring system
(Objective)
30Electromyography measurementSignificant test
(p < 0.000)
Three: tilt angle, task type, neck muscle activityTo investigate the musculature load and comfort perception of the engaged upper extremity for three angles of viewing, and common task types performed at a computer workstation.
A. Widhiyanto [54], 2018Questionnaire (Subjective)979NoneSignificant test
(p < 0.05)
Two: Duration, ClassTo analyze the effect of duration of smartphone use on neck pain.
H. Lee [55], 2013Three-axis accelerometer
(Objective)
12Built-in sensors, front- faced camera, three-axis accelerometerNoneOne: angleTo monitor the posture of smartphone users by built-in sensors.
This workAngles measurement and X-ray images analysis
(Objective)
46Decision tree.
Classification accuracy = 94%
Significant testNine: age, H.mean, angle_1, angle_2, area, contrast, homogeneity, correlation, energyTo detect neck pain by:
(i) Using two angles and the area between them instead of just one angle;
(ii) Applying the image statistical features (GLCM) in the same procedure;
(iii) Utilizing DT algorithm;
(iiii) Using a MATLAB- based GUI to help the doctor in the diagnosis of neck pain in an immediate way.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Al-Naami, B.; Badr, B.E.A.; Rawash, Y.Z.; Owida, H.A.; De Fazio, R.; Visconti, P. Social Media Devices’ Influence on User Neck Pain during the COVID-19 Pandemic: Collaborating Vertebral-GLCM Extracted Features with a Decision Tree. J. Imaging 2023, 9, 14. https://doi.org/10.3390/jimaging9010014

AMA Style

Al-Naami B, Badr BEA, Rawash YZ, Owida HA, De Fazio R, Visconti P. Social Media Devices’ Influence on User Neck Pain during the COVID-19 Pandemic: Collaborating Vertebral-GLCM Extracted Features with a Decision Tree. Journal of Imaging. 2023; 9(1):14. https://doi.org/10.3390/jimaging9010014

Chicago/Turabian Style

Al-Naami, Bassam, Bashar E. A. Badr, Yahia Z. Rawash, Hamza Abu Owida, Roberto De Fazio, and Paolo Visconti. 2023. "Social Media Devices’ Influence on User Neck Pain during the COVID-19 Pandemic: Collaborating Vertebral-GLCM Extracted Features with a Decision Tree" Journal of Imaging 9, no. 1: 14. https://doi.org/10.3390/jimaging9010014

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop