Azzera filtri
Azzera filtri

How to do real Time EEG seizure Detection/analysis?

17 visualizzazioni (ultimi 30 giorni)
Hello, I am writing a code that should be able to tell if a signal inputed into the code has a seizure or not. How can I change it so it analyses an eeg recording that may have seizures at some point and then give real time answer/showcases realtime if the current part of the recording has a seizure? I'm not sure where to get started and need some advice if possible.It may need some sort of window but i do not know how to go about it.

Risposta accettata

Image Analyst
Image Analyst il 11 Mag 2024
I suggest you first consult with your neurologist, or whatever medical professional hired you to do this, and have them identify normal and abnormal eeg signals. We cannot do that for you. We only help with MATLAB code, and perhaps some simple algorithm development.
I suspect you can use traditional signal analysis, or a deep learning approach. If you have some characteristics of the signal that can be readily identified from the signal(s) then perhaps a traditional signal analysis approach would be successful. If not, you could try deep learning but you'd need a neurologist to categorize hundreds of signals as normal or one of some number of abnormal states, after which you can use those categorizations to train a deep learning classification network.
Here are some articles that may help you with algorithms:
As far as real time analysis, I think you may need the Data Acquisition Toolbox to somehow input your signals from the EEG machine into your computer. I can't help with that part but there may be examples in that toolbox's documentation. You may have to first capture and then look at short time segments, like import 2 second segment of signal, then process that segment, then grab and analyze the next segment.
  4 Commenti
Tania Akhtar
Tania Akhtar il 12 Mag 2024
Thank you for the advice I've taken it into account, I've mostly finished the threshold code through amplitude differences and other features, and now I'm looking into using the buffer function for the real time simulation of the eeg bit since not sure the fread would be applicable.
Image Analyst
Image Analyst il 12 Mag 2024
I think you haven't looked into it enough. They do different things. From what I can see in the documentation buffer splits up a signal that is already in memory (already in a variable) into separate segments, so you need to have it already read in from disk. fread is the function that does the actual reading of the bytes into memory from a disk file. So you need fread. If you want to then use buffer on what fread retrieved from the file, then you can do that.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su EEG/MEG/ECoG in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by