Next Article in Journal
Is Being Male a Marker of Aggression? Evidence for the Decoupling of Sex and Gender Role Orientation
Previous Article in Journal
Relations Between Executive Functions and Reading Comprehension: A Study of Fourth-Grade Students with and Without Reading Comprehension Difficulties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Non-Invasive Monitoring of Cerebral Edema Using Ultrasonic Echo Signal Features and Machine Learning

1
State Key Laboratory of Ultrasound in Medicine and Engineering, Chongqing Medical University, Chongqing 400016, China
2
Chongqing Key Laboratory of Biomedical Engineering, Chongqing Medical University, Chongqing 400016, China
3
National Medical Products Administration (NMPA), Key Laboratory for Quality Evaluation, Ultrasonic Surgical Equipment, 507 Gaoxin Ave., Donghu New Technology Development Zone, Wuhan 430075, China
*
Author to whom correspondence should be addressed.
Brain Sci. 2024, 14(12), 1175; https://doi.org/10.3390/brainsci14121175
Submission received: 28 October 2024 / Revised: 21 November 2024 / Accepted: 21 November 2024 / Published: 23 November 2024
(This article belongs to the Section Neural Engineering, Neuroergonomics and Neurorobotics)

Abstract

:
Objectives: Cerebral edema, a prevalent consequence of brain injury, is associated with significant mortality and disability. Timely diagnosis and monitoring are crucial for patient prognosis. There is a pressing clinical demand for a real-time, non-invasive cerebral edema monitoring method. Ultrasound methods are prime candidates for such investigations due to their non-invasive nature. Methods: Acute cerebral edema was introduced in rats by permanently occluding the left middle cerebral artery (MCA). Ultrasonic echo signals were collected at nine time points over a 24 h period to extract features from both the time and frequency domains. Concurrently, histomorphological changes were examined. We utilized support vector machine (SVM), logistic regression (LogR), decision tree (DT), and random forest (RF) algorithms for classifying cerebral edema types, and SVM, RF, linear regression (LR), and feedforward neural network (FNNs) for predicting the cerebral infarction volume ratio. Results: The integration of 16 ultrasonic features associated with cerebral edema development with the RF model enabled effective classification of cerebral edema types, with a high accuracy rate of 97.9%. Additionally, it provided an accurate prediction of the cerebral infarction volume ratio, with an R2 value of 0.8814. Conclusions: Our proposed strategy classifies cerebral edema and predicts the cerebral infarction volume ratio with satisfactory precision. The fusion of ultrasound echo features with machine learning presents a promising non-invasive approach for the monitoring of cerebral edema.

1. Introduction

Cerebral edema is a pathological state characterized by an increase in brain volume due to an abnormal increase or accumulation of intracranial fluid [1]. Cerebral edema is often a complication of traumatic brain injury, stroke, and other craniocerebral diseases, and cerebral edema can lead to elevated intracranial pressure (ICP), causing neurological deficits, brain displacement, or herniation [2]. In extreme cases, it poses a serious threat to life. The etiology of cerebral edema is intricate, with two primary types: cytotoxic and vasogenic cerebral edema [3]. Cytotoxic cerebral edema typically predominates initially, while vasogenic cerebral edema takes over later [4]. This distinction is crucial, as it influences treatment strategies [5,6]. Therefore, timely classification and ongoing monitoring of cerebral edema are essential for improving diagnostic precision and therapeutic efficiency.
Ultrasound methods are excellent candidates for investigating cerebral edema due to their non-invasive nature. During cerebral edema, brain tissue properties like density and hardness change, affecting the acoustic impedance of the intracranial brain tissue and ultrasound propagation inside it. It is hypothesized that ultrasound echo features are correlated with the types and severity of cerebral edema. Machine learning, particularly pattern recognition and classification algorithms, may assist in classifying cerebral edema types and predicting its severity based on features extracted from ultrasonic echo signals, potentially improving diagnostic precision and real-time monitoring capabilities. In this study, a non-invasive method of monitoring cerebral edema was introduced using ultrasonic echo signal features and machine learning, aiming to validate the feasibility of this approach.
To meet the study’s objectives, a series of experiments were conducted. A cerebral edema model was established by permanently occluding the left MCA in rats. The ultrasonic echo signals were then recorded at nine time points within 24 h to extract the 22 features from waveform and spectra. The morphology of cerebral edema was quantitatively analyzed. Finally, selected features were input into machine learning models to classify cerebral edema types and predict cerebral infarction volume ratios, with a comparison of the performance of different models.

2. Literature Review

2.1. Research Related to Cerebral Edema Monitoring

Currently, the methods for monitoring cerebral edema are classified into invasive and non-invasive types. Invasive ICP monitoring, which involves the insertion of pressure sensors into the brain parenchyma, ventricles, or subdural space, only indirectly indicating the severity of cerebral edema [7]. However, the probe is prone to shifting during monitoring, diminishing the monitoring accuracy, and carries the risk of intracranial hemorrhage or infection [8,9,10]. Lietke et al. correlated computed tomography (CT)-based cerebral edema classification with ICP (r = 0.51, p < 0.0001) [9]. Electrical impedance tomography (EIT), another invasive method, measures electrical impedance differences to assess cerebral edema progression [10], but it lacks the ability to quantify edema severity. Non-invasive imaging techniques like CT and magnetic resonance imaging (MRI) accurately delineate edema characteristics and depict its location [11]. However, their limitations, including size, cost, and ionizing radiation risks, make them unsuitable for real-time, continuous monitoring at bedside. Near-infrared spectroscopy (NIRS) has been explored for early detection of cerebral edema before ICP increases [12], and magnetic induction phase shift (MIPS) technology has shown promise in distinguishing between cytotoxic and vasogenic cerebral edema with high sensitivity and anti-interference capabilities [13]. While these studies highlight the potential for cerebral edema monitoring, advancements and practical applications are still required.

2.2. Research Related to Ultrasonic Echo Features and Machine Learning

