CN114869301A - Method and apparatus for detecting epileptiform discharges - Google Patents
Method and apparatus for detecting epileptiform discharges Download PDFInfo
- Publication number
- CN114869301A CN114869301A CN202210367395.3A CN202210367395A CN114869301A CN 114869301 A CN114869301 A CN 114869301A CN 202210367395 A CN202210367395 A CN 202210367395A CN 114869301 A CN114869301 A CN 114869301A
- Authority
- CN
- China
- Prior art keywords
- frequency
- time
- segments
- signal
- signal sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/369—Electroencephalography [EEG]
- A61B5/372—Analysis of electroencephalograms
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/369—Electroencephalography [EEG]
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/40—Detecting, measuring or recording for evaluating the nervous system
- A61B5/4076—Diagnosing or monitoring particular conditions of the nervous system
- A61B5/4094—Diagnosing or monitoring seizure diseases, e.g. epilepsy
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- Veterinary Medicine (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Neurology (AREA)
- Public Health (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Neurosurgery (AREA)
- Psychiatry (AREA)
- Psychology (AREA)
- Physiology (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
Description
技术领域technical field
本申请涉及信号处理,特别地,涉及在脑电图信号中检测癫痫样放电的方法、设备以及计算机存储介质。The present application relates to signal processing, and in particular, to methods, apparatus, and computer storage media for detecting epileptiform discharges in electroencephalographic signals.
背景技术Background technique
脑电图是常用于记录人类大脑皮层产生的电活动的信号数据形式。脑电图信号所具有的高时间分辨率,无创性和低成本的特点,使得其广泛被应用于具有癫痫病灶的患者的术前评估中。在长时程脑电图信号记录中,癫痫发作期在时间上仅占脑电图信号的很小一部分,实际上患者在监测过程中更多时间处于癫痫不发作的状态(即发作间期)。An EEG is a form of signal data commonly used to record electrical activity produced by the human cerebral cortex. The high temporal resolution, non-invasiveness and low cost of EEG signals make it widely used in the preoperative evaluation of patients with epilepsy lesions. In the long-term EEG signal recording, the seizure period only accounts for a small part of the EEG signal in time. In fact, the patient spends more time in a state of seizure-free (ie, interictal) during the monitoring process. .
发作间期的癫痫样放电的检测对于癫痫综合征的判断、病灶定位等有很重要的参考作用。目前,长时程脑电图信号中是否包含癫痫样放电信息的分析判断工作由医生观察并基于经验给出诊断意见来完成。这种人工方式费时费力。The detection of epileptiform discharges between seizures is very important for the judgment of epilepsy syndrome and the localization of lesions. At present, the analysis and judgment of whether the long-term EEG signal contains epileptiform discharge information is completed by the doctor's observation and diagnosis based on experience. This manual method is time-consuming and labor-intensive.
此外,传统的棘波信号检测方案敏感性较低、误检率较高,并且无法精确到具体导联通道上。传统方案对于信号中的生理波形也没有进行针对性排除。In addition, the traditional spike detection scheme has low sensitivity, high false detection rate, and cannot be accurate to specific lead channels. The traditional scheme does not specifically exclude the physiological waveform in the signal.
因此,存在对从发作间期的脑电图信号中检测癫痫样放电的方案进行改进的需求。Therefore, there is a need for improved protocols for the detection of epileptiform discharges from interictal EEG signals.
发明内容SUMMARY OF THE INVENTION
为了解决上述至少一个问题,本申请的实施例提出在脑电图信号中检测癫痫样放电的自动化方案。In order to solve at least one of the above problems, embodiments of the present application propose an automated solution for detecting epileptiform discharges in EEG signals.
根据本申请的一方面,提出一种用于检测癫痫样放电的方法,包括:获取患者在癫痫发作间期的脑电图信号,其中脑电图信号包括在至少一个导联通道上的一个或多个信号片段,每个信号片段包括一个或多个信号子片段;对信号子片段进行特征匹配以识别存在癫痫样放电的信号子片段;以及确定癫痫样放电的统计数据。According to an aspect of the present application, a method for detecting epileptiform discharges is proposed, comprising: acquiring an electroencephalogram signal of a patient between seizures, wherein the electroencephalogram signal includes one or more on at least one lead channel Each signal segment includes one or more signal sub-segments; feature matching is performed on the signal sub-segments to identify signal sub-segments with epileptiform discharges; and statistics of epileptiform discharges are determined.
根据本申请的另一方面,提出一种计算机可读存储介质,其上存储有计算机程序,该计算机程序包括可执行指令,当该可执行指令被处理器执行时,执行根据如上所述的方法。According to another aspect of the present application, a computer-readable storage medium is proposed on which a computer program is stored, the computer program comprising executable instructions that, when executed by a processor, perform the method according to the above .
根据本申请的又一方面,提出一种电子设备,包括处理器;以及存储器,用于存储所述处理器的可执行指令;其中,处理器被配置为执行所述可执行指令以实施根据如上所述的方法。According to yet another aspect of the present application, an electronic device is provided, including a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to implement the above the method described.
根据本申请的实施例的在脑电图信号中检测癫痫样放电的方案,相比通过医生对脑电图信号的人工观察来诊断患者的癫痫发作情况的常用方案,引入自动化的脑电图信号检测方法,可以作为计算机辅助检测工具输出与患者在发作间期监测的脑电图信号中是否存在癫痫样放电相关的检测结果和指标,定量统计数据并采用可视化等呈现方式以便于医生参考,有效降低医务人员的工作量和误检概率并提高诊断效率。同时,本申请的自动化检测方案可以精确到脑电图信号的具体导联通道,并基于累积的历史数据优化和更新检测标准和模板,进一步提高检测的准确性和速度。According to the scheme of detecting epileptiform discharges in EEG signals according to the embodiments of the present application, compared with the common scheme of diagnosing epileptic seizures of patients by manual observation of EEG signals by doctors, automated EEG signals are introduced The detection method can be used as a computer-aided detection tool to output the detection results and indicators related to the presence of epileptiform discharges in the EEG signals monitored by the patient during the interictal period, quantitative statistical data and visualized presentation methods for the reference of doctors, effective Reduce the workload of medical staff and the probability of false detection and improve the efficiency of diagnosis. At the same time, the automated detection scheme of the present application can be accurate to the specific lead channel of the EEG signal, and optimize and update detection standards and templates based on accumulated historical data, further improving the accuracy and speed of detection.
附图说明Description of drawings
通过参照附图详细描述其示例性实施例,本申请的上述和其它特征及优点将变得更加明显。The above and other features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the accompanying drawings.
图1为根据本申请的实施例的检测癫痫样放电的方法的示意性流程。FIG. 1 is a schematic flowchart of a method for detecting epileptiform discharges according to an embodiment of the present application.
图2为根据本申请的实施例的在脑电图信号中识别癫痫样放电的信号波形处理的对比图。FIG. 2 is a comparison diagram of signal waveform processing for identifying epileptiform discharges in an electroencephalogram signal according to an embodiment of the present application.
图3为根据本申请的实施例的用于时频匹配的示例性时频模板。FIG. 3 is an exemplary time-frequency template for time-frequency matching according to an embodiment of the present application.
图4为根据本申请的实施例的基于癫痫样放电的识别结果的统计数据的示例性可视化呈现。FIG. 4 is an exemplary visual presentation of statistics based on identification results of epileptiform discharges according to embodiments of the present application.
图5为根据本申请的实施例的电子设备的示意性结构框图。FIG. 5 is a schematic structural block diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例性实施例。然而,示例性实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施方式;相反,提供这些实施方式使得本申请的内容变得全面和完整,并将示例性实施例的构思全面地传达给本领域的技术人员。在图中,为了清晰,可能会夸大部分元件的尺寸或加以变形。在图中相同的附图标记表示相同或类似的结构,因而将省略它们的详细描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Exemplary embodiments can, however, be embodied in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will provide exemplary embodiments The concept will be fully conveyed to those skilled in the art. In the drawings, the size of most elements may be exaggerated or deformed for clarity. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed descriptions will be omitted.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本申请的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而不必包括所述特定细节中的一个或更多,或者可以采用其它的方法、元件等实践本申请提出的技术方案。在其它情况下,不详细示出或描述公知结构、方法或者操作以避免模糊本申请的各方面。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present application. However, those skilled in the art will realize that the technical solutions of the present application may be practiced without including one or more of the specific details, or other methods, elements, etc. may be adopted to practice the technical solutions of the present application. In other instances, well-known structures, methods, or operations are not shown or described in detail to avoid obscuring aspects of the application.
在临床上使用脑电设备(例如脑电放大器)采集患者的脑电图EEG信号。人的脑电图信号的基本节律由对应于不同频率的δ波和θ波、α波和β波等信号部分组成,通常不存在尖波或棘波或者尖波或棘波不明显。脑电图信号中的棘波是一种突发、一过性的波动波形,一般持续20-70ms。棘波的主要成分为负相,波幅多变。典型的棘波上升沿波形陡峭,下降沿可有坡度。棘波多为病理性脑电波形,常见于局限性癫痫、癫痫大发作、肌阵挛性发作、间脑癫痫等。因此,脑电图信号中的棘波波形可以用于检测与癫痫病灶相关的信息。尖波也是一种突发性的波动波形,但是相比持续时间较短(例如在20-70ms中的一过性时间期间)的棘波,尖波的波动持续时间相对较长。癫痫疾病的发作时和发作间期中,病理性脑电波形不仅会产生棘波或尖波的对应变化,还可以产生例如包括棘慢波和尖慢波的慢波波形的对应变化。因此,癫痫病灶相关的癫痫样放电可以通过脑电图信号中的棘波波形、尖波波形、以及诸如棘慢波和尖慢波的慢波的波形进行检测。在实际的脑电图信号的读图诊断中,这四种癫痫样放电相关波形占到癫痫样放电的大部分情况。脑电图信号中的癫痫样放电相关的波形在本文中被称为与癫痫症状或病灶相关的异常放电(波形)。Electroencephalogram (EEG) signals of patients are collected clinically using EEG equipment (eg, EEG amplifiers). The basic rhythm of the human EEG signal is composed of signal parts such as delta wave and theta wave, alpha wave and beta wave corresponding to different frequencies, usually there is no sharp wave or spike wave or the sharp wave or spike wave is not obvious. The spike in the EEG signal is a sudden, transient wave waveform, generally lasting 20-70ms. The main component of spike waves is negative phase, and the amplitude is variable. A typical spike has a steep rising edge and can have a slope on its falling edge. Spike waves are mostly pathological EEG waveforms, which are common in localized epilepsy, grand mal seizures, myoclonic seizures, and diencephalic epilepsy. Therefore, spike waveforms in EEG signals can be used to detect information related to epileptic foci. A spike is also a bursty fluctuating waveform, but the fluctuating duration of a spike is relatively long compared to a spike that is short in duration (eg, during a transient period of 20-70 ms). During the seizure and interictal period of epilepsy, the pathological EEG waveform not only produces corresponding changes of spike waves or sharp waves, but also can produce corresponding changes of slow wave waveforms including, for example, spike and slow waves and sharp and slow waves. Thus, epileptiform discharges associated with epileptic lesions can be detected by spike waveforms, spike waveforms, and waveforms of slow waves such as spike-slow waves and sharp-slow waves in the EEG signal. In the actual reading diagnosis of EEG signals, these four types of epileptiform discharge-related waveforms account for most of the epileptiform discharges. The waveforms associated with epileptiform discharges in the EEG signal are referred to herein as abnormal discharges (waveforms) associated with epileptic symptoms or lesions.
在使用满足临床标准的脑电放大器采集脑电图信号时,将电极放置在人的头部表面。电极在人体体表(头部)的放置位置以及电极与脑电信号放大器的连接方式称为脑电图的导联。脑电图的导联包括多个导联通道。例如,10-20导联系统具有19个导联通道,其中Fp1和Fp2导联通道检测左侧和右侧额头的脑电图EEG信号,Cz导联通道检测头顶的脑电图EEG信号,此外还有F7,F8导联通道等。Electrodes are placed on the surface of a person's head when acquiring EEG signals using an EEG amplifier that meets clinical standards. The placement of the electrodes on the body surface (head) of the human body and the connection between the electrodes and the EEG signal amplifier are called the leads of the EEG. The leads of an EEG include multiple lead channels. For example, a 10-20 lead system has 19 lead channels, in which the Fp1 and Fp2 lead channels detect EEG EEG signals on the left and right forehead, the Cz lead channel detects EEG signals on the top of the head, and There are also F7, F8 lead channels, etc.
下面结合图1说明根据本申请的实施例的检测癫痫样放电的方法的示例过程。An example process of the method for detecting epileptiform discharges according to an embodiment of the present application is described below with reference to FIG. 1 .
方法首先在步骤S110获取所采集的脑电图EEG信号。脑电放大器的采样率范围在200~1000Hz。脑电放大器的导联通道数在16-32个之间。在本申请的实施例中,部分导联通道是没有检测信号的参考导联通道,实际上存在EEG信号的检测信号的导联通道有19个。在临床上,脑电图信号的监测时长通常在2小时左右或更长的时间,其目的在于期望能检测到癫痫发作时的EEG信号。针对癫痫发作间期的脑电图信号自动化监测无需等待到癫痫发作的出现,因此可以采用更短的监测时长,例如30分钟,15分钟,10分钟或更短的时间段。The method first acquires the acquired EEG signal in step S110. The sampling rate of the EEG amplifier ranges from 200 to 1000 Hz. The number of lead channels of an EEG amplifier is between 16-32. In the embodiment of the present application, some lead channels are reference lead channels without detection signals. Actually, there are 19 lead channels with detection signals of EEG signals. Clinically, the monitoring time of EEG signal is usually about 2 hours or longer, and its purpose is to detect the EEG signal during epileptic seizure. Automated monitoring of EEG signals between seizures does not need to wait until the onset of seizures, so shorter monitoring durations such as 30 minutes, 15 minutes, 10 minutes or less can be used.
为了便于处理,在本申请的实施例所述的方案中,脑电图EEG信号按照每个导联通道,被分割为具有相同时间长度的信号片段。例如,信号片段的时间长度可以选择为30秒,1分钟,2分钟或更长的长度。也可以选择比30秒更短的时间长度,例如20秒,10秒等。这样,每个导联通道上的脑电图EEG信号包括一个或多个信号片段。本领域技术人员应当理解,在信号处理过程中对脑电图EEG信号分割为多个信号片段的操作的目的在于便于信号分析和处理(例如相关阈值的确定)。在实际操作中,也可以不对脑电图信号进行分割而直接按照所关注的信号片段的持续时间长度选择连续的脑电图EEG信号中的相应部分进行计算和分析。In order to facilitate processing, in the solution described in the embodiments of the present application, the EEG signal of the electroencephalogram is divided into signal segments with the same time length according to each lead channel. For example, the time length of the signal segment can be selected to be 30 seconds, 1 minute, 2 minutes or more in length. It is also possible to choose a shorter time length than 30 seconds, such as 20 seconds, 10 seconds, etc. In this way, the EEG signal on each lead channel includes one or more signal segments. Those skilled in the art should understand that the purpose of segmenting the EEG signal into a plurality of signal segments in the signal processing process is to facilitate signal analysis and processing (eg, determination of relevant thresholds). In actual operation, the EEG signal may not be segmented, but the corresponding part of the continuous EEG signal may be directly selected for calculation and analysis according to the duration of the signal segment of interest.
获取患者的脑电图信号后,可以在步骤S120中对脑电图信号的原始波形数据进行预处理操作。预处理操作主要用于降噪、降低处理数据量从而提高检测速度以及提高检测精度等。After acquiring the EEG signal of the patient, a preprocessing operation may be performed on the original waveform data of the EEG signal in step S120. The preprocessing operation is mainly used to reduce noise, reduce the amount of processed data to improve the detection speed and improve the detection accuracy.
预处理步骤S120可以包括降低采样频率的子步骤S121,移除工频干扰的子步骤S122,移除基线漂移干扰的子步骤S123,移除肌电干扰的子步骤S124,屏蔽故障导联通道的子步骤S125,重参考处理子步骤S126,以及移除伪差数据的子步骤S127。可以选择子步骤S121至S127中的一个或多个进行预处理,并且在执行过程中可以根据需求调整这些子步骤的顺序。The preprocessing step S120 may include a sub-step S121 of reducing the sampling frequency, a sub-step S122 of removing power frequency interference, a sub-step S123 of removing baseline drift interference, a sub-step S124 of removing myoelectric interference, and shielding the faulty lead channel. Sub-step S125, re-reference processing sub-step S126, and sub-step S127 of removing artifact data. One or more of the sub-steps S121 to S127 may be selected for preprocessing, and the order of these sub-steps may be adjusted according to requirements during the execution process.
降低采样频率的子步骤S121例如可以将脑电放大器的采样率从500Hz以上降低到200Hz左右。在检测癫痫样放电的过程中,降低对所采集的脑电图EEG信号的采样频率可以加快计算速度。癫痫样放电检测的采样频率一般可以降低到脑电放大器的采样频率的1/2或更低。但是,根据检测精度的要求,检测频率也应当足够高。在本申请的实施例中,将癫痫样放电检测的采样频率设置为150Hz以上,例如200Hz。The sub-step S121 of reducing the sampling frequency may, for example, reduce the sampling rate of the EEG amplifier from more than 500 Hz to about 200 Hz. In the process of detecting epileptiform discharges, reducing the sampling frequency of the acquired EEG signals can speed up the calculation. The sampling frequency of epileptiform discharge detection can generally be reduced to 1/2 or lower of the sampling frequency of the EEG amplifier. However, according to the requirements of detection accuracy, the detection frequency should also be high enough. In the embodiment of the present application, the sampling frequency of epileptiform discharge detection is set to be more than 150 Hz, for example, 200 Hz.
移除工频干扰的子步骤S122用于将脑电图信号中来自电力系统的干扰消除。电力系统的频率一般是50Hz或60Hz,因此可以设计工作频率为50Hz以及50Hz的整数倍数的陷波滤波器来移除工频噪声。The sub-step S122 of removing power frequency interference is used to eliminate the interference from the power system in the EEG signal. The frequency of the power system is generally 50Hz or 60Hz, so a notch filter with an operating frequency of 50Hz and an integer multiple of 50Hz can be designed to remove power frequency noise.
基线漂移干扰来自患者的缓慢动作等,例如患者移动身体导致的电极移位。基于经验,基线漂移的频率一般不超过0.5Hz,因此可以在子步骤S123中采用工作频率为0.5Hz的高通滤波器移除基线漂移干扰。Baseline drift disturbances come from slow movements of the patient, etc., such as electrode displacement caused by the patient moving the body. Based on experience, the frequency of baseline drift generally does not exceed 0.5 Hz, so in sub-step S123, a high-pass filter with an operating frequency of 0.5 Hz can be used to remove baseline drift interference.
肌电干扰例如包括患者咬牙齿时肌肉用力产生的干扰,其必然存在于脑电图EEG信号中。肌电信号(EMG)是众多肌纤维中运动单元动作电位(MUAP)在时间和空间上的叠加。表面肌电信号(SEMG)是浅层肌肉EMG和神经干上电活动在皮肤表面的综合效应,能在一定程度上反映神经肌肉的活动,因此脑电放大器在检测脑电图EEG信号时也会将肌电信号一并采集。肌电干扰信号通常为频率较高的信号,结合脑电图中与癫痫样放电相关的棘波或尖波频率,可以在子步骤S124中设计工作频率为70Hz的低通滤波器来移除肌电干扰。EMG disturbances include, for example, disturbances produced by the patient's clenching of the teeth, which must be present in the EEG signal of the electroencephalogram. Electromyography (EMG) is the temporal and spatial superposition of motor unit action potentials (MUAPs) in numerous muscle fibers. Surface electromyography (SEMG) is the combined effect of superficial muscle EMG and nerve trunk electrical activity on the skin surface, which can reflect neuromuscular activity to a certain extent. The EMG signals were collected together. The EMG interference signal is usually a signal with a higher frequency. Combined with the spike or sharp wave frequency related to epileptiform discharge in the EEG, a low-pass filter with a working frequency of 70 Hz can be designed in sub-step S124 to remove the EMG. electrical interference.
子步骤S125涉及设备的故障检测和处理。脑电设备在使用时可能存在部分导联通道故障。当发现某些导联通道出现故障而没有EEG信号波形时,可以在子步骤S125中对故障的导联通道进行屏蔽或替代。Sub-step S125 relates to equipment failure detection and processing. There may be some lead channel failures when EEG equipment is in use. When it is found that some lead channels are faulty and there is no EEG signal waveform, the faulty lead channels may be masked or replaced in sub-step S125.
子步骤S126中的重参考处理涉及基于参考信号对脑电图EEG信号的校准。可以将多个或全部导联通道上检测的EEG信号进行平均来作为参考信号。所有导联通道上的检测信号减去所计算的参考信号可以消除在所有导联通道上都存在的共有误差。例如,患者的左额头的导联通道上可能存在癫痫样放电,而右额头的导联通道上不存在癫痫样放电,重参考处理可以移除两个导联通道上共同存在的误差信号而不会影响各自导联通道上的癫痫样放电的检测结果。The re-referencing process in sub-step S126 involves calibration of the EEG signal based on the reference signal. The EEG signals detected on multiple or all lead channels can be averaged as a reference signal. Subtracting the calculated reference signal from the detected signal on all lead channels removes the common error present on all lead channels. For example, a patient may have epileptiform discharges on the lead channel on the left forehead but not on the lead channel on the right Detection of epileptiform discharges on lead channels.
子步骤S127中的移除伪差数据操作用于消除EEG信号中具有明显噪声的伪差。伪差是所检测的EEG脑电信号中与真实的脑电图信号明显不同的偏差成分,属于超过预设阈值的明显误差。在EEG信号的某个或多个导联通道上都可能存在伪差。例如,波幅过大的脑电图的信号片段通常认为是由于电极脱落等导致的信号干扰,或者由于患者在脑电图监测时的大幅度动作带来的生理伪差。根据经验,可以将信号幅度在300uV以上的脑电图信号片段认定为存在伪差的信号片段而不予检测。对于伪差数据的移除可以通过将存在伪差的信号片段丢弃来完成。The removal of artifact data operation in sub-step S127 is used to remove artifacts with significant noise in the EEG signal. Artifacts are deviation components in the detected EEG signals that are significantly different from the real EEG signals, and belong to obvious errors exceeding a preset threshold. Artifacts may be present on one or more lead channels of the EEG signal. For example, EEG signal segments with excessive amplitude are usually considered to be signal interference caused by electrode falling off, or physiological artifacts caused by patients' large-scale movements during EEG monitoring. According to experience, EEG signal segments with signal amplitudes above 300uV can be identified as signal segments with artifacts and not detected. The removal of the artifact data can be done by discarding the signal segment with the artifact.
经过预处理后,方法在步骤S140中对信号片段进行特征匹配,识别存在癫痫样放电的信号片段。After preprocessing, the method performs feature matching on the signal segments in step S140 to identify signal segments with epileptiform discharges.
在执行特征匹配之前,可以包括对信号片段进行初筛的步骤S130以减少特征匹配的运算量。根据脑电图信号中的棘波或尖波存在超出背景信号的高频信号能量的特点,可以将正常EEG信号作为背景信号对信号片段进行初筛。根据本申请的实施例,对预处理后的脑电图信号进行滤波得到频率在10-40Hz的高频脑电图信号SH。对于成人来说,癫痫样放电在14-40Hz之间存在高频突出超过阈值的棘波或尖波波形,而儿童的癫痫样放电的频率会稍低,因此选择10-40Hz频率范围的脑电波形进行滤波和初筛。Before the feature matching is performed, a step S130 of preliminarily screening the signal segments may be included to reduce the computational complexity of the feature matching. According to the characteristic that the spikes or sharp waves in the EEG signal have high-frequency signal energy that exceeds the background signal, the normal EEG signal can be used as the background signal for preliminary screening of signal fragments. According to the embodiment of the present application, the preprocessed EEG signal is filtered to obtain a high-frequency EEG signal SH with a frequency of 10-40 Hz. For adults, epileptiform discharges have high-frequency spikes or sharp waveforms between 14-40Hz, and the frequency of epileptiform discharges in children is slightly lower, so EEGs in the 10-40Hz frequency range are selected. The waveform is filtered and initially screened.
基于高频脑电图信号SH计算对应的高频能量EH。例如,高频能量EH可以计算为高频脑电图信号SH的平方。一般来说,高频能量EH超过阈值的信号片段可能包括癫痫样放电之外的其他放电情况,但是不存在癫痫样放电的信号片段的高频能量必然不超过阈值。对于脑电图信号的某个信号片段,该信号片段包括n个信号子片段,假设信号子片段i(i为整数并且0<i≤n)的高频能量为EHi,则信号子片段i所属的信号片段的高频能量阈值可以通过下式计算:The corresponding high frequency energy E H is calculated based on the high frequency EEG signal SH . For example, the high frequency energy E H can be calculated as the square of the high frequency EEG signal SH . Generally speaking, signal segments with high frequency energy E H exceeding the threshold may include other discharges than epileptiform discharges, but the high frequency energy of signal segments without epileptiform discharges must not exceed the threshold. For a certain signal segment of the EEG signal, the signal segment includes n signal sub-segments, assuming that the high-frequency energy of the signal sub-segment i (i is an integer and 0<i≤n) is E Hi , then the signal sub-segment i The high-frequency energy threshold of the associated signal segment can be calculated by:
Threshold=mean(EHi)+std(EHi)Threshold=mean(E Hi )+std(E Hi )
其中,Threshold为信号子片段i所属的信号片段的高频能量阈值,mean(EHi)为信号片段内的所有信号子片段i的高频能量EHi的平均值,std(EHi)为信号片段内的所有信号子片段i的高频能量EHi的标准差。Among them, Threshold is the high-frequency energy threshold of the signal segment to which the signal sub-segment i belongs, mean(E Hi ) is the average value of the high-frequency energy E Hi of all the signal sub-segments i in the signal segment, and std(E Hi ) is the signal Standard deviation of the high frequency energy E Hi of all signal sub-segments i within a segment.
如果信号片段所包含的信号子片段中至少存在一个信号子片段使得该信号子片段的高频能量超过所属信号片段的相应阈值的情况,则该信号片段中的高频能量超过相应阈值的信号子片段被保留以进行下一步处理。此时经过初筛的信号片段所包括的信号子片段均是高频能量超过相应阈值的信号子片段。如果信号片段所包含的所有信号子片段的高频能量都不超过该信号片段的阈值,则这些信号子片段不存在癫痫样放电而被筛除,也即该信号片段被筛除。应当理解的是,可以针对每个信号片段,使用信号片段内的所有信号子片段的高频能量值按照上文中的公式计算信号片段的高频能量阈值,并将该信号片段内的每个信号子片段的高频能量与该信号片段的高频能量阈值进行比较来完成这个信号片段内的信号子片段的过滤和初筛。根据本申请的实施例,经过步骤130初筛后的信号以信号子片段为单位进行后续的特征匹配。If there is at least one signal sub-segment in the signal sub-segment included in the signal segment, so that the high-frequency energy of the signal sub-segment exceeds the corresponding threshold of the signal segment to which it belongs, then the signal sub-segment whose high-frequency energy in the signal segment exceeds the corresponding threshold Fragments are preserved for further processing. At this time, the signal sub-segments included in the pre-screened signal segments are all signal sub-segments whose high-frequency energy exceeds the corresponding threshold. If the high-frequency energy of all signal sub-segments included in the signal segment does not exceed the threshold value of the signal segment, these signal sub-segments do not have epileptiform discharges and are eliminated, that is, the signal segment is eliminated. It should be understood that, for each signal segment, the high-frequency energy thresholds of all signal sub-segments in the signal segment can be used to calculate the high-frequency energy threshold of the signal segment according to the above formula, and each signal in the signal segment can be calculated as The high-frequency energy of the sub-segment is compared with the high-frequency energy threshold of the signal segment to complete the filtering and preliminary screening of the signal sub-segments within the signal segment. According to the embodiment of the present application, the signal after preliminary screening in step 130 is subjected to subsequent feature matching in units of signal sub-segments.
初筛信号片段的步骤S130用于减少进行特征匹配的信号子片段的数量,在后续的处理步骤中,仍然使用基于全部频率的原始脑电图EEG信号或经预处理的EEG信号的经初筛的信号子片段来检测癫痫样放电。The step S130 of preliminarily screening the signal segments is used to reduce the number of signal sub-segments for feature matching. In the subsequent processing steps, the primary screening based on the original EEG EEG signals of all frequencies or the preprocessed EEG signals is still used. signal subsegments to detect epileptiform discharges.
接下来,方法进入步骤S140以对所筛选出的可能存在癫痫样放电的信号子片段进行特征匹配。Next, the method proceeds to step S140 to perform feature matching on the screened signal sub-segments that may have epileptiform discharges.
特征匹配可以基于信号子片段的信号特征与特征模板的比较完成。信号特征包括波形特征和时频特征,因此特征匹配具体可以包括波形特征与相应波形模板的波形匹配和/或时频特征与相应时频模板的时频匹配。如图所示,特征匹配包括基于信号子片段的波形特征进行波形匹配的子步骤S141和基于信号子片段的时频特征进行时频匹配的子步骤S142。Feature matching can be done based on a comparison of the signal features of the signal sub-segments with feature templates. Signal features include waveform features and time-frequency features, so feature matching may specifically include waveform matching between waveform features and corresponding waveform templates and/or time-frequency matching between time-frequency features and corresponding time-frequency templates. As shown in the figure, the feature matching includes sub-step S141 of waveform matching based on waveform features of signal sub-segments and sub-step S142 of time-frequency matching based on time-frequency features of signal sub-segments.
在子步骤S141中,根据棘波/尖波和慢波(包括棘慢波和尖慢波)的形态,主要考察信号子片段中的脑电图EEG信号的如下几个波形特征:In sub-step S141, the following waveform characteristics of the EEG signal in the signal sub-segment are mainly investigated according to the morphology of the spike/sharp wave and the slow wave (including the spike and slow wave and the sharp and slow wave):
1)棘波或尖波上升沿的波幅差A1及持续时间D1;1) The amplitude difference A 1 and the duration D 1 of the spike wave or the rising edge of the sharp wave;
2)棘波或尖波下降沿的波幅差A2及持续时间D2;2) The amplitude difference A 2 and the duration D 2 of the spike wave or the falling edge of the sharp wave;
3)棘波或尖波下降沿随后的慢波上升沿的波幅差A3;3) The amplitude difference A 3 of the rising edge of the slow wave followed by the falling edge of the spike or sharp wave;
4)棘波或尖波上升沿之前的波幅标准差Stdpre。4) The standard deviation Std pre of the amplitude before the rising edge of the spike or sharp wave.
脑电图EEG信号的横轴为时间,纵轴为信号波形的幅度。首先,找到该信号子片段中的波形信号处于该信号子片段中的幅度最大值(极大值,此处为绝对值)的时刻,再考察该时刻前后的时间段内的EEG信号的波形特征。其中,棘波或尖波上升沿的波幅差A1为脑电图EEG信号的波形到达信号子片段极大值之前的连续上升过程中,上升棘波/尖波波形从该上升过程的开始时刻到结束时刻所限定的时间期间的极小值(上升过程极小值)到极大值(上升过程极大值)之间的幅度差(纵轴高度差)。连续上升过程包括持续不断的上升,也可以包括持续上升后波形的幅度保持不变一小段时间后再次持续上升的过程。棘波或尖波上升沿的持续时间D1为该上升棘波/尖波波形的上升过程极小值与上升过程极大值分别对应的时刻之间的时间段的长度(横轴长度)。棘波或尖波下降沿的波幅差A2为EEG信号的波形到达信号子片段极大值之后的连续下降过程中,下降棘波/尖波波形从该下降过程的开始时刻到结束时刻所限定的时间期间的下降过程极大值到下降过程极小值之间的幅度差(纵轴高度差)。连续下降过程与连续上升过程所涵盖的情况类似,既包括持续不断的下降,也可以包括持续下降后波形的幅度保持不变一小段时间后再次持续下降的过程。棘波或尖波下降沿的持续时间D2为该下降棘波/尖波波形的下降过程极大值与下降过程极小值分别对应的时刻之间的时间段的长度(横轴长度)。棘波或尖波下降沿随后的慢波上升沿的波幅差A3则是在棘波或尖波下降沿中波形到达下降过程极小值随后存在新的连续上升过程,在该新的连续上升过程中上升棘波/尖波波形从该上升过程的开始时刻到结束时刻所限定的时间期间的极小值(新上升过程极小值)到极大值(新上升过程极大值)之间的幅度差(纵轴高度差)。新的上升过程的极大值一般小于信号子片段极大值,即小于前一棘波或尖波上升过程的上升过程极大值,并且该新的上升过程涉及棘波或尖波后可能存在的慢波成分,因此新的上升过程被称为棘波或尖波下降沿随后的“慢波上升沿”。棘波或尖波上升沿之前的波幅标准差Stdpre指的是在信号子片段的棘波或尖波上升沿的过程之前一段时间的信号波形的波幅的标准差。例如,可以选择在信号子片段的棘波或尖波上升沿的上升过程开始的极小值所对应的时刻之前的100ms左右的时间段内的信号计算波幅标准差。The horizontal axis of the EEG signal is time, and the vertical axis is the amplitude of the signal waveform. First, find the moment when the waveform signal in the signal sub-segment is at the maximum amplitude (maximum value, here is the absolute value) in the signal sub-segment, and then examine the waveform characteristics of the EEG signal in the time period before and after this moment. . Among them, the amplitude difference A1 of the rising edge of the spike or sharp wave is the continuous rising process before the waveform of the EEG signal of the EEG reaches the maximum value of the signal sub-segment. The amplitude difference (vertical axis height difference) between the minimum value (ascending process minimum value) and the maximum value (ascending process maximum value) during the time period defined by the end time. The continuous rise process includes a continuous rise, and it can also include a continuous rise after the waveform amplitude remains unchanged for a short period of time and then continues to rise again. The duration D 1 of the rising edge of the spike or sharp wave is the length of the time period (horizontal axis length) between the times corresponding to the rising process minimum value and the rising process maximum value of the rising spike/spike waveform. The amplitude difference A 2 of the falling edge of the spike or sharp wave is defined by the falling spike/spike waveform from the start time to the end time of the falling process during the continuous falling process after the waveform of the EEG signal reaches the maximum value of the signal sub-segment The amplitude difference between the maximum value of the descent process and the minimum value of the descent process during the time period (vertical axis height difference). A continuous fall process is similar to the situation covered by a continuous rise process, including both a continuous fall and a continuous fall, where the amplitude of the waveform remains the same for a short period of time and then continues to fall again. The duration D 2 of the falling edge of the spike or sharp wave is the length of the time period (horizontal axis length) between the times corresponding to the maximum value of the falling process and the minimum value of the falling process of the falling spike/spike waveform. The amplitude difference A3 of the rising edge of the slow wave followed by the falling edge of the spike or sharp wave is that in the falling edge of the spike or sharp wave, the waveform reaches the minimum value of the falling process and then there is a new continuous rising process. The rising spike/spike waveform in the process is between the minimum value (new ascent process minimum value) and the maximum value (new ascent process maximum value) during the time period defined from the start time to the end time of the ascent process Amplitude difference (vertical height difference). The maximum value of the new rising process is generally smaller than the maximum value of the signal sub-segment, that is, less than the maximum value of the rising process of the previous spike or sharp wave rising process, and the new rising process may exist after the spike or sharp wave is involved. Therefore, the new rising process is called the "rising edge of the slow wave" followed by the falling edge of the spike or sharp wave. The standard deviation of the amplitude before the rising edge of the spike or sharp wave, Std pre , refers to the standard deviation of the amplitude of the signal waveform for a period of time before the process of the rising edge of the spike or sharp wave of the signal sub-segment. For example, the standard deviation of the amplitude of the signal in a time period of about 100 ms before the time corresponding to the minimum value of the rising edge of the spike wave or sharp wave rising edge of the signal sub-segment can be selected to calculate the amplitude standard deviation.
可以分别针对每个波形形态设置对应的波形特征阈值构成波形特征阈值集,即波形模板14A。将信号子片段的上述波形特征与波形模板14A进行比较以确定候选的信号子片段中是否存在癫痫样放电。例如,当波形特征的测量值超过波形模板14A中的对应阈值时,认为在该波形特征满足阈值要求。上述波形特征的重要程度可以是相同的。根据本申请的实施例,在至少一个波形特征满足阈值要求的情况下,可以确定该信号子片段中存在癫痫样放电。满足阈值要求的波形特征的数量越大,则存在癫痫样放电的可能性越高。4个以上的波形特征满足阈值要求的可能性大于3个波形特征以下的情况。根据需求,可以选择其中的5个或全部6个波形特征都满足波形模板14A中的阈值要求的信号子片段作为候选的信号子片段。那些满足阈值要求的波形特征的数量在设定数量以下(例如4个,5个)的信号子片段被认定为波形不匹配而被筛除。Corresponding waveform feature thresholds may be set for each waveform shape to form a waveform feature threshold set, that is, the waveform template 14A. The aforementioned waveform characteristics of the signal sub-segments are compared to the waveform template 14A to determine whether epileptiform discharges are present in the candidate signal sub-segments. For example, when the measured value of the waveform feature exceeds the corresponding threshold value in the waveform template 14A, it is considered that the threshold value requirement is met at that waveform feature. The degree of importance of the aforementioned waveform features may be the same. According to the embodiments of the present application, when at least one waveform feature meets the threshold requirement, it can be determined that there is an epileptiform discharge in the signal sub-segment. The greater the number of waveform features that meet the threshold requirements, the higher the likelihood that epileptiform discharges are present. The probability that more than 4 waveform features meet the threshold requirement is greater than the case of less than 3 waveform features. According to requirements, signal sub-segments of which 5 or all 6 waveform features meet the threshold requirement in the waveform template 14A may be selected as candidate signal sub-segments. Those signal sub-segments whose number of waveform features satisfying the threshold requirement are below the set number (eg, 4, 5) are determined as waveform mismatches and filtered out.
在子步骤S142中,基于另一种匹配规则筛选可能存在癫痫样放电的信号子片段。子步骤S142进一步包括分别计算信号子片段在低频、中频和高频频带中的能量以构成信号子片段的时频特征的子步骤S1421,基于时频特征与时频模板14B确定信号子片段的时频相似度的子步骤S1422,以及基于时频相似度与相应阈值的比较来识别信号子片段中是否存在癫痫样放电的子步骤S1423。In sub-step S142, the signal sub-segments that may have epileptiform discharges are screened based on another matching rule. The sub-step S142 further includes the sub-step S1421 of calculating the energy of the signal sub-segments in the low frequency, intermediate frequency and high frequency bands respectively to form the time-frequency feature of the signal sub-segment, and determining the time-frequency of the signal sub-segment based on the time-frequency feature and the time-
根据脑电图信号分析的常用划分标准,EEG信号根据低频δ、θ(1.6~8Hz),中频α(8~15Hz)和高频β(15~40Hz)频带的定义,分别计算信号子片段的低频能量EL,中频能量EM以及高频能量EH。可以选择子步骤S141中所确定的信号子片段的幅度极大值所对应的时刻之前和之后各120ms的时间段中的各频带能量组合以构成该信号子片段的时频特征。120ms的时间段的时间长度选择基于对EEG信号的棘波/尖波波形覆盖的理论或经验。一般来说,在幅度极大值所对应的时刻之前和之后各120ms(总共240ms)的时间段长度足以覆盖棘波/尖波波形特征。According to the commonly used division criteria for EEG signal analysis, the EEG signal is calculated separately according to the definition of low frequency δ, θ (1.6-8 Hz), intermediate frequency α (8-15 Hz) and high-frequency β (15-40 Hz) frequency bands. Low frequency energy E L , medium frequency energy E M and high frequency energy E H . The energy combination of each frequency band in each time period of 120 ms before and after the time corresponding to the maximum amplitude value of the signal sub-segment determined in sub-step S141 can be selected to constitute the time-frequency feature of the signal sub-segment. The time length of the 120 ms period was chosen based on theoretical or empirical coverage of the spike/spike waveform of the EEG signal. In general, a time period of 120 ms each before and after the moment corresponding to the amplitude maximum (240 ms in total) is sufficient to cover the spike/spike waveform features.
在240ms的时间子片段中,根据上文中的检测采样频率可知其中包括48个采样时刻(采样点)。相应地,分频带能量组合可以获得48*3维(48个采样时刻的能量数据,每个采样时刻存在3个频带对应的能量值)的时频能量矩阵。相应地,预设的时频模板14B也是基于采样时刻的分频带能量的时频能量矩阵模板,具有48*3的维度。时频模板14B是表征癫痫样放电的参考时频特征的分频带能量模板,可以使用可视化图像的形式呈现,如图3中所示。在图3中,横轴为时间,纵轴为分频带能量值,颜色越深表示分频带能量越高,反之颜色越浅则分频带能量越低。在时频能量矩阵模板中,每个单元的值是该时刻的对应分频带的能量权重。In the time sub-segment of 240ms, according to the detection sampling frequency above, it can be known that it includes 48 sampling moments (sampling points). Correspondingly, a time-frequency energy matrix of 48*3 dimensions (energy data of 48 sampling instants, and energy values corresponding to 3 frequency bands exists at each sampling instant) can be obtained by combining the energy of the sub-bands. Correspondingly, the preset time-
在子步骤S1422中,可以基于所计算的时频能量矩阵确定信号子片段的时频相似度。时频相似度表征信号子片段与存在癫痫样放电的参考信号子片段在时频特征上的匹配程度。在计算时频能量矩阵的每个单元的单元时频相似度时,可以对时频能量矩阵中的每个单元所表示的分频带能量测量值进行二值化处理。通过对每个采样时刻处的分频带能量测量值(时频能量矩阵的相应单元的值)与分频带能量阈值(时频能量矩阵模板的相应单元的分频带能量阈值)进行比较来计算在每个单元处的单元时频相似度。可以为多个频带中的每个频带设置相应的能量阈值,也可以进一步为每个单元设置相应的分频带能量阈值。能量阈值可以通过对存在癫痫样放电时的EEG波形的分频带能量进行平滑化或求平均值计算,也可以基于经验设置时频能量矩阵模板中的各个单元的能量阈值参数。如果矩阵的每个单元的分频带能量的测量值超过相应的分频带能量阈值,则单元时频相似度表明存在癫痫样放电的可能性高,反之在能量阈值以内则可能性低。可以根据测量值与能量阈值的比较结果设置不同的单元时频相似度,例如超过能量阈值的单元具有较大的单元时频相似度值,没有超过则具有较小的单元时频相似度值,并且进一步可以设定超出阈值的程度越大则单元时频相似度值越大等。如上所述的二值化处理使用诸如0和1的两个单元时频相似度值来表征分频带能量的测量值涉及癫痫样放电的可能性,其中1表示该单元(即与该单元的分频带能量测量值对应的采样时刻)涉及癫痫样放电或者说癫痫样放电过程包括该单元的测量值对应的采样时刻,0表示该单元(即与该单元的分频带能量测量值对应的采样时刻)不涉及癫痫样放电或者说癫痫样放电过程不包括该单元的测量值对应的采样时刻。测量值超过能量阈值的单元的单元时频相似度为1,没有超过能量阈值的单元的单元时频相似度为0,则时频能量矩阵中的每个单元的对应单元时频相似度为[0,1]中的一个值。时频能量矩阵模板14B针对不同时刻的分频带能量基于对检测的重要程度为每个单元设置不同的权重(权重值例如为在[0,1]中,或者进一步在[-0.5,1]中的实数值)。然后,将时频能量矩阵与时频能量矩阵模板14B相乘,获得经过加权后的时频能量矩阵。其中,每个单元的单元时频相似度值分别与矩阵模板14B中的对应单元的权重值相乘,获得每个单元的经过加权的单元时频相似度。In sub-step S1422, the time-frequency similarity of the signal sub-segments may be determined based on the calculated time-frequency energy matrix. The time-frequency similarity represents the degree of matching between the signal sub-segments and the reference signal sub-segments with epileptic discharges in time-frequency features. When calculating the unit time-frequency similarity of each unit of the time-frequency energy matrix, binarization processing may be performed on the sub-band energy measurement value represented by each unit in the time-frequency energy matrix. Calculated at each sampling time by comparing the sub-band energy measurement (the value of the corresponding cell of the time-frequency energy matrix) with the sub-band energy threshold (the sub-band energy threshold of the corresponding cell of the time-frequency energy matrix template) at each sampling instant. Unit time-frequency similarity at units. A corresponding energy threshold may be set for each of the multiple frequency bands, and a corresponding sub-band energy threshold may be further set for each unit. The energy threshold can be calculated by smoothing or averaging the sub-band energy of the EEG waveform in the presence of epileptiform discharges, or the energy threshold parameters of each unit in the time-frequency energy matrix template can be set based on experience. If the measured value of the sub-band energy of each cell of the matrix exceeds the corresponding sub-band energy threshold, the cell time-frequency similarity indicates a high probability of the presence of epileptiform discharges, otherwise within the energy threshold, the probability is low. Different unit time-frequency similarity can be set according to the comparison result between the measured value and the energy threshold. For example, the unit that exceeds the energy threshold has a larger unit time-frequency similarity value, and if it does not exceed the energy threshold, it has a smaller unit time-frequency similarity value. And further, it can be set that the greater the degree of exceeding the threshold, the greater the unit time-frequency similarity value, and the like. The binarization process described above uses two unit time-frequency similarity values such as 0 and 1 to characterize the likelihood that a measure of subband energy involves epileptiform discharges, where 1 indicates that the unit (i.e., the difference between the unit and the unit). The sampling time corresponding to the frequency band energy measurement value) involves epileptiform discharge or the epileptiform discharge process includes the sampling time corresponding to the measurement value of the unit, and 0 represents the unit (that is, the sampling time corresponding to the subband energy measurement value of the unit) The epileptiform discharge is not involved or the epileptiform discharge process does not include the sampling time corresponding to the measurement value of the unit. The unit time-frequency similarity of the unit whose measurement value exceeds the energy threshold is 1, and the unit time-frequency similarity of the unit that does not exceed the energy threshold is 0, then the time-frequency similarity of the corresponding unit of each unit in the time-frequency energy matrix is [ A value in 0,1]. The time-frequency
信号子片段的时频相似度通过将时频能量矩阵中的每个单元的经过加权的单元时频相似度进行求和来计算。然后,在子步骤S1423中将信号子片段的时频相似度与相应的时频相似度阈值进行比较来识别该信号子片段中是否存在癫痫样放电。例如,如果时频相似度超过时频相似度阈值则表明该信号子片段中存在癫痫样放电,反之则认为不存在癫痫样放电。时频相似度阈值标准满足与否相当于判断信号子片段与代表发作间期具有癫痫状放电的参考信号子片段模板的吻合程度。通过时频匹配被确定满足要求的信号子片段被保留。The time-frequency similarity of the signal sub-segments is calculated by summing the weighted unit time-frequency similarity of each unit in the time-frequency energy matrix. Then, in sub-step S1423, the time-frequency similarity of the signal sub-segment is compared with the corresponding time-frequency similarity threshold to identify whether there is epileptiform discharge in the signal sub-segment. For example, if the time-frequency similarity exceeds the time-frequency similarity threshold, it indicates that there is epileptiform discharge in the signal sub-segment, otherwise, it is considered that there is no epileptiform discharge. Whether the time-frequency similarity threshold is satisfied or not is equivalent to judging the degree of agreement between the signal sub-segment and the template of the reference signal sub-segment representing epileptic discharges in the interictal period. Signal sub-segments determined to meet the requirements by time-frequency matching are retained.
如图2所示,对于上部分的原始脑电图EEG信号波形,在步骤S130的初筛中发现经过滤波的信号子片段201至205的高频能量超过高频能量阈值,相关初筛结果在中间部分呈现。因此,这些信号子片段被保留以在步骤S140中进行特征匹配。下半部分特别示出在子步骤S142中进行多频带能量的时频特征匹配的情况,相比较图3所示的时频模板,仅有信号子片段203的时频相似度满足相应的阈值要求,则信号子片段203被认为存在癫痫样放电并且保留,而信号子片段201、202、204和205被筛除。本领域技术人员可以理解,图2所示的癫痫样放电的检测过程仅仅是示例而不是限制,特征匹配相关的步骤S140中的子步骤S141和S142可以单独或结合执行。As shown in Fig. 2, for the original EEG signal waveform of the upper part, in the preliminary screening of step S130, it is found that the high-frequency energy of the filtered
在对信号子片段进行特征匹配后,可以进一步通过步骤S150对识别结果进行校正。校正步骤可以将那些被错误地识别为存在癫痫样放电的原本属于正常脑电图的信号子片段筛除,也可以找回被漏检的信号子片段再次进行检测。After feature matching is performed on the signal sub-segments, the identification result may be further corrected through step S150. The correction step can screen out those signal sub-segments that are mistakenly identified as having epileptiform discharges and originally belong to the normal EEG, and can also retrieve the missed signal sub-segments for re-detection.
步骤S150包括筛除生理波形的子步骤S151,筛除非刻板重复波形的子步骤S152和/或更新特征模板的子步骤S153等。Step S150 includes a sub-step S151 of screening out physiological waveforms, a sub-step S152 of screening out non-stereotypical repetitive waveforms, and/or a sub-step S153 of updating a feature template, and so on.
在子步骤S151中将那些可能被错误地识别为存在癫痫样放电的生理波形形态的信号子片段排除。部分生理波形的形态特征和时频特征和癫痫样放电的异常放电非常相似,但是生理波形通常具有特定的出现位置,因此当在对应的特定位置有较多的异常信号子片段被检出时,可以通过生理波形排除子步骤S152将这些信号子片段排除以减少对检测结果的影响。In sub-step S151 , those signal sub-segments that may be erroneously identified as having the physiological waveform form of epileptiform discharges are excluded. The morphological characteristics and time-frequency characteristics of some physiological waveforms are very similar to the abnormal discharges of epileptiform discharges, but physiological waveforms usually have specific appearance positions, so when more abnormal signal sub-segments are detected in the corresponding specific positions, These signal sub-segments can be excluded through the physiological waveform exclusion sub-step S152 to reduce the influence on the detection result.
生理波形具体可以包括:Physiological waveforms can specifically include:
1)眨眼及眼动生理波形:眨眼可能在对称的左右前额的导联通道Fp1和Fp2中都存在相似的生理波形,而眼动则可能在导联通道Fp1、Fp2、F7、F8四个中存在相似的生理波形。由于眨眼及眼动时,对侧导联通道的波形会有较高的相似性,因此可以通过导联通道之间的波形相关性进行排除。1) Physiological waveforms of eye blinks and eye movements: Blinks may have similar physiological waveforms in the symmetrical left and right forehead lead channels Fp1 and Fp2, while eye movements may be in the four lead channels Fp1, Fp2, F7, and F8. Similar physiological waveforms exist. Since the waveforms of the contralateral lead channels have high similarity during eye blinking and eye movement, they can be excluded by the waveform correlation between lead channels.
2)顶尖波生理波形:顶尖波与睡眠相关,也不属于异常放电,但是顶尖波的形态与异常放电也较为相似。顶尖波生理波形通常出现在导联通道Cz以及附近的导联通道中,可以通过头顶中央附近的导联通道波形的相关性进行排除。2) Physiological waveform of apex wave: apex wave is related to sleep and is not abnormal discharge, but the shape of apex wave is also similar to abnormal discharge. The apical wave physiological waveform usually appears in lead channel Cz and nearby lead channels, which can be excluded by the correlation of lead channel waveforms near the center of the head.
3)枕区alpha活动生理波形:枕区alpha节律属于正常的生理波形,但其形态与异常放电也具有一定的相似性,可以通过枕区导联通道上检测到的脑电信号子片段频率及持续时长进行排除。3) Physiological waveform of alpha activity in the occipital region: The alpha rhythm in the occipital region is a normal physiological waveform, but its shape and abnormal discharge also have a certain similarity. time to exclude.
子步骤S152则筛除不具有刻板重复的波形特征的非刻板重复波形所在的信号子片段。诸如癫痫样放电的异常放电通常具有刻板重复的波形特征。刻板重复是在同一导联通道的EEG信号波形中存在相似棘波或尖波的不断/多次重复。不同患者的EEG波形中的棘波或尖波特征一般不同,因此非刻板重复波形的筛除不能在不同患者的EEG信号之间完成,通常仅比较同一患者的同一导联通道上的EEG信号。可以通过计算检测到的被认为具有异常放电的信号子片段之间的相关性来排除非刻板重复波形,同时保留被认定为确实具有刻板重复特征的刻板重复波形。例如,可以计算相同导联通道上的不同信号子片段,特别是具有异常波形的信号子片段之间的相关性数据,并将相关性数据与相应阈值的比较来判断信号子片段是否存在刻板重复的波形特征。Sub-step S152 is to filter out the signal sub-segments where the non-stereotyped repetitive waveforms do not have stereotyped repetitive waveform characteristics. Abnormal discharges such as epileptiform discharges often have stereotyped repetitive waveform characteristics. Stereotyped repetitions are repeated/multiple repetitions of similar spikes or sharp waves in the EEG signal waveform of the same lead channel. The characteristics of spikes or sharp waves in EEG waveforms of different patients are generally different, so screening of non-stereotyped repetitive waveforms cannot be done between EEG signals of different patients, and usually only EEG signals on the same lead channel of the same patient are compared. Non-stereotyped repetitive waveforms can be excluded by calculating correlations between detected signal sub-segments believed to have abnormal discharges, while retaining stereotypical repetitive waveforms that are believed to indeed have stereotyped repetitive characteristics. For example, the correlation data between different signal sub-segments on the same lead channel, especially the signal sub-segments with abnormal waveforms, can be calculated, and the correlation data can be compared with the corresponding thresholds to determine whether the signal sub-segments have stereotyped repetitions. waveform characteristics.
对于信号子片段之间的相关性,可以采用pearson相关值进行计算,其公式如下:For the correlation between signal sub-segments, the pearson correlation value can be used for calculation, and the formula is as follows:
其中,ρX,Y为pearson相关值。X和Y分别表示同一导联通道上的不同异常放电信号子片段。为pearson相关值设定相应阈值,在某个存在异常放电的信号子片段和同一导联通道上的其它存在异常放电的信号子片段的相关性的平均值小于相应的相关性阈值时,该信号子片段被认为不存在刻板重复波形。反之,如果信号子片段的相关性的平均值大于相应的相关性阈值则认为该信号子片段存在刻板重复波形而属于异常波形,其被保留以进行癫痫状放电的检测。可以使用其他计算信号子片段之间的相关性的算法和/或平均值算法来计算信号子片段与其他多个同导联通道上的信号子片段之间的整体相关性,从而筛除非刻板重复波形。Among them, ρ X, Y is the pearson correlation value. X and Y represent different abnormal discharge signal sub-segments on the same lead channel, respectively. A corresponding threshold is set for the pearson correlation value. When the average value of the correlation between a signal sub-segment with abnormal discharge and other signal sub-segments with abnormal discharge on the same lead channel is less than the corresponding correlation threshold, the signal sub-segment is determined. Fragments are considered free of stereotyped repetitive waveforms. On the contrary, if the average value of the correlation of the signal sub-segment is greater than the corresponding correlation threshold, it is considered that the signal sub-segment has a stereotyped repetitive waveform and belongs to an abnormal waveform, which is reserved for the detection of epileptic discharge. Other algorithms for calculating correlations between signal sub-segments and/or averaging algorithms can be used to calculate the overall correlation between a signal sub-segment and other signal sub-segments on multiple other channels of the same lead to screen for non-stereotyped repetitive waveforms .
子步骤S153则检测重点导联通道中的异常放电(特别是癫痫样放电)波形的信息来更新诸如波形模板和时频模板的特征匹配模板,使得特征匹配过程中的模板能够更加准确地作为具有患者个体特征的监测癫痫样放电的参照,将先前被错误地筛除的信号子片段重新加入候选信号子片段集合。子步骤S153进一步包括确定重点导联通道的子步骤S1531和确定异常放电特征模板的子步骤S1532。Sub-step S153 detects the abnormal discharge (especially epileptiform discharge) waveform information in the key lead channel to update the feature matching template such as the waveform template and the time-frequency template, so that the template in the feature matching process can be more accurately used as a patient with patients. Individually characterized reference to monitor epileptiform discharges, reintroducing signal sub-segments that were previously incorrectly screened out to the set of candidate signal sub-segments. Sub-step S153 further includes sub-step S1531 of determining key lead channels and sub-step S1532 of determining abnormal discharge characteristic template.
在子步骤S1531中,将检出异常波形的信号子片段较多的导联通道确定为重点导联通道。例如,存在异常波形的信号子片段的总时间长度在每小时中超过20秒(大于20s/h)的导联通道作为重点导联通道。以每个异常放电的信号子片段长度为480ms(近似为500ms)来计算,则认定为重点导联通道需要在该导联通道上每小时存在至少40个具有异常放电波形的信号子片段。In sub-step S1531, the lead channel with more signal sub-segments for which abnormal waveforms are detected is determined as the key lead channel. For example, a lead channel with a total time length of more than 20 seconds (greater than 20 s/h) in each hour of signal sub-segments with abnormal waveforms is regarded as a focus lead channel. If the length of each abnormal discharge signal sub-segment is 480ms (approximately 500ms), it is determined that a key lead channel needs to have at least 40 signal sub-segments with abnormal discharge waveform per hour on the lead channel.
由于在同一导联通道上的异常放电波形通常具有刻板重复的信号特征,该信号特征进一步包括波形特征和/或时频能量特征,因此可以将同一个重点导联通道上检测到的异常放电信号子片段进行波形平均得到与患者对应的异常放电波形模板,以及提取异常放电信号子片段的异常放电时频模板中的至少一个。在每个导联通道上都可以生成患者在该导联通道上的异常放电的波形模板和时频模板,从而找到该导联通道上的癫痫状放电的共同波形特征和时频特征。异常放电波形的特征模板可以是波形模板或时频模板,因此生成的异常放电特征模板可以对步骤S141中的波形模板和/或步骤S142中的时频模板进行更新。进一步,可以计算重点导联通道上之前被筛除的信号子片段与异常放电波形模板和/或时频模板之间的相似性,或者再次执行波形匹配的子步骤S141和/或时频匹配的子步骤S142,将那些相似程度较高和/或满足波形特征阈值要求和/或时频特征阈值要求的信号子片段重新计入后续的异常放电检测和统计中。因此,更新特征模板的子步骤S153可以看做漏检的补救措施,与子步骤S151和S152中的筛除错检的步骤不同。Since abnormal discharge waveforms on the same lead channel usually have stereotyped repetitive signal features, which further include waveform features and/or time-frequency energy features, the abnormal discharge signal sub-segments detected on the same key lead channel can be divided into sub-segments. Perform waveform averaging to obtain an abnormal discharge waveform template corresponding to the patient, and extract at least one of the abnormal discharge time-frequency templates of abnormal discharge signal sub-segments. On each lead channel, the waveform template and time-frequency template of the abnormal discharge of the patient on the lead channel can be generated, so as to find the common waveform characteristics and time-frequency characteristics of the epileptic discharge on the lead channel. The characteristic template of the abnormal discharge waveform may be a waveform template or a time-frequency template, so the generated abnormal discharge characteristic template may update the waveform template in step S141 and/or the time-frequency template in step S142. Further, the similarity between the previously screened signal sub-segments on the key lead channel and the abnormal discharge waveform template and/or time-frequency template can be calculated, or the sub-step S141 of waveform matching and/or the sub-step S141 of time-frequency matching can be performed again. In step S142, those signal sub-segments with a high degree of similarity and/or meeting the requirements of the waveform characteristic threshold and/or the time-frequency characteristic threshold are re-included into the subsequent abnormal discharge detection and statistics. Therefore, the sub-step S153 of updating the feature template can be regarded as a remedial measure for missed detection, which is different from the step of screening out the wrong detection in the sub-steps S151 and S152.
接下来,方法在步骤S160中确定癫痫样放电的统计数据和/或生成检测报告。统计可以包括对每个导联通道上存在癫痫样放电的信号子片段中的持续时间长度进行统计求和。统计数据可以结合各个导联通道的位置坐标,生成可视化的报告图。如图4所示的患者头部顶视图中,以不同的颜色和和/或深度(灰度)表示各个位置(这些位置与导联通道的电极位置相关)处的癫痫样放电的持续时间,其中颜色越深的位置异常放电的持续时间越长,表明该位置出现癫痫样放电的情况越多,存在癫痫病灶的可能性越大。例如,患者的右侧头顶的位置301相比正中头顶的位置302出现癫痫样放电的持续时间更长(大约20秒/小时)。这种可视化的报告图可以为用户(医生)提供异常放电情况和/或概率的二维分布/标记,医生也可以在异常放电的二维分布报告图上进一步标记或进行诊断描述。Next, the method determines statistics of epileptiform discharges and/or generates a detection report in step S160. Statistics may include statistical summing of duration lengths in signal sub-segments in which epileptiform discharges are present on each lead channel. The statistical data can be combined with the position coordinates of each lead channel to generate a visual report graph. In the top view of the patient's head shown in Figure 4, the duration of epileptiform discharges at various locations (which correlate to the electrode positions of the lead channels) are represented in different colors and/or depths (grayscale), The darker the position of the abnormal discharge, the longer the duration of abnormal discharge, indicating that the more epileptiform discharge occurs in this position, and the greater the possibility of epilepsy focus. For example, epileptiform discharges occurred for a longer duration (approximately 20 seconds/hour) in the patient's
根据如上所述的在脑电图信号中检测癫痫样放电的方案,相比通过医生对脑电图信号的人工观察来诊断患者的癫痫发作情况的常用方案,引入自动化的脑电图信号检测方法,可以作为计算机辅助检测工具输出与患者在发作间期监测的脑电图信号中是否存在癫痫样放电相关的检测结果和指标,定量统计数据并采用可视化等呈现方式以便于医生参考,有效降低医务人员的工作量和误检概率并提高诊断效率,特别是对于容易误检的生理波形进行有针对性的排除。同时,本申请的自动化检测方案可以精确到脑电图信号的具体导联通道,并基于累积的历史数据优化和更新检测标准和模板,进一步提高检测的准确性和速度。According to the scheme of detecting epileptiform discharges in EEG signals as described above, compared with the common scheme of diagnosing epileptic seizures in patients by manual observation of EEG signals by doctors, an automated EEG signal detection method is introduced , can be used as a computer-aided detection tool to output the detection results and indicators related to whether there is epileptiform discharge in the EEG signal monitored by the patient during the interictal period, quantitative statistical data and visualized and other presentation methods for the reference of doctors, effectively reducing medical costs. It reduces the workload of personnel and the probability of false detection and improves the efficiency of diagnosis, especially for the targeted elimination of physiological waveforms that are prone to false detection. At the same time, the automated detection scheme of the present application can be accurate to the specific lead channel of the EEG signal, and optimize and update detection standards and templates based on accumulated historical data, further improving the accuracy and speed of detection.
在本申请的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序包括可执行指令,该可执行指令被例如处理器执行时可以实现上述任意一个实施例中所述用于检测癫痫样放电的方法的步骤。在一些可能的实施方式中,本申请的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书用于检测癫痫样放电的方法中描述的根据本申请各种示例性实施例的步骤。In an exemplary embodiment of the present application, there is also provided a computer-readable storage medium on which a computer program is stored, the program including executable instructions, which, when executed by, for example, a processor, can implement any one of the above The steps of the method for detecting epileptiform discharges described in the Examples. In some possible implementations, various aspects of the present application can also be implemented in the form of a program product, which includes program code, which is used to cause the program product to run on a terminal device when the program product is executed. The terminal device performs the steps according to various exemplary embodiments of the present application described in the method for detecting epileptiform discharges in this specification.
根据本申请的实施例的用于实现上述方法的程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The program product for implementing the above method according to the embodiments of the present application may adopt a portable compact disc read only memory (CD-ROM) and include program codes, and may be executed on a terminal device such as a personal computer. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
所述计算机可读存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读存储介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable storage medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for carrying out the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
在本申请的示例性实施例中,还提供一种电子设备,该电子设备可以包括处理器,以及用于存储所述处理器的可执行指令的存储器。其中,所述处理器配置为经由执行所述可执行指令来执行上述任意一个实施例中的用于检测癫痫样放电的方法的步骤。In an exemplary embodiment of the present application, there is also provided an electronic device, which may include a processor, and a memory for storing executable instructions of the processor. Wherein, the processor is configured to perform the steps of the method for detecting epileptiform discharges in any one of the above embodiments by executing the executable instructions.
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。As will be appreciated by one skilled in the art, various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application can be embodied in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system".
下面参照图5来描述根据本申请的这种实施方式的电子设备500。图5显示的电子设备500仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。The
如图5所示,电子设备500以通用计算设备的形式表现。电子设备500的组件可以包括但不限于:至少一个处理单元510、至少一个存储单元520、连接不同系统组件(包括存储单元520和处理单元510)的总线530、显示单元540等。As shown in FIG. 5,
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元510执行,使得所述处理单元510执行本说明书用于用于检测癫痫样放电的方法中描述的根据本申请各种示例性实施方式的步骤。例如,所述处理单元510可以执行如图1中所示的步骤。Wherein, the storage unit stores a program code, and the program code can be executed by the
所述存储单元520可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)5201和/或高速缓存存储单元5202,还可以进一步包括只读存储单元(ROM)5203。The
所述存储单元520还可以包括具有一组(至少一个)程序模块5205的程序/实用工具5204,这样的程序模块5205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
总线530可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The
电子设备500也可以与一个或多个外部设备600(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备500交互的设备通信,和/或与使得该电子设备500能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口550进行。并且,电子设备500还可以通过网络适配器560与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。网络适配器560可以通过总线530与电子设备500的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备500使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、或者网络设备等)执行根据本申请实施方式的用于检测癫痫样放电的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, or a network device, etc.) to perform the method for detecting epileptiform discharges according to embodiments of the present application.
本领域技术人员在考虑说明书及实践这里公开的内容后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由所附的权利要求指出。Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of what is disclosed herein. This application is intended to cover any variations, uses or adaptations of this application that follow the general principles of this application and include common knowledge or conventional techniques in the technical field not disclosed in this application . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the appended claims.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210367395.3A CN114869301B (en) | 2022-04-08 | 2022-04-08 | Method and device for detecting epileptiform discharges |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210367395.3A CN114869301B (en) | 2022-04-08 | 2022-04-08 | Method and device for detecting epileptiform discharges |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114869301A true CN114869301A (en) | 2022-08-09 |
CN114869301B CN114869301B (en) | 2025-04-29 |
Family
ID=82669298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210367395.3A Active CN114869301B (en) | 2022-04-08 | 2022-04-08 | Method and device for detecting epileptiform discharges |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114869301B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115804572A (en) * | 2023-02-07 | 2023-03-17 | 之江实验室 | An automatic monitoring system and device for epileptic seizures |
CN116172517A (en) * | 2023-02-21 | 2023-05-30 | 武汉大学 | Seizure interval epileptiform discharge detection method and device based on double-view feature fusion framework |
CN119924852A (en) * | 2025-04-10 | 2025-05-06 | 博睿康医疗科技(上海)有限公司 | Spike wave detection system, epilepsy detection equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140119315A (en) * | 2013-03-28 | 2014-10-10 | 한국과학기술원 | The method of epileptic seizure prediction by sensing the change of the relative ratio of EEG (Electroencephalography) frequency components |
CN107095669A (en) * | 2017-05-10 | 2017-08-29 | 北京大学 | A kind of processing method and system of epileptic's EEG signals |
CN109567797A (en) * | 2019-01-30 | 2019-04-05 | 浙江强脑科技有限公司 | Epilepsy method for early warning, device and computer readable storage medium |
CN110811609A (en) * | 2019-10-28 | 2020-02-21 | 杭州电子科技大学 | Intelligent epileptic spike detection method based on fusion of adaptive template matching and machine learning algorithm |
CN111772585A (en) * | 2020-07-13 | 2020-10-16 | 清华大学 | Data extraction method of abnormal group activity in epilepsy in intercranial EEG signals |
CN111973179A (en) * | 2020-08-25 | 2020-11-24 | 北京智源人工智能研究院 | Brain wave signal processing method, brain wave signal processing device, electronic device, and storage medium |
CN113017649A (en) * | 2021-02-25 | 2021-06-25 | 北京智源人工智能研究院 | Electroencephalogram activity identification method and device, electronic equipment and medium |
CN113576494A (en) * | 2021-07-28 | 2021-11-02 | 生物岛实验室 | Electroencephalogram signal processing method and device and computer readable storage medium |
CN113693601A (en) * | 2021-09-02 | 2021-11-26 | 天津科技大学 | Multi-sensing intelligent man-machine interaction method fusing brain waves and physiological signals |
CN114224300A (en) * | 2022-02-23 | 2022-03-25 | 广东工业大学 | Epilepsy classification and detection system and method based on three-dimensional quaternary graph convolutional neural network |
-
2022
- 2022-04-08 CN CN202210367395.3A patent/CN114869301B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140119315A (en) * | 2013-03-28 | 2014-10-10 | 한국과학기술원 | The method of epileptic seizure prediction by sensing the change of the relative ratio of EEG (Electroencephalography) frequency components |
CN107095669A (en) * | 2017-05-10 | 2017-08-29 | 北京大学 | A kind of processing method and system of epileptic's EEG signals |
CN109567797A (en) * | 2019-01-30 | 2019-04-05 | 浙江强脑科技有限公司 | Epilepsy method for early warning, device and computer readable storage medium |
CN110811609A (en) * | 2019-10-28 | 2020-02-21 | 杭州电子科技大学 | Intelligent epileptic spike detection method based on fusion of adaptive template matching and machine learning algorithm |
CN111772585A (en) * | 2020-07-13 | 2020-10-16 | 清华大学 | Data extraction method of abnormal group activity in epilepsy in intercranial EEG signals |
CN111973179A (en) * | 2020-08-25 | 2020-11-24 | 北京智源人工智能研究院 | Brain wave signal processing method, brain wave signal processing device, electronic device, and storage medium |
CN113017649A (en) * | 2021-02-25 | 2021-06-25 | 北京智源人工智能研究院 | Electroencephalogram activity identification method and device, electronic equipment and medium |
CN113576494A (en) * | 2021-07-28 | 2021-11-02 | 生物岛实验室 | Electroencephalogram signal processing method and device and computer readable storage medium |
CN113693601A (en) * | 2021-09-02 | 2021-11-26 | 天津科技大学 | Multi-sensing intelligent man-machine interaction method fusing brain waves and physiological signals |
CN114224300A (en) * | 2022-02-23 | 2022-03-25 | 广东工业大学 | Epilepsy classification and detection system and method based on three-dimensional quaternary graph convolutional neural network |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115804572A (en) * | 2023-02-07 | 2023-03-17 | 之江实验室 | An automatic monitoring system and device for epileptic seizures |
CN115804572B (en) * | 2023-02-07 | 2023-05-26 | 之江实验室 | Automatic epileptic seizure monitoring system and device |
CN116172517A (en) * | 2023-02-21 | 2023-05-30 | 武汉大学 | Seizure interval epileptiform discharge detection method and device based on double-view feature fusion framework |
CN119924852A (en) * | 2025-04-10 | 2025-05-06 | 博睿康医疗科技(上海)有限公司 | Spike wave detection system, epilepsy detection equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114869301B (en) | 2025-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Fraser et al. | Automated biosignal quality analysis for electromyography using a one-class support vector machine | |
CN109171712B (en) | Atrial fibrillation identification method, atrial fibrillation identification device, atrial fibrillation identification equipment and computer readable storage medium | |
CN114869301B (en) | Method and device for detecting epileptiform discharges | |
JP5722635B2 (en) | Portable device for detecting presence / absence and severity of concussion of subject, and operation method of portable device for performing on-site diagnosis of subject | |
US8233972B2 (en) | System for cardiac arrhythmia detection and characterization | |
US8600493B2 (en) | Method, apparatus and computer program product for automatic seizure monitoring | |
CN110693483A (en) | Method for automatically analyzing dynamic electrocardiogram | |
CN108577834B (en) | A method for automatic detection of epileptic interphase spikes | |
WO2019100563A1 (en) | Method for assessing electrocardiogram signal quality | |
KR20080068003A (en) | Method for evaluating brain function and portable automatic brain function evaluation device | |
CN108403107B (en) | Method and system for identifying arrhythmia | |
CN102038497A (en) | Electrocardiosignal noise analysis method | |
WO2012051320A2 (en) | Motion and noise artifact detection for ecg data | |
CN111557662B (en) | Epileptic interval electroencephalogram signal processing method and device, storage medium and equipment | |
EP4574046A1 (en) | Electroencephalogram signal preprocessing method, system and terminal device | |
US9901277B2 (en) | Cycle length iteration for the detection of atrial activations from electrogram recordings of atrial fibrillation | |
CN116982937A (en) | Perioperative anesthesia depth monitoring system based on deep learning | |
CN114469131A (en) | Adaptive real-time ECG signal quality assessment method | |
US8073218B2 (en) | Method for detecting bio signal features in the presence of noise | |
CN116807496B (en) | Method, device, equipment and medium for positioning epileptic interval brain wave abnormal signals | |
CN118490249A (en) | Brain health calculation method based on electroencephalogram technology | |
CN108836312B (en) | Clutter rejection method and system based on artificial intelligence | |
CN115067877A (en) | Method and apparatus for detecting epileptic seizures | |
Boon et al. | Ventricular tachyarrhythmia prediction based on heart rate variability and genetic algorithm | |
CN119732689B (en) | Epileptiform discharge detection method, epileptiform discharge detection device, program product and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |