Question:

The spike-and-wave complex of the EEG is detected using:

Show Hint

When an algorithm needs to detect a specific shape or wave morphology in a biomedical signal (like an EEG spike-and-wave or an ECG QRS complex), structural Template Matching or matched filtering is preferred over basic frequency filtering.
Updated On: Jun 23, 2026
  • HPF
  • LPF
  • Wiener filter
  • Template Matching
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Concept: Electroencephalogram (EEG) signals record the electrical activity generated by cerebral cortical neurons. Certain neurological disorders, most notably epilepsy, exhibit highly distinct, time-localized morphological patterns in the EEG trace called spike-and-wave complexes. These episodic transient complexes are structurally characterized by a sharp, high-voltage upward or downward spike lasting between 20 to 70 milliseconds, immediately followed by a slower, higher-amplitude wave component lasting from 150 to 500 milliseconds.
Template Matching Technique: This pattern recognition and signal matching methodology calculates the mathematical degree of similarity or correlation between a known, pre-recorded or synthetic reference waveform (the template) and the incoming continuous real-time multi-channel signal stream. When the geometric shape of the moving EEG window aligns perfectly with the morphological contour of the template, the correlation metric reaches a distinct peak, reliably signaling a detection event.

Step 1: Analyzing why standard frequency filtering methods fail.

A spike-and-wave complex contains a broad, non-stationary frequency spectrum. The sharp transient spike is composed of high-frequency components, whereas the broad, trailing slow wave is made up of low-frequency oscillations.
High-Pass Filter (HPF): If an HPF is used, it will successfully retain the sharp spike but will completely eliminate or distort the slow wave component, failing to detect the complete complex.
Low-Pass Filter (LPF): If an LPF is used, it will retain the slow wave but smooth out and eliminate the sharp high-frequency spike, removing the crucial clinical indicator.
Wiener Filter: The Wiener filter is a linear estimation filter designed to minimize mean-square error by assuming wide-sense stationary signals and noise. It is optimized for reducing steady background noise based on power spectral densities rather than isolating specific, transient, non-stationary waveforms.

Step 2: Understanding the template matching mechanism.

Because a spike-and-wave complex has a distinct structural morphology, template matching cross-correlates a representative waveform template, $w[m]$ of length $M$, across the input EEG sequence, $x[n]$. This is mathematically implemented via the normalized cross-correlation coefficient, $\gamma[n]$, which ensures amplitude-scale invariance: \[ \gamma[n] = \frac{\sum_{m=0}^{M-1} x[n+m] \cdot w[m]}{\sqrt{\sum_{m=0}^{M-1} x^2[n+m] \sum_{m=0}^{M-1} w^2[m]}} \] When the signal segment closely resembles the template, $\gamma[n]$ approaches 1. When $\gamma[n]$ crosses a pre-defined threshold, the system flags the presence of a spike-and-wave complex. This reliance on morphology over simple frequency isolation makes template matching the superior choice, validating Option (D).
Was this answer helpful?
0
0