This disclosure relates to a method and apparatus for detecting an epileptic seizure in a subject.
An epileptic seizure occurs due to (temporary) abnormal activity in the brain. The outward (i.e. visible) signs of a seizure can vary, and can include uncontrolled movement (e.g. jerking), or a loss of awareness or consciousness. It is desirable to be able to monitor a subject to detect the occurrence of seizures (for example to monitor their frequency or severity, including in response to a treatment or medication). The ‘gold’ standard for assessing the type and severity of an epileptic seizure is by using an electroencephalogram (EEG) in combination with a video recording during a seizure. The EEG monitors the electrical activity in the brain. However, seizures happen randomly, and monitoring a subject using an EEG and video is cumbersome for the subject and expensive. If a subject does not regularly experience a seizure, there is currently no alternative type of monitoring system that can be used unobtrusively during normal life.
It is therefore an object to provide an alternative to the use of EEG in combination with a video recording for detecting an epileptic seizure in a subject.
According to a first specific aspect, there is provided an apparatus for detecting an epileptic seizure in a subject, the apparatus comprising a processing unit configured to obtain head movement measurements, wherein the head movement measurements are measurements of movements of a head of the subject; obtain pupil position measurements, wherein the pupil position measurements are measurements of a position of a pupil in a visible part of an eye of the subject; process the head movement measurements relating to a time period to determine if the head moved in the time period; and, if the head moved in the time period, process the head movement measurements and the pupil position measurements for the time period to determine whether the subject experienced a seizure in the time period.
According to a second aspect, there is provided a method of detecting an epileptic seizure in a subject, the method comprising obtaining head movement measurements, wherein the head movement measurements are measurements of movements of a head of the subject; obtaining pupil position measurements, wherein the pupil position measurements are measurements of a position of a pupil in a visible part of an eye of the subject; processing the head movement measurements relating to a time period to determine if the head moved in the time period; and if the head moved in the time period, processing the head movement measurements and the pupil position measurements for the time period to determine whether the subject experienced a seizure in the time period.
According to a third aspect, there is provided a computer program product comprising a computer readable medium having computer readable code embodied therein, the computer readable code being configured such that, on execution by a suitable computer or processor, the computer or processor is caused to perform the method according to the second aspect or any embodiment thereof.
These and other aspects will be apparent from and elucidated with reference to the embodiment(s) described hereinafter.
Exemplary embodiments will now be described, by way of example only, with reference to the following drawings, in which:
The method and apparatus described herein aim to detect an epileptic seizure in a subject by analysing whether (and if so, how) a pupil in an eye of the subject (or the pupils in both eyes) moves when the head of the subject moves. Thus, measurements indicating movements of the head of the subject are analysed in conjunction with measurements indicating the position of a pupil on a visible part of the eye (or both pupils in both eyes) to determine if the subject is experiencing a seizure.
The apparatus 2 includes a processing unit 4 that controls the operation of the apparatus 2 and that can be configured to execute or perform the methods described herein. In particular, the processing unit 4 can process measurements of movements of the head of the subject and measurements of the position of a pupil on a visible part of the eye to determine if the subject is experiencing a seizure. The processing unit 4 can be implemented in numerous ways, with software and/or hardware, to perform the various functions described herein. The processing unit 4 may comprise one or more microprocessors or digital signal processor (DSPs) that may be programmed using software or computer program code to perform the required functions and/or to control components of the processing unit 4 to effect the required functions. The processing unit 4 may be implemented as a combination of dedicated hardware to perform some functions (e.g. amplifiers, pre-amplifiers, analog-to-digital convertors (ADCs) and/or digital-to-analog convertors (DACs)) and a processor (e.g., one or more programmed microprocessors, controllers, DSPs and associated circuitry) to perform other functions. Examples of components that may be employed in various embodiments of the present disclosure include, but are not limited to, conventional microprocessors, DSPs, application specific integrated circuits (ASICs), and field-programmable gate arrays (FPGAs).
The processing unit 4 is connected to a memory unit 6 that can store data, information and/or signals for use by the processing unit 4 in controlling the operation of the apparatus 2 and/or in executing or performing the methods described herein. For example, the memory unit 6 can store measurements of movements of the head of the subject and/or measurements of the position of a pupil on a visible part of the eye prior to processing by the processing unit 4. The memory unit 4 can also or alternatively store intermediate products produced by the processing unit 4 during the processing according to the techniques described herein, and/or the output of the seizure detection (e.g. ‘seizure detected’, or ‘no seizure detected’). In some implementations the memory unit 6 stores computer-readable code that can be executed by the processing unit 4 so that the processing unit 4 performs one or more functions, including the methods described herein. The memory unit 6 can comprise any type of non-transitory machine-readable medium, such as cache or system memory including volatile and non-volatile computer memory such as random access memory (RAM) static RAM (SRAM), dynamic RAM (DRAM), read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM) and electrically erasable PROM (EEPROM), implemented in the form of a memory chip, an optical disk (such as a compact disc (CD), a digital versatile disc (DVD) or a Blu-Ray disc), a hard disk, a tape storage solution, or a solid state device, including a memory stick, a solid state drive (SSD), a memory card, etc.
In some embodiments, the apparatus 2 can include interface circuitry 8 for enabling a data connection to and/or data exchange with other devices, including any one or more of servers, databases, user devices, and sensors. The interface circuitry 8 may be used to communicate the outcome of the seizure detection techniques (e.g. ‘seizure detected’, or ‘no seizure detected’) to another device, for example to obtain assistance for the subject if a seizure is detected. The connection may be direct or indirect (e.g. via the Internet), and thus the interface circuitry 8 can enable a connection between the apparatus 2 and a network, such as the Internet, via any desirable wired or wireless communication protocol. For example, the interface circuitry 8 can operate using WiFi, Bluetooth, Zigbee, or any cellular communication protocol (including but not limited to Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), Long Term Evolution (LTE), LTE-Advanced, etc.). In the case of a wireless connection, the interface circuitry 8 (and thus apparatus 2) may include one or more suitable antennas for transmitting/receiving over a transmission medium (e.g. the air). Alternatively, in the case of a wireless connection, the interface circuitry 8 may include means (e.g. a connector or plug) to enable the interface circuitry 8 to be connected to one or more suitable antennas external to the apparatus 2 for transmitting/receiving over a transmission medium (e.g. the air). The interface circuitry 8 is connected to the processing unit 4.
In some embodiments, the apparatus 2 can include a user interface 10 that includes one or more components that enables a user of apparatus 2 to input information, data and/or commands into the apparatus 2, and/or enables the apparatus 2 to output information or data to the user of the apparatus 2. The user interface 10 can comprise any suitable input component(s), including but not limited to a keyboard, keypad, one or more buttons, switches or dials, a mouse, a track pad, a touchscreen, a stylus, an image capture device, a microphone, etc., and the user interface 10 can comprise any suitable output component(s), including but not limited to a display screen, one or more lights or light elements, one or more loudspeakers, a vibrating element, etc.
As noted above, the processing unit 4 is to process measurements of movements of the head of the subject and measurements of the position of a pupil on a visible part of the eye to determine if the subject is experiencing a seizure. These measurements are obtained by a head movement sensor and a pupil position sensor, and, in some embodiments, the head movement sensor and pupil position sensor are part of the apparatus 2. In other embodiments, the head movement sensor and pupil position sensor are separate from the apparatus 2, and the sensor measurements are communicated to the apparatus 2 for analysis. In other embodiments, one of the head movement sensor and pupil position sensor are part of the apparatus 2, and the other one is separate from the apparatus 2, with the measurements from that sensor being communicated to the apparatus 2.
In
The head movement sensor (including the head movement sensor 12 in
The pupil position sensor (including the pupil position sensor 14 in
The position of the pupil 26 can be measured or represented in a number of different ways. In some embodiments, the position of the pupil 26 can be measured or represented in terms of a distance and direction of the pupil 26 from a particular part of the visible part 22 of the eye 24 (e.g. a distance and direction of the pupil 26 from the centre of the visible part 22). In other embodiments, the position of the pupil 26 can be measured or represented in terms of an angle of rotation of the eye 24/pupil 26 and direction of rotation of the pupil 26 from a particular part of the visible part 22 of the eye 24 (e.g. an angle of rotation and a direction of rotation of the pupil 26 from the centre of the visible part 22 of the eye 24). In other embodiments, the position of the pupil 26 can be represented as one of a discrete number of positions (e.g. one of P1-P5 illustrated in
In some embodiments, the pupil position sensor 14 is an image capture device that is positioned to observe one or both of the subject's eyes and capture a video sequence or a series of images of the eye(s), with the video sequence/images being processed or analysed (e.g. by the processing unit 4) to identify the position of the pupil 24 in one or both of the eyes of the subject over time. Those skilled in the art will be aware of various processing techniques that can be used to process a video sequence or images to determine a pupil position (e.g. those techniques relating to determining a gaze direction), and further details are not provided herein. The image capture device may be positioned to directly observe one or both of the subject's eyes, or the image capture device may be positioned to observe one or both of the subject's eyes via one or more minors and/or lenses.
Those skilled in the art will also be aware of other types of sensors that can be used to measure the position of a pupil in an eye of a subject. For example, a sensor located in or on a contact lens that is worn on the eye of the subject can be used to measure the position of a pupil. Suitable sensors include an accelerometer, a magnetometer and a gyroscope. In another example, the subject can wear a contact lens that serves as a ‘tag’ for the eye, and the position of the tag (and thus the pupil position) can be monitored by a remote sensor (for example in or on a pair of glasses or a base station located in the environment). As another example, an ultrasound sensor can be used to determine the position of the pupil.
In some embodiments, the positions of both pupils 24 are to be evaluated by the processing unit 4, in which case a second pupil position sensor 14 can be used to provide measurements of the position of the pupil in the other eye, or a video sequence/images of both eyes from a single image capture device can be analysed to determine the positions of both pupils.
The apparatus 2 can be any type of electronic device or computing device. For example the apparatus 2 can be, or be part of, a server, a computer, a laptop, a tablet, a smartphone, a smartwatch, a pendant, a pair of spectacles (glasses), a personal help button (PHB) device, etc. Thus, in some embodiments the apparatus 2 is portable, e.g. in a form that can be carried or worn by the subject, and this may particularly be the case where the apparatus 2 includes the head movement sensor 12 and/or pupil position sensor 14. In some preferred embodiments, the apparatus 2 may include the head movement sensor 12 and pupil position sensor 14 and be in a form that can be worn on the head. Thus, for example, the apparatus 2 can be in the form of a pair of spectacles or a head band.
It will be appreciated that a practical implementation of an apparatus 2 may include additional components to those shown in
The flow chart in
The method in
In a first step, step 101, measurements of the movements of the head of the subject are obtained. This step can comprise actively measuring the head movements using the head movement sensor 12 and obtaining a measurement signal, or retrieving previously-obtained measurements from a memory, e.g. from memory unit 6. Depending on the type of sensor used to measure the head movements, step 101 may comprise performing some processing on the measurements (e.g. an acceleration signal or video sequence) to extract the head movement information. Depending on whether the method in
In a second step, step 103, measurements of the pupil position in at least one eye of the subject are obtained. This step can comprise actively measuring the pupil position using the pupil position sensor 14 and obtaining a measurement signal, or retrieving previously-obtained measurements from a memory, e.g. from memory unit 6. Depending on the type of sensor used to measure the pupil position, step 103 may comprise performing some processing on the measurements (e.g. a video sequence) to extract the pupil position information. As with step 101, depending on whether the method in
According to the techniques described herein, the head movements and pupil positions are analysed to identify typical patterns or combinations of movements and pupil positions that occur during a seizure (in order to detect a seizure) and that occur normally (i.e. when a seizure is not occurring). As described in more detail below, the seizure detection is based on analysing the pupil position over time when the head of the subject is moving.
A seizure can last for several seconds or even several minutes, and these patterns or combinations may only be detectable over the duration of the seizure. As such, in the subsequent steps of
As noted above, the seizure detection is based on analysing the pupil position over time when the head of the subject is moving. Thus, in step 105, it is determined whether the measurements of the head movements indicate that the subject's head is moving. Step 105 relates to a subset of the head movement measurements (i.e. for a time period relating to a time window), and thus in step 105 it can be determined whether there is any movement of the head of the subject during that time period. Step 105 can comprise comparing the magnitude of the head movements in the head movement measurements to a threshold value, and determining that there is movement of the head of the subject if the magnitude exceeds the threshold value, or determining that there is movement of the head of the subject if the magnitude exceeds the threshold value for at least a minimum period of time (e.g. one second). In another implementation, step 105 can comprise double integrating the movement measurements according to a moving window. For example, using a window width of 1 second, it is assumed that the head has zero velocity at the start of the window (this value can be refined using the computed velocity at that moment in time from the preceding windows), and the movement measurements (e.g. acceleration) are double integrated (compensating for gravity) to determine the displacement at the end of the window (i.e. after 1 second, in this example). If this displacement exceeds a threshold value, then it can be determined that the head is moving. In another implementation of step 105, the acceleration-based head movement measurements can be summed or integrated between zero crossings of the head accelerations (after compensating for gravity), and the result of the sum can be compared to a threshold value. If the threshold value is exceeded, then head movement is detected. In the case of a rotation or orientation sensor (e.g. a gyroscope), step 105 can comprise determining that the head is moving if the amount of rotation or change in orientation exceeds a threshold value.
If no head movements (or insufficient head movements) are occurring within the time period, then the method is not able to determine if a seizure is occurring and the method can return to steps 101 and 103 so further measurements can be obtained (in the real-time/near real-time case), or the time window can be shifted along the measurements to select a new subset of measurements. In either case, when a new subset of measurements is available, step 105 is repeated for those measurements.
If there are head movements at at least some point in the time period, then the measurements of the head movements and the measurements of the pupil position for the time period are processed in step 106 to determine whether the subject experienced a seizure in the time period.
As noted below, in step 106 seizures can be detected by testing the measurements of the head movements and the measurements of the pupil position for various patterns or characteristics, and, depending on the particular patterns or characteristics that are detected in the measurements, seizures can be detected with varying levels of confidence.
In a first test/step of step 106, it is determined in step 107 whether there is/was a change in pupil position at the time that head movement occurred. For example, for any part of the time period where head movement occurred, it is determined from the pupil position measurements whether there was a change in pupil position. Where discrete pupil positions are identified, a change in pupil position may be where there is a change in the discrete pupil position, e.g. from P2 to P1 (as shown in
If it is determined that there was no change in pupil position when head movements were occurring, then this is an indication that a seizure may have occurred (as indicated by box 109). When a person (that is not experiencing a seizure) moves their head (e.g. turns to the left), the eyes tend to move in the head to focus on different objects/elements/features in the environment as the head moves/turns. When a subject is experiencing a seizure, the subject may not be focussing (or be able to focus) on any feature in the environment, and this pupil movement may not occur as the head moves. This combination of head movement and lack of pupil movement is a reasonably reliable indicator of a seizure (since it is almost impossible for the head to move without the eye moving relative to the head), and thus a seizure detected by the negative outcome of step 107 is deemed to have a high confidence. This combination of head movement but no pupil movement for a subject is illustrated in
After detecting a possible seizure in step 109, the method returns to steps 101/103 (or step 105) and repeats for a new subset of measurements.
It will be appreciated that if there are different head movements at several points during the time period (which are identified in step 105), then step 107 can comprise determining if there was a change in pupil position during each separate head movement. In that case, step 107 can provide a respective decision outcome for each separate head movement (as each head movement could be during a seizure).
If it is determined in step 107 that there was a change in pupil position during the head movement, then a seizure has not yet been detected (and indeed no seizure may have occurred). The method can then pass to step 111, in which it is determined whether a pupil position change started at the same time as the head movement.
If it is determined that the change in pupil position did not occur at the same time that a head movement started, then this is an indication that a seizure may have occurred (as indicated by box 113). In practical terms, when a person (that is not experiencing a seizure) moves their head (e.g. turns to the left), the eyes tend to move at the same time that the head movement starts to either focus on different objects/elements/features in the environment in the direction that the head is turning (so the eye is ‘looking ahead’ as the head turns), or the gaze of the subject remains fixed on an object/element/feature in the environment as the head moves/turns (which means that the pupil position moves in an opposite direction to the direction in which the head turns, e.g. when the head turns to the left, the pupil moves to the right to maintain the subject's gaze on an object). When a subject is experiencing a seizure, this change in pupil position the subject may not occur when the head starts to move. This combination of head movement and lack of pupil movement at the start of the head movement provides a slightly less reliable indicator of a seizure compared to the ‘no’ outcome of step 107, and thus a seizure detected by the negative outcome of step 111 is deemed to have a medium confidence.
After detecting a possible seizure in step 113, the method returns to steps 101/103 (or step 105) and repeats for a new subset of measurements.
It will be appreciated that if there are different head movements at several points during the time period (which are identified in step 105) during which a pupil position change occurred (as determined in step 107), then step 111 can comprise determining if there was a change in pupil position at the start of each separate head movement. In that case, step 111 can provide a respective decision outcome for each separate head movement (as each head movement could be a seizure).
It will be appreciated that in step 111 it may not be required to detect a pupil position change at precisely the same time that a head movement started, so some tolerance between the start time of the head movement and the occurrence of a pupil position change can be permitted (for example the pupil position change can be detected to be at the same time as the start of the head movement if the pupil position change occurred within a threshold amount of time to the start of a head movement, such as within 10's or 100's of milliseconds, ms, e.g. 100 ms).
If it is determined in step 111 that there was a change in pupil position at the time that the head movement started, then a seizure has not yet been detected (and indeed no seizure may have occurred). The method can then pass to step 115, in which it is determined whether the pupil position change at the start of the head movement was in the same direction as the head movement (for example, if the head movement was a turn to the left, did the pupil position change to the left at the start of that head turn?).
The direction in which the head has moved can be determined from the head movement measurements (e.g. by analysis of the orientation of the head over time), and likewise the direction in which the pupil position has changed can be determined from the pupil position measurements. Where the direction of movement of the head and direction of pupil position change is measured relatively precisely (e.g. in terms of a number of degrees), step 115 can determine that the head movement was in the ‘same’ direction as the pupil position change at the start of the head movement is they are within a threshold value of each other (e.g. within 20°, or within 10°).
In an alternative implementation of step 115, step 115 can comprise determining an average direction of head movement over a time window (e.g. 0.1 seconds, 0.2 s, 0.5 s or 1 s) and an average direction of pupil position change over the time window, and comparing the average directions. The average direction could be given by the difference between the position at the start and end of the window.
If it is determined that the change in pupil position at the start of the head movement was in the same direction as the head movement, then this is an indication that a seizure has not occurred, and the method returns to steps 101/103 (or step 105) and repeats for a new subset of measurements. This would occur in the ‘looking ahead’ example above, i.e. where the eyes tend to move to focus on different objects/elements/features in the environment ahead of the direction that the head is turning.
If it is determined in step 115 that the change in pupil position at the start of the head movement was not in the same direction, then it is not yet possible to determine if a seizure has occurred, and the method passes to step 117 where it is determined whether the change in pupil position at the start of the head movement was in the opposite direction to the head movement. For example, if the head movement is a turn to the left, step 117 determines whether the pupil position change is to the right (as opposed to, for example, a pupil position change upwards or downwards). As with step 115, where the direction of movement of the head and direction of pupil position change is measured relatively precisely (e.g. in terms of a number of degrees), step 117 can determine that the head movement was in the ‘opposite’ direction as the pupil position change at the start of the head movement is they are within a threshold value of being 180° apart (e.g. within 20° of being 180° apart, or within 10° of being 180° apart).
If it is determined in step 117 that the change in pupil position at the start of the head movement was not in the opposite direction to the head movement (and it is known from step 115 that the change was not in the same direction as the head movement), then this is an indication that a seizure may have occurred (as indicated by box 119). Since this step is reached in the event of a particularly unusual combination of head movements and eye movements, there is a high confidence that a seizure has occurred.
After detecting a possible seizure in step 119, the method returns to steps 101/103 (or step 105) and repeats for a new subset of measurements.
If it is determined in step 117 that the change in pupil position at the start of the head movement was in the opposite direction to the head movement, then a seizure has not yet been detected (and indeed no seizure may have occurred). The method can then pass to step 121.
In step 121, it is determined if the change in angle of the pupil in the eye is equal and opposite to the change in angle of the head. For example, when a subject is engaging in conversation with another person and nods their head while maintaining eye contact with the other person, then the change in the angle of the pupil in the eye is equal and opposite to the change in the angle of the head (i.e. the head nods downwards by an amount and the pupil moves upwards by the same amount to maintain eye contact). This is illustrated in
If in step 121 it is determined that the change in angle of the pupil in the eye is equal and opposite to the change in angle of the head (e.g. as in
If it is determined in step 121 that the change in angle of the pupil was not equal and opposite to the change in angle of the head, then this is an indication that a seizure may have occurred (as indicated by box 123). Since this step is reached in the event of a particularly unusual combination of head movements and eye movements, there can be a very high confidence that a seizure has occurred. The method can return to steps 101/103 (or step 105) and repeat for a new subset of measurements.
It will be appreciated that where the measurements are obtained of the pupil position for both eyes of the subject, both sets of pupil position measurements can be processed to detect if a seizure has occurred. In some embodiments, the measurements of pupil position for each eye can be analysed individually (e.g. the flow chart in
There is therefore provided an efficient and relatively unobtrusive technique for detecting an epileptic seizure in a subject.
Variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the principles and techniques described herein, from a study of the drawings, the disclosure and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. A computer program may be stored or distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope.
Number | Date | Country | Kind |
---|---|---|---|
18189731.5 | Aug 2018 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2019/072046 | 8/16/2019 | WO | 00 |