Unilateral Spatial Neglect (USN) is a neuropsychological disorder commonly resulting from right hemisphere brain damage, leading to impaired awareness of stimuli on the left side of space. It significantly affects patient autonomy and rehabilitation outcomes. Traditional therapies such as Visual Scanning Training (VST) and Prism Adaptation (PA) lack standardization and objective diagnostic tools. This paper presents a computer-based system designed to support both diagnosis and therapy of USN. The system uses a 5-meter LED strip to deliver spatially distributed visual stimuli and records patient responses via a physical button. Reaction times and detection data are stored in a local database, enabling objective assessment and personalized therapy planning. The system architecture is modular, based on Clean Architecture principles, and implemented in C++20 on a Raspberry Pi 5 microcomputer. The graphical interface is built using GTKmm 4.0. Therapy sessions follow VST methodology. They include tracking moving stimuli, using visual anchors, and increasing stimulus density. Preliminary trials confirm the system’s ability to differentiate neglect symptoms and support individualized therapy. Its portability, modularity, and integration of diagnostic and therapeutic functions make it a promising tool for clinical neurorehabilitation. Further validation and development are planned to support broader clinical adoption.
References
[1] Armstrong C. L., Morrow L. (eds): Handbook of Medical Neuropsychology. Applications of Cognitive Neuroscience. Springer, New York 2010 [https://doi.org/10.1007/978-1-4419-1364-7].
[2] Berlucchi G., Vallar G.: The history of the neurophysiology and neurology of the parietal lobe. Handb Clin Neurol. 151, 2018, 3–30 [https://doi.org/10.1016/b978-0-444-63622-5.00001-2].
[3] Corbetta M. et al.: Neural basis and recovery of spatial attention deficits in spatial neglect. Nat Neurosci. 8(11), 2005, 1603–1610 [https://doi.org/10.1038/nn1574].
[4] Iglberger K.: C++ Software Design: Design Principles and Patterns for High-Quality Software O'Reilly Media 2022.
[5] Jodzio K. et al.: Cerebral blood flow in patients with various symptoms of hemispatial neglect following ischemic stroke. Neurologia i Neurochirurgia Polska 38(5), 2004, 381–388.
[6] Kleinman J. T. et al.: Right hemispatial neglect: frequency and characterization following acute left hemisphere stroke. Brain Cogn. 64(1), 2007, 50–59 [https://doi.org/10.1016/j.bandc.2006.10.005].
[7] Koch G, Veniero D, Caltagirone C.: To the other side of the neglected brain: the hyperexcitability of the left intact hemisphere. Neuroscientist 19, 2013, 208–217 [https://doi.org/10.1177/1073858412447874].
[8] Konkel M. et al.: Hemispatial neglect in brain stroke patients – review of physical therapy approaches. Forum Medycyny Rodzinnej 9(5), 2015, 405–415.
[9] Martin R. C.: Clean Architecture: A Craftsman's Guide to Software Structure and Design. Prentice Hall 2017.
[10] Polanowska K., Seniów J.: Clinical picture and diagnostics of unilateral neglect syndrome. Med Rehabil 9(3), 2005, 3–12.
[11] Polanowska K.: Differentiating spatial neglect from primary sensory-motor deficits. Neuropsychiatry and Neuropsychology 18(3), 2023, 182–193 [https://doi.org/10.5114/nan.2023.134155].
[12] Ringman J. M. et al.: Frequency, risk factors, anatomy, and course of unilateral neglect in an acute stroke cohort. Neurology 63(3), 2004, 468–474 [https://doi.org/10.1212/01.wnl.0000133011.10689.ce].
[13] Robertson I. H., Halligan P. W.: Spatial neglect: A clinical handbook for diagnosis and treatment. Psychology Press. Taylor & Francis Hove, East Sussex, UK 1999.
[14] Salatino A. et al.: Virtual reality rehabilitation for unilateral spatial neglect: A systematic review of immersive, semi-immersive and non-immersive techniques. Neuroscience and Biobehavioral Reviews 152, 2023, 105248 [https://doi.org/10.1016/j.neubiorev.2023.105248].
[15] Seniów J. (ed.): Terapia neuropsychologiczna dorosłych chorych z uszkodzeniem mózgu. Instytut Psychiatrii i Neurologii, Warszawa 2019.
[16] Vallar G., Calzolari E.: Unilateral spatial neglect after posterior parietal damage. Handb Clin Neurol. 151, 2018, 287–312 [https://doi.org/10.1016/b978-0-444-63622-5.00014-0].
[17] Vallar G.: Extrapersonal visual unilateral spatial neglect and its neuroanatomy. NeuroImage 14(1), 2001, S52–S58 [https://doi.org/10.1006/nimg.2001.0822].
[18] White E.: Making Embedded Systems: Design Patterns for Great Software. O'Reilly Media 2024.
[19] Raspberry Pi Foundation Raspberry Pi Overview. https://www.raspberrypi.com/documentation/computers/raspberry-pi.html (available: 10.08.2025).
[20] Raspberry Pi Foundation Operating System. https://www.raspberrypi.com/documentation/computers/os.html (available: 10.08.2025).
[21] gtkmm Project gtkmm 4.0 C++ Reference Manual. https://gnome.pages.gitlab.gnome.org/gtkmm-documentation (available: 10.08.2025).
[22] SQLite Home Page. https://sqlite.org/ (available: 10.08.2025).
[23] Worldsemi: WS2812B – Intelligent Control LED Datasheet. https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf (available: 16.10.2025).