Ultrasonic echo techniques, celebrated for their non-invasive, non-destructive, repeatable, real-time, and ionization-radiation-free nature, have found extensive applications in the medical field. They are utilized for monitoring or diagnosing ICP, cerebral blood flow, hydrocephalus, intracranial hematomas, and midline shift (MLS) of the brain, among other cranial conditions [14,15,16]. Transcranial color-coded Doppler (TCCD) has been shown to accurately detect intracranial hemorrhage or ischemic stroke with a sensitivity of 94% and a specificity of 95%, which aligns closely with CT imaging results [15]. Furthermore, ultrasound has also demonstrated good agreement with CT in assessing MLS in neurocritical care patients (r = 0.65, p < 0.001) [16]. The integration of machine learning with ultrasonic echo signal features has demonstrated exceptional performance in classification or prediction. By extracting features from the time domain, frequency domain after Fourier transform, and time–frequency domain after wavelet transform of the ultrasound echo signal, and then training using machine learning models for classification or prediction, a dynamic and promising research frontier has emerged [17,18,19,20,21,22,23]. For instance, a combination of six features from the ultrasonic radiofrequency (RF) spectrum with a neural network classifier achieved an accuracy (ACC) of 91%, a sensitivity of 92%, and a specificity of 90% in identifying prostate cancer [20]. The use of ultrasonic echo signal features (mean, variance, median, kurtosis, root mean square, and skewness) in blood, in conjunction with support vector machine (SVM), successfully distinguished varying degrees of red blood cell (RBC) aggregation, with an ACC of 85.88 ± 2.99% [21]. SVM and random forest (RF) classifiers, leveraging ultrasonic RF signal, B-mode sonographic texture, and attenuation features, classified benign and malignant breast diseases with an area under the curve (AUC) and receiver operating characteristic (ROC) of 0.86 and 0.81, respectively [22]. Spectrum analysis of the ultrasonic echo signal, employing the partial least squares regression method, predicted the porcine intramuscular fat content, yielding a correlation coefficient of 0.76 between predicted and actual fat values [23]. Consequently, such strategies hold significant promise in disease classification and monitoring, and using ultrasonic echo signal features in conjunction with machine learning to monitor cerebral edema may be a feasible approach.

3. Materials and Methods

3.1. Experimental Animals and Grouping

Sixty healthy adult Sprague–Dawley (SD) rats weighing 250 ± 20 g without specific pathogens or infections and evenly divided by sex were obtained from the Animal Experiment Center of Chongqing Medical University. The research protocol was approved and supervised by the Institutional Animal Care and Use Committee (IACUC) of Chongqing Medical University (IACUC-CQMU-2024-0643). The study adhered to the Guide in the Care and Use of Laboratory Animals established by the U.S. National Academy of Sciences. The rats were maintained in a temperature-controlled environment of 20–25 °C, under a 12/12 h light–dark cycle, with ad libitum access to food and water. They were randomly assigned to three groups: (1) 20 rats with cerebral edema and 3 with sham surgery controls were monitored using ultrasound echoes before and at nine postoperative time points within 24 h (0, 1, 2, 3, 6, 9, 12, 18, and 24 h); (2) 27 rats were used for 2,3,5-triphenyltetrazolium chloride (TTC) staining at each time point (3 rats per point); (3) 10 rats were utilized for histological assessment.

3.2. Cerebral Ischemia Model

Rats were deprived of food and water for 12 h prior to surgery. Following anesthesia induction with pentobarbital sodium (1.5%, 0.2 mL/100 g, P3761, Sigma-Aldrich, St. Louis, MO, USA), a permanent cerebral ischemia model was established via middle cerebral artery occlusion (MCAO) using a silicone thread plug (45-0480, Hengqinda, Shanghai, China) [24,25]. A 1.5–2 cm neck incision was made 1 cm away the left of the midline, and the left common carotid artery (CCA), external carotid artery (ECA), and internal carotid artery (ICA) were carefully isolated along the sternocleidomastoid muscle. The vagus nerve was meticulously separated to prevent injury that could affect respiration and swallowing. The proximal end of the CCA and the origin of the ECA were ligated with surgical thread, and a hemostatic clamp and surgical threads were positioned at the origin of the ICA and distal end of the CCA, respectively. An incision was made about 5 mm between the CCA’s end and the carotid bifurcation. A silicone thread plug was inserted in the direction of the CCA, advancing 1–2 mm into the ICA after releasing the hemostatic clamp. The blood supply to the brain was obstructed by tightening the thread with the prepared surgical thread. Finally, the incision was closed, and rats were placed on a 37 °C thermostatic heating pad for recovery.

3.3. Assessment of Neurological Deficits

Neurological deficits were assessed two hours post-ischemia using the Zea–Longa method [26]: 0 = no deficits; 1 = inability to extend the uninjured forelimb; 2 = walking towards the undamaged side; 3 = turning toward the undamaged side in a rear-end shape; 4 = consciousness disturbance, no independent ambulation. Scores between 1 and 3 indicate successful modeling; otherwise, the rats were discarded.

3.4. Analysis of Cerebral Infarction Volume

After the rats were anesthetized, their hearts were perfused with normal saline. Then, brains were quickly extracted and refrigerated at −20 °C for 25 min. The cerebellum and other parts were removed to retain the brain tissue only, and five coronal sections of a thickness of about 2 mm were prepared. These sections were incubated in a 2% solution of TTC (Solarbio, Beijing, China) at 37 °C for 30 min and then fixed in a 4% paraformaldehyde (PFA) solution (Biosharp, Hefei, China) for 5 h in the dark. The infarct volume was analyzed using ImageJ software (1.54g, National Institute of Health, Bethesda, MD, USA), with the ratio calculated as follows [27]:
infarction   volume   ratio = volume   of   the   contralateral   hemisphere unstained   volume   of   the   ipsilateral   hemisphere volume   of   the   contralateral   hemisphere × 100 %

3.5. Assessment of Histology

Following anesthesia, rats were perfused with normal saline, and brains were rapidly removed and fixed in 4% PFA for 24 h. Paraffin sections of 3–4 μm thickness were stained with hematoxylin (H9627, Sigma-Aldrich)-eosin (E4009, Sigma-Aldrich) (HE) and examined under a 200× upright microscope (Eclipse Ci-L, Nikon, Tokyo, Japan).

3.6. Ultrasonic Echo Signal Acquisition

Figure 1a shows the ultrasonic echo signal acquisition system in this study. The rats’ heads were shaved, and ultrasonic coupling gel was evenly applied. A 2.25 MHz flat ultrasound transducer (V306-SU, Olympus, Waltham, MA, USA) was used with a pulse transmitter receiver (DPR300, BYK-Gardner, New York, NY, USA) to emit and receive ultrasonic waves, which were acquired by an oscilloscope (DHO4000, RIGOL, Suzhou, China) at the sampling rate of 500 MSa/s, averaged 64 times. The ultrasound transducer was positioned over the left parietal bone, and four measurements were collected at each time point.

3.7. Feature Parameter Extraction

The acquired ultrasound echoes were processed to remove the DC component and then transformed into a frequency domain using Fourier analysis. Subsequently, MATLAB (R2022a, MathWorks, Natick, MA, USA) was used to extract 13 time-domain features (maximum, minimum, mean, peak-to-peak, absolute average, variance, standard deviation, kurtosis, skewness, root mean square, shape factor, impulse factor, and crest factor) and 9 frequency-domain features (mean magnitude in the frequency domain, centroid frequency, mean square frequency, variance frequency, frequency variance, mean frequency, total power, average power, and peak frequency) as listed in Table 1. These features were compiled into a dataset.

3.8. Classification of Cerebral Edema and Model Evaluation

Python 3.12 and PyCharm 2023.1 were employed for data analysis. The ultrasonic features dataset was constructed from 20 rats with cerebral edema at nine time points and four measurements per time point, for a total of 720 samples. The dataset was refined using the z-score method, which involved replacing outliers with the median, filling in missing values with the mean, and normalizing the data [28]. Four traditional machine learning models, including SVM, logistic regression (LogR), decision tree (DT), and RF, were used to classify cerebral edema. These classifications were each based on both a single feature and sixteen features. To fully evaluate the classification performance, a 10-fold cross validation was conducted to assess the ACC, AUC, and F1 score (F1).

3.9. Prediction of Cerebral Infarction Volume Ratio and Model Evaluation

Cubic spline interpolation was used to address the data imbalance between ultrasound features and cerebral infarction volume ratios by constructing a piecewise polynomial interpolation curve based on three infarction volume ratios at each time point. This method generates smooth, high-resolution interpolated results, effectively filling gaps in sparse data points. SVM, RF, linear regression (LR), and feedforward neural network (FNNs) were used to predict the volume ratio of cerebral infarction. To prevent overfitting, 10-fold cross validation was performed to determine the average values of the root mean square error (RMSE), mean square error (MSE), mean absolute error (MAE) and R2 as the evaluation indexes. The SVM model applied a linear kernel with the regularization parameter (C) of 1. RF hyperparameters included 100 trees, a maximum depth of 20, and the minimum five samples and one sample required to split an internal and leaf node, respectively. The FNN model employed the ReLU activation function with two fully connected layers (64 and 32 neurons), the Adam optimizer, the MSE loss function, a learning rate of 0.001, 50 training epochs, and a batch size of 64.

3.10. Statistical Analysis

Statistical analysis was conducted using Origin software (2024, OriginLab, Northampton, MA, USA). Non-parametric Kruskal–Wallis analysis and Dunn’s post-hoc test were applied to compare the features at each time point, with p < 0.05 indicating statistical significance.

4. Results

4.1. Changes to Features over Time

Figure 2 shows the boxplots of 16 features, highlighting significant differences between the initial (0 h) and final (24 h) time points (p < 0.001), including maximum, minimum, peak-to-peak, absolute average, variance, standard deviation, kurtosis, skewness, root mean square, shape factor, impulse factor, crest factor, mean magnitude in the frequency domain, mean frequency, total power, and average power. The majority of these features remained stable within the first three hours post-hemorrhagic brain injury. However, a noticeable decline was observed between 3 and 24 h post-ischemic brain injury, with the exception of a rising trend in the minimum value. Except for kurtosis at 6 h (p = 0.393), all features from 6 to 24 h varied significantly from the initial state (p < 0.001). Notably, features from the pre-modeling phase and control group did not diverge until the 6, 9, 12, 18, and 24 h marks (p < 0.001).

4.2. Volume Ratio of Cerebral Infarction over Time

Neurological deficits were markedly evident in rats 2 h post-permanent cerebral ischemia, with a neurological score of 2.66 ± 0.48. Figure 3 illustrates representative TTC staining results at nine time points, differentiating normal (red) from ischemic (white) brain tissue. The infarcted area of ischemic brain tissue increased substantially over time. As depicted in Figure 4, the infarction volume ratio was minimally altered in the first 3 h, subsequently reaching 48.2% by the 24 h mark.

4.3. Pathological Morphology at Different Times

Examination under a 200× upright microscope revealed the microstructure of brain tissue, as shown in Figure 5. At 0 h, no significant abnormalities were observed, all neurons appearing intact and neatly arranged without signs of swelling or necrosis (see Figure 5a). In contrast, 3 h post-MCAO, ischemic brain tissue showed disordered neuronal arrangement and significantly enlarged neuron volume (see Figure 5b). Nuclei appeared hyperchromatic with evident nuclear pyknosis and degeneration, indicating early cerebral edema. By 9 h, nuclear pyknosis became more pronounced, with shrunken neuronal cell bodies, enlarged intercellular spaces, and expanded perivascular spaces by fluid exudation, suggesting worsening edema and vasogenic changes (see Figure 5c). At 24 h, extensive neuronal necrosis was apparent, with edematous vacuoles, reduced cell density, and enlarged tissue gaps, indicative of severe cerebral edema (see Figure 5d).

4.4. Cerebral Edema Classification

In this study, SVM, RF, LogR, and DT were selected to compare their performance in classifying cerebral edema using the 16 features listed in Table 2. All models demonstrated high classification accuracy, with ACCs of 96.7 ± 3.4%, 97.9 ± 1.9%, 97.2 ± 3.0%, and 95.8 ± 2.1%, respectively. Their AUCs were 0.996 ± 0.007, 0.996 ± 0.005, 0.997 ± 0.005, and 0.959 ± 0.022, respectively, and F1 scores were 0.971 ± 0.029, 0.982 ± 0.017, 0.975 ± 0.026, and 0.962 ± 0.018, respectively. It is worth noting that when classifying with a maximum of a single feature, the yielded prediction across all four models is quite satisfactory, with ACCs of 97.5% ± 1.7%, 96.3% ± 2.2%, 97.5% ± 3.0%, and 96.3% ± 2.2%, AUCs of 0.993 ± 0.010, 0.988 ± 0.011, 0.996 ± 0.006, and 0.962 ± 0.023, and F1 scores of 0.978 ± 0.015, 0.966 ± 0.029, 0.978 ± 0.017, and 0.966 ± 0.019, respectively (see Figure 6).

4.5. Prediction of Cerebral Infarction Volume Ratio

Comparing the predictive performance (MSE, RMSE, and MAE) of the four methods on the infarction volume ratio, RF outperformed the others in terms of generalization and stability, with MSE, RMSE, and MAE of 0.0038 ± 0.0006, 0.0612 ± 0.0046, and 0.0379 ± 0.0035, respectively, as shown in Table 3 and Figure 7. Additionally, the correlation between RF-predicted and actual infarction volume ratio was quite substantial (R² = 0.8814 ± 0.0223), as shown in Figure 8.

5. Discussion

Cerebral edema is frequently associated with high rates of morbidity, mortality, and disability, making its severity a critical factor in patient prognosis. Especially for patients with stroke and traumatic brain injury, real-time continuous monitoring is essential. Ultrasound technology is particularly promising for bedside and wearable monitoring. Kreft et al. rapidly detected intracranial hypertension using ultrasonic time-harmonic elastography at a shear wave speed (SWS) cutoff value of 1.67 m/s with specificity and sensitivity of 94% and 100% for the clinical ICP criteria of 25 cm H2O [29]. Additionally, a conformal ultrasound patch has been applied for transcranial volumetric imaging and cerebral hemodynamic monitoring [30], underscoring the vital information in the early diagnosis and monitoring of central nervous system (CNS) diseases.
In this study, features of ultrasound echo signals with machine learning were combined to enable non-invasive monitoring and classification of cerebral edema. Sixteen features of an ultrasonic echo signal related to the development of cerebral edema were extracted. It is worth noting that the wide distribution and presence of outliers in some features (see Figure 2) may be attributed to the rats’ fixation on the plate during data acquisition, a necessary step to prevent mortality from multiple anesthesia sessions within a 24 h period. However, the respiration and movement of rats may also lead to large feature variability and affect classification and prediction results.
The observed feature changes may correlate with alterations in the acoustic properties of brain tissue. Notably, the maximum value in the time domain showed a gradual decrease over time (see Figure 2a). In the early stage of cerebral edema, the influx of sodium ions, chloride ions, and water from the extracellular space into brain cells increases cell volume and tissue density, leading to higher acoustic impedance [4,6,31]. This increase enhances the reflection coefficient at the interface between edematous and normal brain tissue, resulting in stronger echoes. Pressure increases on an elastic medium are known to raise its density and ultrasound echo amplitude [32]. Interestingly, our study found a gradual decrease in the averaged maximum amplitude of echoes from the cerebral edema within the first three hours, significantly different from the 0 h mark (p < 0.05). This may be due to the aforementioned movement and respiration errors. With the progress of cerebral ischemia increasing, the blood–brain barrier becomes compromised, creating trans-endothelial permeability channels that allow water and certain plasma proteins to leak into the brain interstitium [4,6,31]. This leads to a decrease in brain cell volume (even cell rupture), brain tissue density, and acoustic impedance. Discrepancies in acoustic impedance are widely utilized in diagnosis [33,34,35]. High-frequency acoustic impedance imaging distinguishes between normal and cancerous breast cells with statistically different average impedance values (1.636 ± 0.010 MRayl vs. 1.612 ± 0.006 MRayl) [33]. Ito et al. also found significant acoustic impedance variations among different pathological liver conditions [34].
TTC staining at nine time points over 24 h post-cerebral edema onset revealed no distinct white ischemic brain tissue in the first three hours. Not until the sixth hour did significant white cerebral ischemic tissue occur. In comparison, another group observed obvious white ischemic brain tissue two hours after modeling [36], a difference that may be due to the type of emboli or modeling techniques used. Their cerebral infarction ratio at 24 h after successful modeling is similar to ours (49.57% vs. 48.2%), indicating a successfully established model.
Ultrasonic echo signals have emerged as a vital tool in medical research for tissue characterization, offering a more granular level of detail compared to traditional ultrasonic imaging [23]. In the study of cerebral edema, these signals revealed a significant correlation with the histological progression of the condition in rats, as evidenced by the transition from mild in the first 3 h to severe cerebral edema from 6 to 24 h. This correlation was substantiated through HE and TTC staining, which confirmed the tissue changes (see Figure 3 and Figure 4). The statistical variations in the features of ultrasonic echo signals (see Figure 2) were found to align well with the progression of cerebral edema, thereby validating their utility in predicting and classifying the condition’s advancement.
Due to different clinical treatment strategies for cytotoxic and vasogenic brain edema, distinguishing between these types is crucial for diagnosis. While the electrical resistivity of brain tissue has been utilized to differentiate edema types, the invasiveness of this technology may limit its wide application [36]. An algorithm for extracting amplitude features from electromagnetic induction has been proposed to classify acute and chronic phases of cerebral edema in rabbits, with a sensitivity of 85.0% and a specificity of 91.0% [37]. Machine learning models, including linear SVM, rough DT, and Naïve Bayes, have achieved 93% accuracy in distinguishing between cytotoxic and vasogenic brain edema in mice based on cerebral hemodynamic parameters [38]. In this study, the effectiveness of individual features was analyzed for classifying cerebral edema. It is found that not all features achieved high accuracy. For example, kurtosis alone achieved the classification accuracy of only 61.5% in the RF model. However, the synergistic utilization of multiple features improved classification accuracy, with four traditional machine learning models (SVM, LogR, DT, and RF) achieving over 95% accuracy, superior to all methods mentioned above.
In the MCAO model, the cerebral infarction volume ratio is often used to assess the severity of ischemic cerebral edema because of their positive correlation [39]. Brain water content measured using the dry-wet weight method can also demonstrate the severity of cerebral edema, but there were no significant differences between each time point [40,41]. Moreover, without precise control of time and temperature, substantial systematic errors may arise. Thus, the cerebral infarction volume ratio was utilized in this study to predict the severity of cerebral edema. The RF model showed good regression performance in predicting the cerebral infarction volume ratio, with an average MSE and R2 of 0.0038 and 0.8814, respectively. This method has great potential for non-invasive monitoring of cerebral edema in clinical settings, with either bedside or wearable designs, but requires further validation.
There are some limitations in our study. Firstly, the limited sample size may affect statistical analysis results. Secondly, the pathogenic causes and progression of cerebral edema models established using different methods may vary significantly. The performance of our non-invasive monitoring and prediction model will be evaluated using more cerebral edema models in the future. Thirdly, the rats were monitored within 24 h after the onset of cerebral edema. Long-term monitoring (e.g., 48 and 72 h) would be beneficial. Finally, more recent and advanced deep learning models, such as recurrent neural networks (RNN) and long short-term memory networks (LSTM) [42,43], will be explored to further improve accuracy.

6. Conclusions

This study presents a novel, non-invasive ultrasound method for the monitoring of cerebral edema. Sixteen features extracted from the ultrasound echo signals are indicative of cerebral edema progression. The integration of these features with machine learning algorithms enabled the classification of different cerebral edema types and the prediction of edema severity. The experimental outcomes are highly encouraging. The RF model exhibited superior performance in classifying cerebral edema, with an ACC of 0.979 ± 0.019, an AUC of 0.996 ± 0.005, and an F1 score of 0.982 ± 0.017. Moreover, it also effectively predicts the infarction ratio, with an R2 value of 0.8814 ± 0.0223. The findings of this research highlight the potential of ultrasound technology, in conjunction with machine learning, for assessing the severity and differentiating the types of cerebral edema. This approach offers a new, non-invasive diagnostic and real-time monitoring tool for brain trauma, which could significantly aid in clinical decision-making and patient management. Future endeavors will concentrate on expanding the dataset and exploring advanced machine learning models to enhance classification and prediction accuracy. Concurrently, efforts will be directed towards designing and fabricating wearable ultrasound transducers and a monitoring system for clinical application.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/brainsci14121175/s1, Figures S1–S10. All raw brain sections stained with hematoxylin-eosin (HE).

Author Contributions

Conceptualization and methodology, S.Y.; investigation, data curation, formal analysis, S.Y. and Y.Y.; writing—original draft preparation, S.Y.; writing—review and editing, Y.Z.; funding acquisition and supervision, Y.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Entrepreneurship and Innovation Support Program for Overseas Students in Chongqing (cx2021102) to Yufeng Zhou, Chongqing Human Resources and Social Security Bureau.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Institutional Animal Care and Use Committee (IACUC) of Chongqing Medical University (approval number, IACUC-CQMU-2024-0643, 14 September 2024), and the experiment was monitored by the Animal Experiment Review Committee of Chongqing Medical University. Furthermore, all procedures complied with the National Institutes of Health guidelines for the care and use of laboratory animals.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article and Supplementary Materials; further inquiries can be directed to the corresponding author.

Acknowledgments

We thank the National Engineering Research Center of Ultrasonic Medicine for its support.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Liotta, E.M. Management of cerebral edema, brain compression, and intracranial pressure. CONTINUUM Lifelong Learn. Neurol. 2021, 27, 1172–1200. [Google Scholar] [CrossRef]
  2. Stocchetti, N.; Maas, A.I. Traumatic intracranial hypertension. N. Engl. J. Med. 2014, 370, 2121–2130. [Google Scholar] [CrossRef]
  3. Han, W.; Song, Y.; Rocha, M.; Shi, Y. Ischemic brain edema: Emerging cellular mechanisms and therapeutic approaches. Neurobiol. Dis 2023, 178, 106029. [Google Scholar] [CrossRef] [PubMed]
  4. Stokum, J.A.; Gerzanich, V.; Simard, J.M. Molecular pathophysiology of cerebral edema. J. Cereb. Blood Flow Metab. 2016, 36, 513–538. [Google Scholar] [CrossRef] [PubMed]
  5. Sulhan, S.; Lyon, K.A.; Shapiro, L.A.; Huang, J.H. Neuroinflammation and blood–brain barrier disruption following traumatic brain injury: Pathophysiology and potential therapeutic targets. J. Neurosci. Res. 2020, 98, 19–28. [Google Scholar] [CrossRef] [PubMed]
  6. Jha, R.M.; Kochanek, P.M.; Simard, J.M. Pathophysiology and treatment of cerebral edema in traumatic brain injury. Neuropharmacology 2019, 145, 230–246. [Google Scholar] [CrossRef]
  7. Hawryluk, G.W.; Citerio, G.; Hutchinson, P.; Kolias, A.; Meyfroidt, G.; Robba, C.; Stocchetti, N.; Chesnut, R. Intracranial pressure: Current perspectives on physiology and monitoring. Intensive Care Med. 2022, 48, 1471–1481. [Google Scholar] [CrossRef]
  8. Carney, N.; Totten, A.M.; O’Reilly, C.; Ullman, J.S.; Hawryluk, G.W.; Bell, M.J.; Bratton, S.L.; Chesnut, R.; Harris, O.A.; Kissoon, N. Guidelines for the management of severe traumatic brain injury. Neurosurgery 2017, 80, 6–15. [Google Scholar] [CrossRef]
  9. Lietke, S.; Zausinger, S.; Patzig, M.; Holtmanspötter, M.; Kunz, M. CT-Based Classification of Acute Cerebral Edema: Association with Intracranial Pressure and Outcome. J. Neuroimaging 2020, 30, 640–647. [Google Scholar] [CrossRef] [PubMed]
  10. Dai, M.; Wang, L.; Xu, C.; Li, L.; Gao, G.; Dong, X. Real-time imaging of subarachnoid hemorrhage in piglets with electrical impedance tomography. Physiol. Meas. 2010, 31, 1229. [Google Scholar] [CrossRef]
  11. Hackett, P.; Yarnell, P.; Weiland, D.; Reynard, K. Acute and evolving MRI of high-altitude cerebral edema: Microbleeds, edema, and pathophysiology. Am. J. Neuroradiol. 2019, 40, 464–469. [Google Scholar] [CrossRef] [PubMed]
  12. Thiagarajah, J.R.; Papadopoulos, M.C.; Verkman, A. Noninvasive early detection of brain edema in mice by near-infrared light scattering. J. Neurosci. Res. 2005, 80, 293–299. [Google Scholar] [CrossRef] [PubMed]
  13. Zhao, S.-L.; Jin, G.; Bai, Z.-L.; Chen, J.-B.; Li, M.-W.; Li, G.; Zhuang, W.; Liu, Y.-N.; Qin, M.-X. Twenty-four-hour real-time continuous monitoring of acute focal cerebral ischemia in rabbits based on magnetic inductive phase shift. BioMed. Eng. OnLine 2020, 19, 83. [Google Scholar] [CrossRef] [PubMed]
  14. Robba, C.; Goffi, A.; Geeraerts, T.; Cardim, D.; Via, G.; Czosnyka, M.; Park, S.; Sarwal, A.; Padayachy, L.; Rasulo, F. Brain ultrasonography: Methodology, basic and advanced principles and clinical applications. A narrative review. Intensive Care Med. 2019, 45, 913–927. [Google Scholar] [CrossRef]
  15. Maurer, M.; Shambal, S.; Berg, D.; Woydt, M.; Hofmann, E.; Georgiadis, D.; Lindner, A.; Becker, G. Differentiation between intracerebral hemorrhage and ischemic stroke by transcranial color-coded duplex-sonography. Stroke 1998, 29, 2563–2567. [Google Scholar] [CrossRef]
  16. Motuel, J.; Biette, I.; Srairi, M.; Mrozek, S.; Kurrek, M.M.; Chaynes, P.; Cognard, C.; Fourcade, O.; Geeraerts, T. Assessment of brain midline shift using sonography in neurosurgical ICU patients. Crit. Care 2014, 18, 676. [Google Scholar] [CrossRef]
  17. Bowler, A.L.; Pound, M.P.; Watson, N.J. A review of ultrasonic sensing and machine learning methods to monitor industrial processes. Ultrasonics 2022, 124, 106776. [Google Scholar] [CrossRef]
  18. Wang, X.; Guan, S.; Hua, L.; Wang, B.; He, X. Classification of spot-welded joint strength using ultrasonic signal time-frequency features and PSO-SVM method. Ultrasonics 2019, 91, 161–169. [Google Scholar] [CrossRef]
  19. Chen, C.; Zhang, X. Research on laser ultrasonic surface defect identification based on a support vector machine. Sci. Prog. 2021, 104, 00368504211059038. [Google Scholar] [CrossRef]
  20. Moradi, M.; Mousavi, P.; Siemens, D.; Sauerbrei, E.; Isotalo, P.; Boag, A.; Abolmaesumi, P. Discrete Fourier analysis of ultrasound RF time series for detection of prostate cancer. In Proceedings of the 2007 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Lyon, France, 22–26 August 2007; pp. 1339–1342. [Google Scholar]
  21. Liao, Z.; Zhang, Y.; Li, Z.; He, B.; Lang, X.; Liang, H.; Chen, J. Classification of red blood cell aggregation using empirical wavelet transform analysis of ultrasonic radiofrequency echo signals. Ultrasonics 2021, 114, 106419. [Google Scholar] [CrossRef]
  22. Uniyal, N.; Eskandari, H.; Abolmaesumi, P.; Sojoudi, S.; Gordon, P.; Warren, L.; Rohling, R.N.; Salcudean, S.E.; Moradi, M. Ultrasound RF time series for classification of breast lesions. IEEE Trans. Med. Imaging 2014, 34, 652–661. [Google Scholar] [CrossRef]
  23. Mörlein, D.; Rosner, F.; Brand, S.; Jenderka, K.-V.; Wicke, M. Non-destructive estimation of the intramuscular fat content of the longissimus muscle of pigs by means of spectral analysis of ultrasound echo signals. Meat Sci. 2005, 69, 187–199. [Google Scholar] [CrossRef] [PubMed]
  24. Schmid-Elsaesser, R.; Zausinger, S.; Hungerhuber, E.; Baethmann, A.; Reulen, H.-J. A critical reevaluation of the intraluminal thread model of focal cerebral ischemia: Evidence of inadvertent premature reperfusion and subarachnoid hemorrhage in rats by laser-Doppler flowmetry. Stroke 1998, 29, 2162–2170. [Google Scholar] [CrossRef] [PubMed]
  25. Koizumi, J. Experimental studies of ischemic brain edema. 1. A new experimental model of cerebral embolism in rats in which recirculation can be introduced in the ischemic area. Jpn. J. Stroke 1986, 8, 1–8. [Google Scholar] [CrossRef]
  26. Longa, E.Z.; Weinstein, P.R.; Carlson, S.; Cummins, R. Reversible middle cerebral artery occlusion without craniectomy in rats. stroke 1989, 20, 84–91. [Google Scholar] [CrossRef] [PubMed]
  27. Swanson, R.A.; Morton, M.T.; Tsao-Wu, G.; Savalos, R.A.; Davidson, C.; Sharp, F.R. A semiautomated method for measuring brain infarct volume. J. Cereb. Blood Flow Metab. 1990, 10, 290–293. [Google Scholar] [CrossRef]
  28. Al Shalabi, L.; Shaaban, Z.; Kasasbeh, B. Data mining: A preprocessing engine. J. Comput. Sci. 2006, 2, 735–739. [Google Scholar] [CrossRef]
  29. Kreft, B.; Tzschätzsch, H.; Shahryari, M.; Haffner, P.; Braun, J.; Sack, I.; Streitberger, K.-J. Noninvasive Detection of Intracranial Hypertension by Novel Ultrasound Time-Harmonic Elastography. Investig. Radiol. 2022, 57, 77–84. [Google Scholar] [CrossRef]
  30. Zhou, S.; Gao, X.; Park, G.; Yang, X.; Qi, B.; Lin, M.; Huang, H.; Bian, Y.; Hu, H.; Chen, X. Transcranial volumetric imaging using a conformal ultrasound patch. Nature 2024, 629, 810–818. [Google Scholar] [CrossRef]
  31. Winkler, E.A.; Minter, D.; Yue, J.K.; Manley, G.T. Cerebral edema in traumatic brain injury: Pathophysiology and prospective therapeutic targets. Neurosurg. Clin. 2016, 27, 473–488. [Google Scholar] [CrossRef]
  32. Zhu, L.; He, W.; Wu, J. Experimental Study of the Influence of Elastic Medium Deformation on Ultrasonic Propagation Characteristics. J. Exp. Mech. 2014, 29, 26–32. [Google Scholar]
  33. Fadhel, M.N.; Berndl, E.S.; Strohm, E.M.; Kolios, M.C. High-frequency acoustic impedance imaging of cancer cells. Ultrasound Med. Biol. 2015, 41, 2700–2713. [Google Scholar] [CrossRef] [PubMed]
  34. Ito, K.; Yoshida, K.; Maruyama, H.; Mamou, J.; Yamaguchi, T. Acoustic impedance analysis with high-frequency ultrasound for identification of fatty acid species in the liver. Ultrasound Med. Biol. 2017, 43, 700–711. [Google Scholar] [CrossRef] [PubMed]
  35. Meng, X.; Yi, Y.; Meng, Y.; Lv, G.; Jiang, X.; Wu, Y.; Yang, W.; Yao, Y.; Xu, H.; Bu, W. Self-enhanced acoustic impedance difference strategy for detecting the acidic tumor microenvironment. ACS Nano 2022, 16, 4217–4227. [Google Scholar] [CrossRef] [PubMed]
  36. Song, J.; Chen, R.; Yang, L.; Zhang, G.; Li, W.; Zhao, Z.; Xu, C.; Dong, X.; Fu, F. Electrical impedance changes at different phases of cerebral edema in rats with ischemic brain injury. BioMed Res. Int. 2018, 2018, 9765174. [Google Scholar] [CrossRef]
  37. Chen, J.; Li, G.; Liang, H.; Zhao, S.; Sun, J.; Qin, M. An amplitude-based characteristic parameter extraction algorithm for cerebral edema detection based on electromagnetic induction. BioMed Eng. OnLine 2021, 20, 74. [Google Scholar] [CrossRef]
  38. Zhang, Y.; Qi, X.; Li, W.; Wan, M.; Ning, X.; Hu, J. Research on the classification of early-stage brain edema by combining intrinsic optical signal imaging and laser speckle contrast imaging. J. Biophotonics 2024, 17, e202300394. [Google Scholar] [CrossRef]
  39. Kuts, R.; Frank, D.; Gruenbaum, B.F.; Grinshpun, J.; Melamed, I.; Knyazer, B.; Tarabrin, O.; Zvenigorodsky, V.; Shelef, I.; Zlotnik, A. A novel method for assessing cerebral edema, infarcted zone and blood-brain barrier breakdown in a single post-stroke rodent brain. Front. Neurosci. 2019, 13, 1105. [Google Scholar] [CrossRef]
  40. Shigeno, T.; Brock, M.; Shigeno, S.; Fritschka, E.; Cervós-Navarro, J. The determination of brain water content: Microgravimetry versus drying-weighing method. J. Neurosurg. 1982, 57, 99–107. [Google Scholar] [CrossRef]
  41. Keep, R.F.; Hua, Y.; Xi, G. Brain water content: A misunderstood measurement? Transl. Stroke Res. 2012, 3, 263–265. [Google Scholar] [CrossRef]
  42. Chadha, G.S.; Panambilly, A.; Schwung, A.; Ding, S.X. Bidirectional deep recurrent neural networks for process fault classification. ISA Trans. 2020, 106, 330–342. [Google Scholar] [CrossRef] [PubMed]
  43. Quddus, A.; Zandi, A.S.; Prest, L.; Comeau, F.J. Using long short term memory and convolutional neural networks for driver drowsiness detection. Accid. Anal. Prev. 2021, 156, 106107. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Flowchart of research framework: (a) acquisition of ultrasonic echoes from cerebral edema rats, (b) extraction, statistical analysis, and selection of ultrasonic features, (c) HE and TTC staining of cerebral edema rats, and (d) classification of cerebral edema types and prediction of cerebral infarction volume ratio.
