Stroke classification using virtual hybrid edge detection from <i>in silico</i> electrical impedance tomography data

Juan Pablo Agnelli, Fernando Silva de Moura, Siiri Rautio, Melody Alsaker, Rashmi K. Murthy, Matti Lassas, Samuli SiltanenInverse 2025

Abstract

Electrical impedance tomography (EIT) combined with machine learning has shown promise for the classification of strokes. However, most previous works have used raw EIT voltage data as network inputs. We build upon a recent development which suggested the use of a special noise-robust virtual hybrid edge detection (VHED) functions computed from EIT data as network inputs, although that work used only simplified and mathematically ideal models. In this work, we design models with high detail and mathematical realism. Virtual patients are created using a physically detailed 2D head model which includes features known to create challenges in real-world imaging scenarios. Simulated noisy EIT electrode data, generated using the realistic complete electrode model as opposed to the mathematically ideal continuum model, is processed to obtain VHED functions. We compare the use of VHED functions as inputs against the alternative paradigm of using raw EIT voltages. Our results show that (ⅰ) stroke classification can be performed with high accuracy using 2D EIT data from physically detailed and mathematically realistic models, and (ⅱ) in the presence of noise, VHED functions outperform raw data as network inputs.

Introduction

In stroke treatment, "time is brain." Rapidly distinguishing between ischemic (clot-based) and hemorrhagic (bleed-based) strokes is critical, as the treatments for one can be fatal for the other. While CT and MRI are the gold standards, their lack of portability delays diagnosis until the patient reaches a hospital. Electrical Impedance Tomography (EIT) offers a potential portable solution by mapping internal conductivity via scalp electrodes. However, EIT signals are notoriously weak and easily obscured by the resistive skull and conductive cerebrospinal fluid (CSF). This paper demonstrates that pre-processing EIT data into "Virtual Hybrid Edge Detection" (VHED) functions significantly improves the accuracy and noise-robustness of machine learning models for stroke classification.

Methodology: Virtual Hybrid Edge Detection

The core innovation of this research is the use of VHED functions as inputs for a neural network. Instead of feeding raw voltage measurements directly into the model, the authors use Complex Geometrical Optics (CGO) solutions to transform EIT data into "virtual X-ray" profiles. These profiles effectively extract geometric "edges" or jump singularities in conductivity.

Conceptual diagram of Virtual Hybrid Edge Detection (VHED), where EIT data is transformed into virtual X-ray profiles along parallel lines.

To bridge the gap between mathematical theory and clinical reality, the study utilizes a sophisticated 2D head model with five distinct compartments (scalp, skull, CSF, white matter, and grey matter). They employ the Complete Electrode Model (CEM) to account for physical electrode-skin contact impedance. Furthermore, a conformal mapping procedure is used to translate measurements from a realistic elliptical head geometry to the mathematical unit disk required for VHED calculations.

Experimental Setup and Results

The researchers generated a dataset of 4,000 training samples and 3,000 test samples using the Finite Element Method (FEM). The test sets included circular inclusions, elliptical inclusions, and multiple disjoint inclusions to test the model's ability to generalize beyond its training data.

As shown in the VHED function visualizations below, the pre-processing step creates a distinct signal signature that corresponds to the physical boundaries of the stroke, regardless of its specific shape.

Visualization of VHED functions for different stroke geometries: (a) circular, (b) elliptical, and (c) multiple inclusions. The dashed lines indicate the 'edges' detected by the virtual X-rays.

Key results include:

  • Noise Robustness: At a realistic noise level ($δ = 10^{-2}$), VHED achieved 96.1% accuracy for circular strokes, outperforming raw voltage data (93.7%).
  • Generalization: When classifying elliptical strokes (unseen during training), VHED maintained 91.7% accuracy, while raw data performance dropped significantly.
  • High Specificity: VHED consistently provided higher specificity (often >97%), which is vital in clinical settings to avoid misidentifying a brain bleed as a clot.

Conclusion

This study proves that even with the "double shield" effect of the skull and CSF, EIT contains sufficient information for high-accuracy stroke classification when processed correctly. By using VHED functions, a simple neural network can achieve superior performance and robustness compared to models using raw data. While currently limited to 2D simulations, this work provides a promising foundation for developing portable, ambulance-ready stroke diagnostic tools.

Summary updated

BibTeX
@inproceedings{agnelli2025stroke,
  author = {Juan Pablo Agnelli and Fernando Silva de Moura and Siiri Rautio and Melody Alsaker and Rashmi K. Murthy and Matti Lassas and Samuli Siltanen},
  title = {{Stroke classification using virtual hybrid edge detection from \<i\>in silico\</i\> electrical impedance tomography data}},
  booktitle = {Inverse},
  year = {2025},
  doi = {10.3934/ipi.2025059},
}
Figure