Method and device for detecting epileptic seizure position, program and storage medium
By collecting and processing EEG signal data on the scalp of epilepsy patients, and using convolutional neural networks to detect epileptic seizure sites, it solves the problems of high cost and safety risks of traditional methods, and achieves simple and accurate detection of epileptic seizure sites and Visual analysis improves the accuracy of treatment.
Patent Information
- Application Number
- CN202410626946.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-17
AI Technical Summary
It is difficult for existing technology to provide an objective and reliable automated method to detect epileptic seizure sites or areas, especially due to the influence of individual differences and the experience of medical professionals. Traditional methods have problems of high cost and safety risks.
A convolutional neural network (CNN) based on scalp EEG signal data is used to detect epileptic seizure sites. Multi-channel signal data is collected by placing electrodes on the patient's scalp, divided into single-channel data, and CNN is used for preprocessing and detection. , to achieve independent detection of a single locus.
It achieves a simpler and safer detection of epileptic seizure sites compared to detection methods based on intracranial EEG signal data, improves the accuracy and reliability of detection, allows visual supervision and analysis of the epileptic seizure process, and enhances treatment accuracy.
Smart Images

Figure CN118648907A
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of artificial intelligence, and in particular to a method, device, program, and storage medium for detecting an epileptic seizure location. Background Art
[0002] Epilepsy is usually manifested as repetitive, transient and paroxysmal brain dysfunction caused by abnormal synchronous discharges of brain neurons. Medical professionals can determine the site or area of epileptic seizures based on their personal clinical experience and medical data such as electroencephalogram (EEG) and magnetic resonance imaging (MRI), and then diagnose and treat epilepsy.
[0003] Taking into account the individual differences among epilepsy patients and the experience levels of medical professionals, it is desirable to provide an objective and reliable automated (or at least partially automated) method to detect (or assist in detecting) epileptic seizure sites or areas. Summary of the invention
[0004] In a first aspect, a method for detecting an epileptic seizure location is disclosed. The method may include: obtaining first scalp electroencephalogram signal data about a first epilepsy detection site within a predetermined time period; and based on the first scalp electroencephalogram signal data, using a first convolutional neural network, detecting whether the first epilepsy detection site is an epileptic seizure site within the predetermined time period.
[0005] In some embodiments of the first aspect, the method may further include: obtaining second scalp EEG signal data about a second epilepsy detection site within the predetermined time period; and based on the second scalp EEG signal data, using a second convolutional neural network, detecting whether the second epilepsy detection site is an epileptic onset site within the predetermined time period.
[0006] In some embodiments of the first aspect, the second convolutional neural network and the first convolutional neural network may have the same structure and may be trained based on the same data set.
[0007] In some embodiments of the first aspect, the data used to train the first convolutional neural network may include intracranial electroencephalogram signal data during an epileptic seizure and scalp electroencephalogram signal data during a non-epilepsy seizure.
[0008] In some embodiments of the first aspect, the first convolutional neural network may include multiple one-dimensional convolutional layers and a flattening layer for performing one-dimensional conversion of data.
[0009] In some embodiments of the first aspect, the method may further include: when the first convolutional neural network (and / or the second convolutional neural network) is used to detect that the first epilepsy detection site (and / or the second epilepsy detection site) is an epilepsy onset site within the predetermined time period, visually marking the first epilepsy detection site (and / or the second epilepsy detection site) on the brain electrode distribution map.
[0010] In some embodiments of the first aspect, the method may further include: determining at least one predetermined area including an epileptic seizure site as an epileptic seizure area. For example, at least one predetermined area including an epileptic seizure site may be determined as an epileptic seizure area when a predetermined condition is met.
[0011] In a second aspect, a device for detecting an epileptic seizure location is disclosed. The device may include: a memory storing one or more instructions executable by a processor; and at least one processor implementing the method in one or more embodiments of the first aspect when executing the one or more instructions.
[0012] In a third aspect, a device for detecting epileptic seizure location is disclosed, wherein the device comprises one or more modules or circuits, wherein the one or more modules or circuits are configured to implement the operations of the method in one or more embodiments of the first aspect in an integrated or separate manner.
[0013] In a fourth aspect, a computer-readable storage medium is disclosed, on which a computer program is stored. When the computer program is executed, the method in one or more embodiments of the first aspect is implemented.
[0014] In a fifth aspect, a computer program is disclosed, which, when executed, implements the method in one or more embodiments of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 An exemplary architecture for detecting epileptic onset location according to an embodiment of the present disclosure is shown.
[0016] Figure 2 An example of a scalp EEG signal data acquirer according to an embodiment of the present disclosure is shown.
[0017] Figure 3 An example of a convolutional neural network according to an embodiment of the present disclosure is shown.
[0018] Figure 4 An example of visualization of an epileptic seizure process according to an embodiment of the present disclosure is shown.
[0019] Figure 5An example of visualization of an epileptic seizure process according to an embodiment of the present disclosure is shown.
[0020] Figure 6 An example of epilepsy onset area determination according to an embodiment of the present disclosure is shown.
[0021] Figure 7 An exemplary method of detecting an epileptic onset location according to an embodiment of the present disclosure is shown.
[0022] Figure 8 An exemplary apparatus for detecting an epileptic onset location according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0023] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. In the accompanying drawings, the same or corresponding parts are given the same symbols, and their description will not be repeated.
[0024] As mentioned above, objectively, reliably and accurately detecting the epileptic seizure location (e.g., one or more epileptic seizure sites, one or more epileptic seizure areas, etc.) is very important for the diagnosis and treatment of epilepsy. With the development of artificial intelligence technology, it can be considered to apply artificial intelligence technology to the detection of epileptic seizure location, thereby providing more objective, reliable and accurate detection results.
[0025] In some implementations, machine learning models or deep learning models can be trained to analyze intracranial electroencephalogram (iEEG) signals to identify the locations of epileptic seizures and non-seizures. However, when collecting iEEG signal data, electrodes are usually implanted into the internal brain area of the epileptic patient. Such a process often has high costs and is accompanied by potential risks such as bleeding and infection, and may even threaten the patient's life safety.
[0026] As a relatively simpler and safer way, scalp electroencephalogram (sEEG) signals can be collected, that is, multiple surface electrodes are placed on the patient's scalp to record brain electrical activity. In one or more embodiments of the present disclosure, it is considered to determine the epileptic seizure location based on sEEG signal data.
[0027] Figure 1 An exemplary architecture 100 for detecting epileptic seizure location based on sEEG signal data according to an embodiment of the present disclosure is shown, which may include a sEEG signal data acquirer 110 and at least one convolutional neural network (CNN) 120, 130...140.
[0028] In different embodiments, the exemplary architecture 100 may be implemented in any suitable manner such as hardware, software, or a combination of hardware and software to implement a device, chip, system, software, application, module, etc. for detecting the location of an epileptic seizure.
[0029] like Figure 1 As shown, at least one electrode can be placed at at least one epilepsy detection site (i.e., epilepsy detection site) on the patient's scalp in any appropriate manner. For example, at least one site 150, 152, ... 154 on the patient's scalp can be determined according to the international standard lead 10-20 system, and a corresponding electrode can be placed in an appropriate manner at each determined site, so that sEEG signal data 160 about at least one site 150, 152, ... 154 on the patient's scalp can be collected through the at least one placed electrode.
[0030] Then, the collected sEEG signal data 160 about at least one site (hereinafter also referred to as "multi-channel") can be provided to the sEEG signal data acquirer 110 in the exemplary architecture 100 through any appropriate means such as wired transmission, wireless transmission, disk, optical disk, etc.
[0031] The sEEG signal data acquirer 110 may be configured to divide the received multi-channel sEEG signal data 160 into at least one sEEG signal data about a single site (hereinafter also referred to as a “single channel”) according to the at least one site 150 , 152 . . . 154 .
[0032] It should be noted that, in this article, the term "multi-channel" does not mean that sEEG signal data about multiple sites must be included in the sEEG signal data 160. In some embodiments, only a single site for detecting epilepsy can be set, and sEEG signal data can be collected at the single site. In this case, the multi-channel sEEG signal data 160 is actually a single-channel sEEG signal data. Accordingly, in the sEEG signal data acquirer 110, the division operation can be omitted, and the received multi-channel sEEG signal data 160 can be directly used as a single-channel sEEG signal data.
[0033] In an embodiment of the present disclosure, the sEEG signal data of each single channel may be the potential difference between the potential detected by a single electrode placed at a corresponding single site and a predetermined common reference potential, rather than the potential difference between two different sites detected by two electrodes placed at two different sites (e.g., two electrodes placed at two adjacent sites). That is, in an embodiment of the present disclosure, the sEEG signal data of each single channel is determined based on the same common reference potential, so that the exemplary architecture 100 can detect whether epilepsy has occurred at a single site on the patient's scalp, that is, whether the single site is an epileptic seizure site.
[0034] Furthermore, the sEEG signal data acquirer 110 can also be configured to preprocess the sEEG signal data of each single channel obtained, so as to obtain corresponding sEEG signal data for each of the at least one site 150, 152...154 within a predetermined time period (for example, 1 second, 2 seconds, 5 seconds, 1 minute, 30 minutes, 1 hour, etc.).
[0035] For example, in Figure 1 In the example, sEEG signal data 112 may be sEEG signal data derived from multi-channel sEEG signal data 160 regarding site 150 within a predetermined time period, sEEG signal data 114 may be sEEG signal data derived from multi-channel sEEG signal data 160 regarding site 152 within a predetermined time period, sEEG signal data 116 may be sEEG signal data derived from multi-channel sEEG signal data 160 regarding site 154 within a predetermined time period, and so on.
[0036] Then, the sEEG signal data acquirer 110 may also be configured to provide the obtained at least one single-channel sEEG signal data 112, 114, ... 116 to the corresponding one of the at least one CNN 120, 130, ... 140 in the exemplary architecture 100, respectively.
[0037] exist Figure 1 In the example, the sEEG signal data acquirer 110 may provide sEEG signal data 112 about a site 150 within a predetermined time period to the CNN 120, may provide sEEG signal data 114 about a site 152 within a predetermined time period to the CNN 130, and may provide sEEG signal data 116 about a site 154 within a predetermined time period to the CNN 140, and so on.
[0038] For example, the number of CNNs configured in the exemplary architecture 100 may depend on at least one of the maximum number of electrodes that can be connected to the exemplary frame 100 and can be placed on the patient's scalp and the maximum number of predetermined points on the patient's scalp. For example, the number of CNNs configured in the exemplary architecture 100 may be the same as the maximum number of electrodes that can be connected to the exemplary frame 100 and can be placed on the patient's scalp, or may be the same as the maximum number of predetermined points on the patient's scalp. In other examples, the number of CNNs configured in the exemplary architecture 100 may also be more than the maximum number of electrodes that can be connected to the exemplary frame 100 and can be placed on the patient's scalp, or may be more than the maximum number of predetermined points on the patient's scalp.
[0039] Each CNN in the exemplary architecture 100 can be configured to detect whether the corresponding site is an epileptic seizure site within a predetermined time period based on the received sEEG signal data about the corresponding site within the predetermined time period.
[0040] For example, CNN 120 may be configured to detect whether site 150 is an epileptic seizure site within a predetermined time period based on sEEG signal data 112 from sEEG signal data acquirer 110 regarding site 150 within a predetermined time period; CNN 130 may be configured to detect whether site 152 is an epileptic seizure site within the predetermined time period based on sEEG signal data 114 from sEEG signal data acquirer 110 regarding site 152 within a predetermined time period; CNN 140 may be configured to detect whether site 154 is an epileptic seizure site within the predetermined time period based on sEEG signal data 116 from sEEG signal data acquirer 110 regarding site 154 within the predetermined time period; and so on.
[0041] Through the exemplary architecture 100, it is possible to detect whether epilepsy has occurred based on sEEG signal data, making the exemplary architecture 100 simpler and safer than the detection method based on iEEG signal data. In addition, the exemplary architecture 100 is based on the sEEG signal data of a single site on the patient's scalp within a predetermined time period, rather than based on the difference between sEEG signals at different sites on the patient's scalp, so that the exemplary architecture 100 can independently detect whether a single site is an epileptic seizure site within a predetermined time period, thereby allowing the seizure process of each site to be monitored, analyzed and visualized separately, so that medical professionals can more clearly understand the entire process of the patient's seizure starting, seizure enhancement, seizure gradual weakening until the end.
[0042] It should be understood that the present disclosure is not limited to Figure 1 For example, in another embodiment, each CNN in the exemplary architecture 100 may have another corresponding relationship with an electrode that can be placed on the patient's scalp or a predetermined location on the patient's scalp. In addition, the electrode that can be placed on the patient's scalp can also be a part of the exemplary architecture 100, for example, as a part of the sEEG signal data acquisition device 110. In addition, in the exemplary architecture 100, one or more hardware circuits or chips such as a multiply-accumulator (MAC) or a tensor processing unit (TPU) may also be included. Figure 1) so that the convolution operation in the at least one CNN is partially implemented by a hardware circuit. In addition, the sEEG signal data acquirer 110 can be configured to provide each of the sEEG signal data 112, 114...116 to the corresponding CNN 120, 130...140 in sequence, and can also be configured to provide each of the sEEG signal data 112, 114...116 to the corresponding CNN 120, 130...140 simultaneously or in parallel. More implementations of the exemplary architecture 100 will be described below.
[0043] Figure 2 An exemplary implementation of the sEEG signal data acquirer 110 according to an embodiment of the present disclosure is shown, which may include a data partitioning module 210 and a normalization module 220 .
[0044] like Figure 2 As shown, the data partitioning module 210 can be configured to separate the received multi-channel sEEG signal data 160 into at least one single-channel sEEG signal data according to the at least one site 150, 152...154. Further, the data partitioning module 210 can also be configured to divide each separated single-channel sEEG signal data into at least one segment according to a predetermined time period (e.g., 1 second, 2 seconds, 5 seconds, 1 minute, 30 minutes, 1 hour, etc.).
[0045] For example, the data segmentation module 210 may separate the sEEG signal data 211 collected by the electrode at the site 150 from the received sEEG signal data 160, and divide the sEEG signal data 211 into data segments 212, 213, etc. according to a predetermined time period of 1 second. In other words, the sEEG signal data 211 may correspond to the splicing of the data segments 212, 213, etc. in time order.
[0046] Then, the data partitioning module 210 may provide each data segment 212, 213, etc. to the standardization module 220 in time order. In another embodiment, each data segment 212, 213, etc. may carry corresponding timestamp information, and then the data partitioning module 210 may also provide each data segment 212, 213, etc. to the standardization module 220 in parallel or in other ways or orders.
[0047] Similarly, for example, the data segmentation module 210 can separate the sEEG signal data collected through the electrode at site 152 from the received sEEG signal data 160, divide the sEEG signal data about site 152 into data segments 214, etc. according to a predetermined time period of 1 second, and provide the data segments 214, etc. to the standardization module 220; the data segmentation module 210 can separate the sEEG signal data collected through the electrode at site 154 from the received sEEG signal data 160, divide the sEEG signal data about site 154 into data segments 216, etc. according to a predetermined time period of 1 second, and provide the data segments 216, etc. to the standardization module 220; and so on.
[0048] In some embodiments, for each single-channel sEEG signal data separated from the received sEEG signal data 160, the data segmentation module 210 can divide each single-channel sEEG signal data into at least one continuous data segment according to a predetermined time period of the same length (for example, 1 second, 5 seconds, 1 minute, etc.).
[0049] For example, data segments 212, 214, and 216 are all data segments with a duration of 1 second, or are all data segments with a duration of 30 seconds. Further, the sEEG signal data of each single channel can be divided into at least one continuous data segment from the same starting time point, so that, for example, data segments 212, 214, and 216 have the same starting time and ending time.
[0050] In another embodiment, in the data division module 210, different single-channel sEEG signal data may also be divided using different starting time points and time periods of different lengths.
[0051] Next, after receiving each data segment of each single-channel sEEG signal data from the data partitioning module 210, the standardization module 220 may perform standardization on each data segment. For example, in the standardization module 220, the Z-Score method may be used to scale the data segment to a form with a mean of 0 and a variance of 1 according to the following equation:
[0052] X'=(XM) / S (1)
[0053] Among them, X represents the eigenvalue in the original data sample, M represents the mean of the feature column corresponding to the eigenvalue, S represents the standard deviation of the feature column, and X' represents the standardized data.
[0054] exist Figure 2In the example, sEEG signal data 112 may be the result after data segment 212 is normalized, sEEG signal data 114 may be the result after data segment 214 is normalized, sEEG signal data 116 may be the result after data segment 216 is normalized, and so on.
[0055] It should be understood that the present disclosure is not limited to the implementation of the standardization module 220. In other embodiments, any other appropriate method may be used for standardization.
[0056] It should also be understood that the sEEG signal data acquirer 110 according to the embodiment of the present disclosure is not limited to Figure 2 An exemplary implementation is shown.
[0057] For example, the sEEG signal data acquirer 110 may further include a bandpass filter to perform bandpass filtering (e.g., 0.5-50 Hz, or further 0.53-40 Hz) on the multi-channel sEEG signal data 160 before dividing the multi-channel sEEG signal data 160 through the data dividing module 210. According to experimental results, using the bandpass filtered data can obtain more accurate detection results.
[0058] For example, in the sEEG signal data acquirer 110, a resampling module may be further provided between the data partitioning module 210 and the standardization module 220 so as to resample each data segment from the data partitioning module 210 according to a predetermined number of sampling points (e.g., 178 eigenvalues or 256 eigenvalues per second). In the case where an independent external device is used to collect the sEEG signal data 160, the number of sampling points of the sEEG signal data 160 may be different depending on the configuration of the external device used. By providing a resampling module between the data partitioning module 210 and the standardization module 220, the data can be unified, thereby improving processing efficiency and the accuracy of the detection results.
[0059] As described above, the sEEG signal data acquirer 110 can provide the sEEG signal data (or data segments) (for example, sEEG signal data 112 or 114 or 116, etc.) obtained from the sEEG signal data 160 about a specific site (for example, site 150 or 152 or 154, etc.) within a predetermined time period to the corresponding CNN (for example, CNN 120 or 130 or 140, etc.) respectively, so as to detect whether the specific site is an epileptic seizure site within the predetermined time period.
[0060] Figure 3An exemplary structure 300 of CNN 120 according to an embodiment of the present disclosure is shown. In some embodiments, CNN 130, CNN 140, etc. may be implemented using a structure that is the same as or similar to the exemplary structure 300 of CNN 120.
[0061] like Figure 3 As shown, the exemplary structure 300 of CNN 120 may include three convolutional layers 310, 320 and 330 for extracting features from sEEG signal data 112. For example, each of the convolutional layers 310, 320 and 330 may use 20 convolution kernels of size 5×1 to perform a convolution operation on the input data, and the step may be 1×1. The output of each convolutional layer may be activated using a Relu activation function. In addition, after each convolutional layer, a dropout layer may be set. For example, a dropout layer with a parameter of 0.5 may be set to randomly drop the outputs of 50% of the neurons.
[0062] Furthermore, the exemplary structure 300 of CNN 120 may further include a pooling layer 340. For example, the pooling layer 340 may be a maximum pooling layer with a pooling window size of 2. By maximizing the feature value, the dimension of the convolution layer output can be reduced, and overfitting of the model can be prevented.
[0063] After the pooling layer 340, the exemplary structure 300 of the CNN 120 may further include a flattening layer 350 and a fully connected layer 360. The flattening layer 350 may be used to perform a one-dimensional transformation of the data, such as flattening the data into a one-dimensional vector. The fully connected layer 360 may include, for example, 50 neurons and may use a ReLU activation function for further extracting and combining features.
[0064] exist Figure 3 In the example of , the output layer 370 of the exemplary structure 300 of CNN 120 can be a fully connected layer with 1 neuron, and a Sigmoid activation function can be used to make a binary classification prediction on "whether it is an epileptic seizure site".
[0065] The threshold for binary classification prediction can be set as needed. For example, the threshold can be set to 0.5, and if the output probability is less than or equal to 0.5, it means "no" (i.e., "no epilepsy" or "not an epilepsy seizure site"), and if the probability is greater than 0.5, it means "yes" (i.e., "epilepsy" or "is an epilepsy seizure site").
[0066] As described above, CNN 130, CNN 140, etc. in the exemplary architecture 100 may be implemented using a structure that is the same as or similar to the exemplary structure 300 of CNN 120. In another embodiment, one or more of CNN 130, CNN 140, etc. may also be implemented using a structure different from the exemplary structure 300 of CNN 120.
[0067] In addition, Figure 3 In the example of , CNN 120 includes multiple one-dimensional convolutional layers. Alternatively, in other embodiments, one or more of CNN 120, CNN 130, CNN 140, etc. may also include one or more two-dimensional convolutional layers. Accordingly, the data 112, 114, 116, etc. provided as input to each CNN may be in the form of a two-dimensional picture such as a waveform.
[0068] Considering that the data set that can provide single-channel sEEG signal data during epileptic seizures is very limited, in one embodiment, instead of single-channel sEEG signal data during epileptic seizures, single-channel iEEG signal data during epileptic seizures and single-channel sEEG signal data during non-epilepsy seizures can be used to train the neural network. Figure 1 CNN 120, CNN 130, CNN 140, etc. in the architecture 100 in the example. As a result, the cost and workload of model training can be reduced. For example, a large amount of tedious work for preparing a data set of sEEG signal data during a single-channel epileptic seizure can be omitted.
[0069] In another embodiment, the sEEG signal data of a single channel during an epileptic attack may also be used for training. In addition, it is also possible to consider using the iEEG signal data of a single channel when there is no epileptic attack for training, for example, using at least one of the iEEG signal data of a single channel when there is no epileptic attack and the iEEG signal data of a single channel during an epileptic attack, and at least one of the sEEG signal data of a single channel when there is no epileptic attack and the sEEG signal data of a single channel during an epileptic attack for training.
[0070] The same or different datasets may be used for training CNN 120, CNN 130, CNN 140, etc. in architecture 100. For example, the UCI epilepsy seizure identification dataset prepared by the Department of Epilepsy at the University of Bonn, Germany (hereinafter referred to as the "UCI dataset") may be used to train each of CNN 120, CNN 130, CNN 140, etc. in architecture 100.
[0071] For example, the data in the UCI dataset can be provided to the sEEG signal data acquirer 110 of the exemplary architecture 100, and then the sEEG signal data acquirer 110 provides the processed data to each CNN (120, 130, 140, etc.). In addition, in training, any suitable optimizer and / or loss function can be selected. For example, the adaptive moment estimation (Adaptive Moment Estimation, Adam) optimizer and the binary cross entropy loss function can be used for training.
[0072] In order to verify the accuracy and reliability of the exemplary architecture 100 for detecting epileptic seizure locations according to an embodiment of the present disclosure, an experiment was conducted using an epilepsy clinical dataset containing 21 detection sites actually collected in a hospital. The results showed that the accuracy of the exemplary architecture 100 was 99.04%, the sensitivity was 98.49%, and the specificity was 99.18%, which indicates that the exemplary architecture 100 or each CNN in the exemplary architecture 100 has excellent accuracy and reliability for independently evaluating whether a single site has an epileptic seizure, thereby allowing visualization of the epileptic seizure process.
[0073] Figure 4 and Figure 5 An example of visualization of an epileptic seizure process according to an embodiment of the present disclosure is shown. In this example, the exemplary architecture 100 may further include a visualization controller 400 for performing visualization control. In addition, the exemplary architecture 100 may further include an interface for connecting to an external display, or may include a display.
[0074] exist Figure 4 and Figure 5 In the example, 21 sites are set on the patient's head according to the international standard lead 10-20 system, and are marked as Fp1, F7, Pz, etc. in the international standard lead 10-20 system brain electrode distribution map (hereinafter referred to as "distribution map") 410. Accordingly, at least 21 CNNs are set in the exemplary architecture 100, including CNN 120, CNN 130, CNN 140, etc., wherein each CNN corresponds to one of the aforementioned 21 sites, for example, CNN 120 can correspond to site Fp1, CNN 130 can correspond to site F7, CNN 140 can correspond to site Pz, and so on.
[0075] like Figure 4As shown, the collected multi-channel sEEG signal data 160 includes 21 single-channel sEEG signal data collected at the 21 set sites respectively, for example, including sEEG signal data 420 collected at site Fp1, sEEG signal data 430 collected at site F7, sEEG signal data 440 collected at site Pz, etc.
[0076] The multi-channel sEEG signal data 160 may then be provided to the sEEG signal data acquirer 110 in the exemplary architecture 100 .
[0077] In the sEEG signal data acquirer 110, the multi-channel sEEG signal data 160 can be separated into 21 single-channel sEEG signal data, and preprocessing can be performed on each single-channel sEEG signal data, including dividing it into at least one data segment according to a time period of predetermined length and standardizing each data segment.
[0078] For example, in the sEEG signal data acquirer 110, the sEEG signal data 420 collected at the site Fp1 can be separated from the multi-channel sEEG signal data 160, and the single-channel sEEG signal data 420 about the site Fp1 can be divided into at least one data segment according to a time period of 1 second, and then each data segment can be subjected to standardization and other processing to obtain at least one sEEG signal data 112 about the site Fp1.
[0079] Then, the sEEG signal data acquirer 110 may provide the obtained at least one sEEG signal data 112 about the site Fp1 to the corresponding CNN 120 , for example, in time order.
[0080] exist Figure 4 In the example, the CNN 120 detects that no epilepsy occurs at the site Fp1 within a time period of 1 second corresponding to the sEEG signal data 112 based on the sEEG signal data 112 about the site Fp1, and the detection result can be provided to the visualization controller 400.
[0081] Based on the output result from CNN 120 indicating that site Fp1 is not an epileptic seizure site during a time period of 1 second corresponding to sEEG signal data 112, visualization controller 400 can keep unchanged the initial image features (e.g., initial color, brightness, text, border, etc.) at the position of Fp1 in distribution diagram 400 displayed in the display, thereby visually indicating that site Fp1 is not an epileptic seizure site during this time period.
[0082] For example, in parallel with the processing of the sEEG signal data 420 collected at site Fp1, in the sEEG signal data acquirer 110, the sEEG signal data 430 collected at site F7 separated from the multi-channel sEEG signal data 160 can be divided into at least one data segment according to a time period of 1 second, and then standardization and other processing can be performed on each data segment to obtain at least one sEEG signal data 114 about site F7.
[0083] Then, the sEEG signal data acquirer 110 may provide the obtained at least one sEEG signal data 114 about the site F7 to the corresponding CNN 130 , for example, in chronological order.
[0084] exist Figure 4 In the example of FIG. 4 , CNN 130 detects that epilepsy occurs at site F7 within a time period of 1 second corresponding to sEEG signal data 114 based on sEEG signal data 114 regarding site F7, and the detection result may be provided to visualization controller 400 .
[0085] Based on the output result from CNN 130 indicating that site F7 is the epileptic seizure site within a time period of 1 second corresponding to sEEG signal data 114, visualization controller 400 can change the image features at the position of F7 in distribution diagram 400 displayed on the display (e.g., changing color, brightness, text, border, etc.), thereby visually indicating that site F7 is the epileptic seizure site within the time period.
[0086] For example, in parallel with the processing of the sEEG signal data 420 collected at the site Fp1 and / or the sEEG signal data 430 collected at the site F7, in the sEEG signal data acquirer 110, the sEEG signal data 440 collected at the site Pz separated from the multi-channel sEEG signal data 160 may be processed similarly to the sEEG signal data 420 and / or the sEEG signal data 430, thereby obtaining at least one sEEG signal data 116 about the site Pz, etc. Then, the sEEG signal data acquirer 110 may provide the obtained at least one sEEG signal data 116 about the site Pz, etc. to the corresponding CNN 140, for example, in chronological order.
[0087] exist Figure 4 In the example, the CNN 140 detects that no epilepsy occurs at the site Pz within a time period of 1 second corresponding to the sEEG signal data 116 based on the sEEG signal data 116 about the site Pz, and the detection result can be provided to the visualization controller 400.
[0088] Based on the output result from CNN 140 indicating that site Pz is not an epileptic seizure site during a time period of 1 second corresponding to sEEG signal data 116, visualization controller 400 can keep the initial image features (e.g., initial color, brightness, text, border, etc.) at the position of Pz in distribution diagram 400 unchanged, thereby visually indicating that site Pz is not an epileptic seizure site during this time period.
[0089] Furthermore, the patient's epileptic seizure situation can be visually monitored based on the collected sEEG signal data 160 .
[0090] For example, in Figure 4 and Figure 5 In the example of FIG. 4 , the distribution graph 410 shows the epileptic seizure situation at each of the 21 predetermined epilepsy detection sites within a time period of 1 second. Figure 5 As shown, distribution graph 500 displays the epileptic seizure conditions at various sites within the time period of 1 second immediately after the time corresponding to distribution graph 410, distribution graph 510 displays the epileptic seizure conditions at various sites within the time period of 1 second immediately after the time corresponding to distribution graph 500, distribution graph 520 displays the epileptic seizure conditions at various sites within the time period of 1 second immediately after the time corresponding to distribution graph 510, distribution graph 530 displays the epileptic seizure conditions at various sites within the time period of 1 second immediately after the time corresponding to distribution graph 520, and so on.
[0091] In one embodiment, the distribution graphs 410, 500, 510, 520, 530, etc. may be displayed simultaneously in time sequence. In another embodiment, a dynamic image may be generated and displayed according to the distribution graphs 410, 500, 510, 520, 530, etc. in time sequence.
[0092] As a result, it is possible to visualize the seizure conditions at each predetermined site within each predetermined time period (for example, 1 second, 5 seconds, etc.) during an epileptic seizure, thereby more clearly displaying the patient's condition.
[0093] In addition, if Figure 6 As shown, the exemplary architecture 100 may also include an onset area detector 600 for automatically and preliminarily locating the epileptic onset area of the patient.
[0094] In one embodiment, the seizure area detector 600 can be configured to determine at least one predetermined area containing at least one epileptic seizure site (for example, the left hemisphere of the brain, the right hemisphere of the brain, both hemispheres of the brain, the frontal lobe area of the right hemisphere of the brain, the frontal lobe area of the left hemisphere of the brain, etc.) as an epileptic seizure area.
[0095] For example, Figure 6 As shown in the distribution diagram 610 in FIG. 1 , according to the sEEG signal data 160, the exemplary architecture 100 detects that the epileptic seizure sites include sites A1, F7, T3, F3, C3, etc. located in the left hemisphere of the brain and sites F4, C4, P4, etc. located in the right hemisphere of the brain. Thus, the seizure region detector 600 can determine that the epileptic seizure region is the two hemispheres of the brain including the left hemisphere and the right hemisphere of the brain, and can determine that multiple sites located in multiple regions of the brain become epileptic seizure sites at the same time or almost at the same time, thereby further determining that the patient's epileptic seizure type is a generalized seizure.
[0096] Furthermore, if Figure 6 As shown, the attack area detector 600 can notify the visualization controller 400 of the detection result (see Figure 4 ), and the visualization controller 400 controls the distribution map 610 to visually mark the epileptic seizure area by means of shadows, highlights, borders, texts, etc. Further, the visualization controller 400 can also control the distribution map 610 to visually display the epileptic seizure type of the patient by means of texts or icons, etc.
[0097] As described above, the exemplary architecture 100 for detecting epileptic seizure locations based on sEEG signal data according to an embodiment of the present disclosure is based on sEEG signal data about a single site on the patient's scalp within a predetermined time period, rather than based on the difference between sEEG signals at different sites on the patient's scalp, so that the exemplary architecture 100 can independently detect whether a single site is an epileptic seizure site within a predetermined time period, thereby allowing the seizure process of each site to be visually monitored and analyzed. This visualization enables medical professionals to more intuitively and clearly grasp the entire process of the patient's seizure onset, seizure enhancement, seizure gradual weakening until it is about to end, and can further accurately determine the scope of the epileptic seizure area, so as to more effectively provide personalized treatment plans for epilepsy patients, and increase the accuracy and effectiveness of surgical resection of epileptic lesions.
[0098] Figure 7 An exemplary method 700 for detecting an epileptic onset location according to an embodiment of the present disclosure is shown, and the exemplary method 700 may include:
[0099] Step 710, obtaining information about the first epilepsy detection site (eg, Figure 1 150, 152, 154, etc.) within a predetermined time period (e.g., 1 second, 2 seconds, 5 seconds, 30 seconds, 1 minute, etc.); and
[0100] Step 720: Based on the first scalp EEG signal data, use a first convolutional neural network (e.g., one of CNN120, 130, 140, etc.) to detect whether the first epilepsy detection site is an epilepsy onset site within the predetermined time period.
[0101] In some embodiments, the exemplary method 700 may further include: obtaining information about a second epilepsy detection site (eg, Figure 1 and detecting, based on the second scalp EEG signal data, whether the second epilepsy detection site is an epileptic seizure site within the predetermined time period using a second convolutional neural network (e.g., another one of CNN 120, 130, 140, etc.).
[0102] Through this exemplary method 700, it is possible to detect whether epilepsy has occurred based on sEEG signal data, which is simpler and safer than the detection method based on iEEG signal data. In addition, this exemplary method 700 is based on sEEG signal data about a single site on the patient's scalp within a predetermined time period, rather than based on the difference between sEEG signals at different sites on the patient's scalp, so that it is possible to independently detect whether a single site is an epileptic seizure site within a predetermined time period, thereby allowing the seizure process of each site to be monitored, analyzed and visualized separately, so that medical professionals can more clearly understand the entire process of the patient's seizure onset, seizure enhancement, seizure gradual weakening until it is about to end.
[0103] In some embodiments of the exemplary method 700, the second convolutional neural network and the first convolutional neural network may have the same structure and be trained based on the same data set.
[0104] In some embodiments of the exemplary method 700, the data used to train the first convolutional neural network may include intracranial EEG signal data during an epileptic seizure and scalp EEG signal data during a non-epilepsy seizure.
[0105] In some embodiments of the exemplary method 700, at least one of the first convolutional neural network and the second convolutional neural network may include a plurality of one-dimensional convolutional layers and a flattening layer for performing one-dimensional conversion of data.
[0106] In some embodiments, the exemplary method 700 may also include: when the first convolutional neural network (and / or the second convolutional neural network) is used to detect that the first epilepsy detection site (and / or the second epilepsy detection site) is an epilepsy onset site within the predetermined time period, visually marking the first epilepsy detection site (and / or the second epilepsy detection site) on the brain electrode distribution map.
[0107] In some embodiments, the exemplary method 700 may further include: determining at least one predetermined region including an epileptic seizure site as an epileptic seizure region. For example, at least one predetermined region including an epileptic seizure site may be determined as an epileptic seizure region when a predetermined condition is met.
[0108] As described above, in various embodiments, Figure 1 The exemplary architecture 100 shown can be implemented in hardware, software, or a combination of hardware and software, so as to realize a device, system, software, or module that can be used to detect the location of epileptic seizures. Figure 1 The illustrated exemplary architecture 100 may also be referred to as an exemplary apparatus 100 or an exemplary system 100 for detecting epileptic onset location.
[0109] Figure 8 Another exemplary apparatus 800 for detecting epileptic seizure location according to an embodiment of the present disclosure is shown, and the exemplary apparatus 800 may include one or more processors 810. According to different embodiments, the one or more processors 810 may include a central processing unit (CPU) or other types or forms of processing units with data processing capabilities and / or instruction execution capabilities.
[0110] like Figure 8 As shown, the exemplary apparatus 800 may further include a memory 820, in which one or more instructions 830 are stored that can be executed by at least the one or more processors 810. When the one or more instructions 830 are executed by the one or more processors 810, the operations or steps in the exemplary method 700 described above are implemented.
[0111] According to different embodiments, the memory 820 may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0112] In addition, the exemplary apparatus 800 may also include input devices, output devices, and various interfaces (not shown), and these devices and interfaces may be interconnected through a bus system and / or other forms of connection mechanisms. According to different embodiments, the input device may include, for example, a keyboard, a mouse, a touch screen, etc., the output device may include, for example, a display, a speaker, a printer, etc., and the various interfaces may include wired or wireless interfaces for connecting or communicating with other external devices or networks, etc.
[0113] In different embodiments, the exemplary device 800 may be a personal computer, a network server, a mobile phone, a smart terminal, etc.
[0114] In addition to the above-mentioned methods and apparatus, embodiments of the present disclosure may also include a computer program product, which includes computer program instructions, which, when executed by a processor, cause the processor to perform the steps of at least one of the exemplary methods according to embodiments of the present disclosure.
[0115] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations in the method of an embodiment of the present disclosure. The programming language may include an object-oriented programming language, such as Java, C++, Python, etc., and also includes a conventional procedural programming language, such as the "C" language or a similar programming language. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0116] In addition, embodiments of the present disclosure may also include a computer-readable storage medium, such as a computer-readable non-temporary storage medium, on which program instructions are stored, which, when executed by a processor, cause the processor to perform the steps of at least one of the exemplary methods of embodiments of the present disclosure.
[0117] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. Examples of readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0118] The basic principle of the present disclosure is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the aforementioned details do not limit the present disclosure to the necessity of adopting the aforementioned specific details to be implemented.
[0119] The block diagrams of the devices, apparatuses, equipment, and systems involved in the present disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The word "such as" used here refers to the phrase "such as but not limited to", and can be used interchangeably with it.
[0120] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0121] In this document, modifiers such as "first", "second", etc. without quantifiers are intended to distinguish different elements / components / circuits / modules / devices / steps, and are not used to emphasize the order, positional relationship, importance, priority, etc. In contrast, modifiers such as "first", "second", etc. with quantifiers can be used to emphasize the order, positional relationship, importance, priority, etc. of different elements / components / circuits / modules / devices / steps.
[0122] The above description is given for the purpose of illustration and description. This description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A method for detecting an epileptic seizure location, comprising: obtaining first scalp electroencephalogram signal data about a first epilepsy detection site within a predetermined time period; as well as Based on the first scalp EEG signal data, a first convolutional neural network is used to detect whether the first epilepsy detection site is an epilepsy onset site within the predetermined time period.
2. The method of claim 1, further comprising: obtaining second scalp electroencephalogram signal data about a second epilepsy detection site within the predetermined time period; as well as Based on the second scalp EEG signal data, a second convolutional neural network is used to detect whether the second epilepsy detection site is an epileptic seizure site within the predetermined time period.
3. The method of claim 2, wherein: The second convolutional neural network and the first convolutional neural network have the same structure and are trained based on the same data set.
4. The method according to any one of claims 1 to 3, wherein: The data used to train the first convolutional neural network include intracranial electroencephalogram signal data during an epileptic seizure and scalp electroencephalogram signal data during a non-epilepsy seizure.
5. The method according to any one of claims 1 to 4, wherein: The first convolutional neural network includes multiple one-dimensional convolutional layers and a flattening layer for performing one-dimensional conversion of data.
6. The method according to any one of claims 1 to 5, further comprising: In the case where the first convolutional neural network is used to detect that the first epilepsy detection site is an epilepsy onset site within the predetermined time period, the first epilepsy detection site is visually marked on the brain electrode distribution map.
7. The method according to any one of claims 1 to 6, further comprising: At least one predetermined area including an epileptic seizure onset site is determined as an epileptic seizure onset area.
8. A device for detecting epileptic seizure location, comprising: a memory storing one or more instructions executable by the processor; as well as At least one processor implements the operations in the method of any one of claims 1 to 7 when executing the one or more instructions.
9. A computer-readable storage medium having a computer program or instruction stored thereon, wherein the computer program or instruction, when executed by a processor, implements the operations in the method according to any one of claims 1 to 7.
10. A computer program product, comprising a computer program or instructions, which, when executed by a processor, implement the operations in the method of any one of claims 1 to 7.