Figure 1. Flowchart of research framework: (a) acquisition of ultrasonic echoes from cerebral edema rats, (b) extraction, statistical analysis, and selection of ultrasonic features, (c) HE and TTC staining of cerebral edema rats, and (d) classification of cerebral edema types and prediction of cerebral infarction volume ratio.
Brainsci 14 01175 g001
Figure 2. Boxplots of 16 features over time: (a) maximum, (b) minimum, (c) peak-to-peak, (d) absolute average, (e) variance, (f) standard deviation, (g) kurtosis, (h) skewness, (i) root mean square, (j) shape factor, (k) crest factor, (l) impulse factor, (m) mean magnitude in the frequency domain, (n) mean frequency, (o) total power, and (p) average power (*: p < 0.05, **: p < 0.01, ***: p < 0.001).
Figure 2. Boxplots of 16 features over time: (a) maximum, (b) minimum, (c) peak-to-peak, (d) absolute average, (e) variance, (f) standard deviation, (g) kurtosis, (h) skewness, (i) root mean square, (j) shape factor, (k) crest factor, (l) impulse factor, (m) mean magnitude in the frequency domain, (n) mean frequency, (o) total power, and (p) average power (*: p < 0.05, **: p < 0.01, ***: p < 0.001).
Brainsci 14 01175 g002aBrainsci 14 01175 g002b
Figure 3. Representative TTC staining of rat brain at nine time points from 0 h to 24 h.
Figure 3. Representative TTC staining of rat brain at nine time points from 0 h to 24 h.
Brainsci 14 01175 g003
Figure 4. Variations of cerebral infarction volume ratio over time.
Figure 4. Variations of cerebral infarction volume ratio over time.
Brainsci 14 01175 g004
Figure 5. Microscopic structure of representative cerebral edema tissue at (a) 0 h, (b) 3 h, (c) 9 h, and (d) 24 h under an upright microscope at 200×, respectively.
Figure 5. Microscopic structure of representative cerebral edema tissue at (a) 0 h, (b) 3 h, (c) 9 h, and (d) 24 h under an upright microscope at 200×, respectively.
Brainsci 14 01175 g005aBrainsci 14 01175 g005b
Figure 6. ROC curves of single and 16 features for cerebral edema classification using (a) SVM, (b) RF, (c) LogR, and (d) DT models.
Figure 6. ROC curves of single and 16 features for cerebral edema classification using (a) SVM, (b) RF, (c) LogR, and (d) DT models.
Brainsci 14 01175 g006aBrainsci 14 01175 g006b
Figure 7. Comparison of predictive performance, (a) MSE, (b), RMSE, (c) MAE, and (d) R2, of four models (SVM, RF, LR, and FNN) for cerebral infarction volume ratio.
Figure 7. Comparison of predictive performance, (a) MSE, (b), RMSE, (c) MAE, and (d) R2, of four models (SVM, RF, LR, and FNN) for cerebral infarction volume ratio.
Brainsci 14 01175 g007aBrainsci 14 01175 g007b
Figure 8. Prediction of cerebral infarction volume ratios using (a) SVM, (b) RF, (c) LR, and (d) FNN models. The dots represent the predicted or actual values, and the dashed lines represent the regression lines.
Figure 8. Prediction of cerebral infarction volume ratios using (a) SVM, (b) RF, (c) LR, and (d) FNN models. The dots represent the predicted or actual values, and the dashed lines represent the regression lines.
Brainsci 14 01175 g008
Table 1. Features of ultrasonic echo signal in the time and frequency domain.
Table 1. Features of ultrasonic echo signal in the time and frequency domain.
FeatureFormulaFeatureFormula
Maximum F 1 = m a x ( x ) Impulse factor F 12 = F 4 F 5
Minimum F 2 = m i n ( x ) Crest factor F 13 = F 4 F 10
Mean F 3 = 1 N i = 1 n x i Mean magnitude
in the frequency
domain
F 14 = 1 N i = 1 n A ( f i )
Peak-to-Peak F 4 = F 1 F 2 Centroid frequency F 15 = i = 1 n f i · A ( f i ) i = 1 n A ( f i )
Average F 5 = 1 N i = 1 n | x i | Mean squared frequency F 16 = i = 1 n f i 2 · A ( f i ) i = 1 n A ( f i )
Variance F 6 = 1 N 1 i = 1 n x i F 3 2 Variance frequency F 17 = F 16
Standard deviation F 7 = F 6 Frequency variance F 18 = i = 1 n ( f i F 15 ) 2 · A ( f i ) i = 1 n A ( f i )
Kurtosis F 8 = 1 N i = 1 n ( x i F 3 ) 4 F 7 4 Mean frequency F 19 = i = 1 n f i · P ( f i ) i = 1 n P ( f i )
Skewness F 9 = 1 N i = 1 n ( x i F 3 ) 3 F 7 3 Total power F 20 = i = 1 n P ( f i )
Root mean square F 10 = 1 N i = 1 n x i 2 Average power F 21 = 1 N i = 1 n P ( f i )
Shape factor F 11 = F 10 F 5 Peak frequency F 22 = f a r g m a x j P ( f j )
Table 2. Classification of cerebral edema using the four models.
Table 2. Classification of cerebral edema using the four models.
ModelACCAUCF1
SVM0.967 ± 0.0340.996 ± 0.0070.971 ± 0.029
RF0.979 ± 0.0190.996 ± 0.0050.982 ± 0.017
LogR0.972 ± 0.0300.997 ± 0.0050.975 ± 0.026
DT0.958 ± 0.0210.959 ± 0.0220.962 ± 0.018
Table 3. Predictive performance of four models for cerebral infarction volume ratio.
Table 3. Predictive performance of four models for cerebral infarction volume ratio.
ModelMSERMSEMAER2
SVM0.0061 ± 0.00080.0782 ± 0.00480.0632 ± 0.00540.8079 ± 0.0268
RF0.0038 ± 0.00060.0612 ± 0.00460.0379 ± 0.00350.8814 ± 0.0223
LR0.0059 ± 0.00090.0766 ± 0.00560.0616 ± 0.00560.8151 ± 0.0298
FNN0.0066 ± 0.00150.0808 ± 0.00910.0577 ± 0.00660.7929 ± 0.0506
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

Yang, S.; Yang, Y.; Zhou, Y. Non-Invasive Monitoring of Cerebral Edema Using Ultrasonic Echo Signal Features and Machine Learning. Brain Sci. 2024, 14, 1175. https://doi.org/10.3390/brainsci14121175

AMA Style

Yang S, Yang Y, Zhou Y. Non-Invasive Monitoring of Cerebral Edema Using Ultrasonic Echo Signal Features and Machine Learning. Brain Sciences. 2024; 14(12):1175. https://doi.org/10.3390/brainsci14121175

Chicago/Turabian Style

Yang, Shuang, Yuanbo Yang, and Yufeng Zhou. 2024. "Non-Invasive Monitoring of Cerebral Edema Using Ultrasonic Echo Signal Features and Machine Learning" Brain Sciences 14, no. 12: 1175. https://doi.org/10.3390/brainsci14121175

APA Style

Yang, S., Yang, Y., & Zhou, Y. (2024). Non-Invasive Monitoring of Cerebral Edema Using Ultrasonic Echo Signal Features and Machine Learning. Brain Sciences, 14(12), 1175. https://doi.org/10.3390/brainsci14121175

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