This article provides a systematic comparison of motion artifact (MA) correction techniques for functional near-infrared spectroscopy (fNIRS) and electroencephalography (EEG), two pivotal non-invasive neuroimaging tools.
This article provides a systematic comparison of motion artifact (MA) correction techniques for functional near-infrared spectroscopy (fNIRS) and electroencephalography (EEG), two pivotal non-invasive neuroimaging tools. Aimed at researchers, scientists, and drug development professionals, it explores the fundamental origins of MAs rooted in each technology's distinct physiological signal source—hemodynamic for fNIRS and electrical for EEG. The review methodically categorizes and evaluates hardware-based and algorithmic correction methods, including traditional signal processing and emerging deep-learning approaches. It further offers practical guidelines for troubleshooting and optimizing data quality in real-world experimental scenarios and discusses standardized validation metrics. By synthesizing the strengths and limitations of MA correction across modalities, this guide aims to empower the design of robust neuroimaging studies and enhance the reliability of data in clinical and research applications.
This section details the core physiological signals measured by fNIRS and EEG, providing a foundation for understanding the motion artifacts that corrupt them.
fNIRS is a non-invasive optical brain imaging technique that monitors hemodynamic changes in the cerebral cortex. It uses near-infrared light to measure concentration changes of oxyhemoglobin (HbO) and deoxyhemoglobin (HbR) in the blood, which are correlated with neural activity [1] [2] [3]. This hemodynamic response is a slow, metabolic process, typically lasting several seconds, and shares a physiological basis with the BOLD signal measured in fMRI [1].
EEG measures the brain's spontaneous electrical activity from the scalp surface in a non-invasive fashion. It reflects the current flow from synchronized postsynaptic excitations of multiple pyramidal neurons in the cerebral cortex [4]. The amplitude of these signals is very small, typically ranging from 20 to 200 microvolts, and is categorized into different frequency bands (delta, theta, alpha, beta, gamma) associated with various brain states [4].
The diagram below illustrates the fundamental differences in the origin and nature of these two signals.
Figure 1: Core Signaling Pathways for fNIRS and EEG
This section addresses the most common issues researchers face regarding motion artifacts in fNIRS and EEG experiments.
Q1: Why are motion artifacts particularly problematic in wearable fNIRS and EEG systems compared to traditional lab setups?
Motion artifacts are exacerbated in wearable systems due to a combination of factors: uncontrolled environments, subject mobility, and the use of dry or semi-dry electrodes that offer less stable contact with the scalp than traditional wet electrodes [5] [4]. Furthermore, wearable systems often have a reduced number of channels (typically below 16), which limits the effectiveness of spatial filtering techniques like Independent Component Analysis (ICA) that are standard in high-density lab systems [5].
Q2: What are the primary physical causes of motion artifacts in each modality?
Q3: How can I quickly identify a motion artifact in my fNIRS or EEG data?
Q4: When should I use trial rejection versus motion correction algorithms?
Trial rejection (removing contaminated data segments) is a safe and straightforward method. It is most suitable when the number of motion artifacts is low and the total number of trials is high [1]. However, in studies with vulnerable populations (e.g., infants, clinical patients) or challenging paradigms where the number of trials is limited, trial rejection may not be feasible. In these cases, motion correction algorithms are essential to retain enough data for a meaningful analysis [1] [8]. For pediatric fNIRS, it is almost always better to correct for motion artifacts than to reject trials [8].
Q5: Which motion correction technique should I start with for my specific application?
The choice of technique depends on your signal modality, data quality, and computational resources. The following table summarizes the performance of key algorithms as reported in the literature.
Table 1: Performance Comparison of Motion Artifact Correction Techniques
| Technique | Modality | Reported Performance | Key Strengths | Primary Use Case |
|---|---|---|---|---|
| Wavelet-based (WPD-CCA) [10] [2] | EEG | Avg. ΔSNR: 30.76 dB, Avg. Artifact Reduction: 59.51% [10] [2] | Effective for non-stationary signals, strong noise reduction. | Single-channel EEG & fNIRS denoising. |
| iCanClean [9] | EEG | Improved ICA dipolarity; effective P300 ERP recovery during running. | Leverages noise references; excellent for locomotion studies. | Mobile EEG with motion (running, walking). |
| Artifact Subspace Reconstruction (ASR) [5] [9] | EEG | Reduced power at gait frequency; improved component dipolarity. | Fast, automated; good for multi-channel data. | Online preprocessing of high-density EEG. |
| Moving Average (MA) [8] | fNIRS (Pediatric) | Ranked among best for pediatric data in comparative study [8]. | Simple, effective for certain artifact types. | Pediatric fNIRS with diverse artifacts. |
| Motion-Net (Deep Learning) [7] | EEG | Avg. Artifact Reduction: 86%, Avg. ΔSNR: 20 dB [7] | Subject-specific, high accuracy, uses visibility graph features. | High-accuracy removal for single-trial, mobile EEG. |
This section provides detailed methodologies for implementing some of the most effective motion correction techniques cited in this guide.
This protocol, validated for single-channel EEG and fNIRS, combines Wavelet Packet Decomposition (WPD) with Canonical Correlation Analysis (CCA) for robust artifact removal [10] [2].
The workflow for this advanced technique is outlined below.
Figure 2: WPD-CCA Motion Correction Workflow
This protocol is designed for multi-channel mobile EEG studies involving whole-body movement like walking or running [9].
This table lists essential hardware and algorithmic "reagents" for conducting and correcting mobile neuroimaging studies.
Table 2: Essential Research Reagents and Materials
| Item Name | Type | Function & Application | Key Consideration |
|---|---|---|---|
| Dry/Semi-Dry Electrodes | Hardware | Enables rapid setup for EEG without conductive gel; ideal for frequent use [5] [4]. | Higher electrode-skin impedance, potentially more susceptible to motion artifacts [5]. |
| Dual-Layer Electrodes | Hardware | Specialized EEG electrodes with a dedicated noise sensor layer mechanically coupled to the active electrode; provides a pure noise reference for algorithms like iCanClean [9]. | Maximizes motion artifact removal efficacy but may not be available on all systems. |
| Accelerometer/Gyroscope (IMU) | Hardware | Provides independent measure of head movement; used as a reference signal for adaptive filtering (e.g., in fNIRS ABAMAR method) or to detect motion events [3]. | Requires synchronization with neuroimaging data and integration into the processing pipeline. |
| Collodion-Fixed Fibers | Hardware | Secures fNIRS optodes to the scalp with a strong, glue-like substance; significantly reduces optode movement [1] [8]. | Increases setup time and requires expertise for application and safe removal. |
| Wavelet Packet Families (dbN, fkN) | Algorithmic | A library of mathematical functions (e.g., Daubechies, Fejer-Korovkin) used to decompose signals for denoising; choice of wavelet impacts performance [10] [2]. | db1 and fk8 wavelets reported as particularly effective for EEG and fNIRS, respectively [10] [2]. |
| iCanClean Algorithm | Algorithmic | A software tool that uses CCA and reference noise signals to remove motion artifacts from EEG, improving ICA decomposition [9]. | Most effective with dual-layer electrodes but can work with pseudo-references; excellent for locomotion studies. |
| Artifact Subspace Reconstruction (ASR) | Algorithmic | A real-time-capable EEG cleaning algorithm that uses PCA to remove high-variance components based on a clean calibration period [5] [9]. | Performance is sensitive to the calibration data quality and the "k" threshold parameter [9]. |
What are the fundamental physical causes of motion artifacts in fNIRS and EEG?
Motion artifacts in both fNIRS and EEG arise from physical movements that disrupt the delicate sensor-scalp interface. However, the underlying physical principles differ due to the distinct signals each technology measures.
In fNIRS, the primary issue is the disruption of optical coupling. Motion causes an imperfect contact between the optodes (light sources and detectors) and the scalp, leading to displacement, non-orthogonal contact, or oscillation of the optodes [3]. This decoupling results in significant, rapid changes in the intensity of the detected near-infrared light, which are recorded as large, non-physiological spikes or baseline shifts in the hemodynamic signal [1].
In EEG, artifacts originate from multiple phenomena within the electrical measurement chain [11]:
Why are some types of head movement more problematic than others?
Research indicates that the type of movement influences the severity and correctability of the artifact. For instance, studies in simultaneous EEG-fMRI have shown that head shaking produces a more complex motion artifact that is harder to correct compared to head nodding [12]. This is likely due to non-rigid body movement of the skull and skin during a shake, which creates a larger discrepancy between the artifact measured on the scalp and any reference signal used for correction [12]. In fNIRS, movements like upward and downward motions or repeated rotations have been shown to particularly compromise signal quality, with susceptibility varying across different scalp regions [13].
How can I identify a motion artifact in my recorded data?
Motion artifacts typically manifest as high-amplitude, abrupt signal changes. The table below summarizes their key characteristics in each modality.
Table 1: Characteristics of Motion Artifacts in fNIRS and EEG
| Feature | fNIRS Artifacts [3] [1] | EEG Artifacts [11] |
|---|---|---|
| Common Morphologies | High-amplitude spikes, baseline shifts, and low-frequency shifts. | Baseline shifts (low-freq.), spike-like transients (high-freq.), and modulated PLI. |
| Typical Causes | Head movement (nod, shake), jaw movement (talking, eating), facial muscle activity (eyebrow raising), and body movement. | Cable tugging, electrode shift/slip, muscle twitches in neck/head, and gait-related head movements. |
| Spectral Content | Can span a wide range, often overlapping with the hemodynamic response (<0.1 Hz). | Broadband, overlapping with the entire EEG spectrum (0.1-100 Hz). |
What are the most effective strategies for correcting motion artifacts?
Correction strategies can be broadly divided into hardware-based solutions and algorithmic (signal processing) approaches.
Table 2: Motion Artifact Correction Methods for fNIRS and EEG
| Method Category | fNIRS Solutions | EEG Solutions |
|---|---|---|
| Hardware-Based | Use of accelerometers or Inertial Measurement Units (IMUs) to record motion for reference [3]. Fixed prism-based optical fibers and headposts [3]. | Active electrodes and high-input-impedance amplifiers [14]. Small, lightweight passive electrodes (e.g., microelectrodes) [14]. Strain relief stickers to prevent cable pull. |
| Algorithmic (Software) | Wavelet Filtering: Identifies and removes artifacts in the wavelet domain [1] [15].Temporal Derivative Distribution Repair (TDDR): Assumes motion derivatives are large outliers and down-weights them [15].Spline Interpolation (e.g., MARA): Detects and replaces artifact segments with spline curves [15].Correlation-Based Signal Improvement (CBSI): Leverages the negative correlation between HbO and HbR [15]. | iCanClean: A modern method that uses pseudo-reference noise signals and deep learning for effective denoising [16].Artifact Subspace Reconstruction (ASR): Identifies and removes high-variance components indicative of artifacts [16].Wavelet & CCA Hybrid (WPD-CCA): A two-stage method that first decomposes then cleans the signal [17]. |
What is the experimental evidence supporting these correction methods?
Recent comparative studies have evaluated the performance of various algorithms on real and simulated data.
Objective: To systematically associate specific head movements with motion artifacts in fNIRS signals using ground-truth movement data [13].
Methodology:
Table 3: Key Resources for Motion Artifact Research
| Item | Function / Application |
|---|---|
| Accelerometer / Inertial Measurement Unit (IMU) | Provides a hardware-based reference signal of head motion for adaptive filtering in both fNIRS and EEG [3]. |
| MR-Compatible Optical Camera (e.g., Kineticor) | Tracks head and cap motion with high precision (e.g., ~10 μm) in controlled environments like MRI scanners, providing ground-truth motion data [12]. |
| Deep Neural Network for Computer Vision (e.g., SynergyNet) | Enables automated, frame-by-frame computation of head orientation angles from video recordings for ground-truth movement analysis [13]. |
| Reference Layer Cap (RLAS) | An EEG cap with paired, overlaid electrodes. One contacts the scalp, the other a reference layer, allowing direct measurement of the motion artifact for subtraction [12]. |
| Wavelet Toolbox Software | Provides algorithms for wavelet-based motion artifact correction, a top-performing method for both fNIRS and EEG [1] [17] [15]. |
| Conductive Hydrogel | Used to create a tight-fitting, conductive reference layer for EEG caps, improving artifact measurement and contact stability [12]. |
| Microelectrodes | Small, lightweight passive electrodes that minimize the movement artifact by reducing the surface area and pressure on the gel layer [14]. |
Motion artifacts represent a significant challenge in non-invasive neuroimaging, particularly for functional near-infrared spectroscopy (fNIRS) and electroencephalography (EEG). These artifacts can severely corrupt signal quality, leading to misinterpretation of neural data and potentially invalidating research findings. Understanding their precise morphology—categorized primarily as spikes, baseline shifts, and slow drifts—is fundamental to developing effective correction strategies. This guide provides technical support for researchers characterizing and addressing these artifacts within the context of both fNIRS and EEG studies, with particular relevance for drug development professionals monitoring neurological effects in clinical trials.
The fundamental difference in measurement principles between fNIRS (hemodynamic response) and EEG (electrical potentials) means that while motion artifacts manifest similarly in both modalities, their underlying generation mechanisms and optimal correction approaches differ significantly. Effective artifact management requires not only robust processing algorithms but also appropriate experimental design and hardware selection.
Motion artifacts in fNIRS and EEG signals can be classified into three primary morphological types based on their temporal characteristics and underlying causes. The table below summarizes the key features of each type.
Table 1: Morphological Types of Motion Artifacts in fNIRS and EEG
| Artifact Type | Temporal Signature | Amplitude Characteristics | Common Causes in fNIRS | Common Causes in EEG |
|---|---|---|---|---|
| Spikes | Sudden, high-frequency transients [1] [8] | High amplitude; 50-100 standard deviations from mean [8] | Rapid decoupling of optodes from scalp [1] | Electrode "pop" from impedance change [18] [19] |
| Baseline Shifts | Sustained signal displacement (1-30s) [8] | Large deviation (e.g., 300 SD from mean) [8] | Head movement altering optode-scalp contact [13] | Cable movement, triboelectric effect [19] [11] |
| Slow Drifts | Very gradual signal change (>30s) [8] | Slow baseline wandering [8] | Slow temperature changes, poor fit [3] | Perspiration, drying electrolyte gel [18] |
The brain region being measured and the nature of the experimental task significantly influence the type and severity of motion artifacts encountered.
This protocol is designed to systematically characterize motion artifacts in fNIRS signals using ground-truth movement data.
Objective: To associate specific head movements with motion artifact morphologies in fNIRS signals. Equipment:
Procedure:
This protocol focuses on identifying the physical sources of motion artifacts in EEG recordings, which is crucial for hardware and methodological improvements.
Objective: To model and identify the primary sources of motion artifacts in dynamic EEG recordings. Equipment:
Procedure:
Table 2: Key Research Reagents and Materials for Motion Artifact Research
| Item Name | Function/Application | Modality |
|---|---|---|
| Computer Vision Software (e.g., SynergyNet) | Provides frame-by-frame head orientation data for ground-truth movement analysis [13] | fNIRS |
| Inertial Measurement Units (IMUs) | Tracks head acceleration and movement for correlation with signal artifacts [20] [3] | fNIRS & EEG |
| Accelerometers | Used in Active Noise Cancellation (ANC) and ABAMAR methods for motion artifact removal [3] | fNIRS |
| Short-Separation Detectors | Helps isolate and subtract superficial, non-cerebral hemodynamic fluctuations [1] [3] | fNIRS |
| Collodion-Fixed Optical Fibers | Enhances optode-scalp coupling stability to reduce motion-induced decoupling [8] [3] | fNIRS |
| Active Electrodes | Reduces power line interference but may be comparable to passive electrodes for motion artifacts [19] [11] | EEG |
| Textile-Based Electrodes | Shows reduced sensitivity to motion artifacts but limited to hairless regions [19] [11] | EEG |
| Homer2/3 Software Package | Standard fNIRS processing package containing various motion correction algorithms [8] | fNIRS |
Q1: What are the most effective software-based techniques for correcting motion artifacts in fNIRS signals?
Multiple comparative studies have identified several effective techniques. Wavelet-based filtering is consistently ranked among the top performers, particularly for handling spike-type artifacts [1] [8]. The moving average (MA) method has also been shown to yield excellent outcomes, especially in pediatric data [8]. For comprehensive correction, a hybrid approach combining spline interpolation and wavelet filtering is highly recommended. Spline interpolation effectively models and subtracts baseline shifts, while wavelet filtering targets spikes, resulting in a more robust correction across different artifact morphologies [21]. Studies using this hybrid method have reported channel improvement rates as high as 94.1% [21].
Q2: Why are traditional artifact removal techniques like ICA sometimes ineffective for motion artifacts in EEG?
Motion artifacts in EEG are often non-stationary and non-repetitive, meaning their shape and timing are highly variable and not time-locked to the movement in a predictable way [19] [11]. Furthermore, these artifacts can have spectral components that overlap completely with the typical EEG bandwidth (0.1–100 Hz), making it impossible to filter them out without also removing neural signals of interest [19] [11]. Unlike more stereotypical artifacts (e.g., eye blinks), the irregular nature of many motion artifacts makes it difficult for blind source separation techniques like ICA to isolate them reliably.
Q3: How can I objectively detect motion artifacts in my fNIRS data before applying correction algorithms?
A novel and effective method is Kurtosis-based Wavelet Detection (kbWD). This algorithm uses Continuous Wavelet Transform (CWT) to decompose the signal and then analyzes the kurtosis (the "tailedness") of the wavelet coefficient distribution [21]. Artifact segments tend to produce outlier coefficients that result in a high kurtosis value. The key advantage of kbWD is that it relies on a single threshold parameter (kurtosis) that demonstrates wide adaptability across different signal-to-noise ratios, making it more robust than methods requiring multiple user-defined thresholds [21].
Q4: What are the primary hardware-related sources of motion artifacts in EEG, and how can they be mitigated?
The main sources are:
Further advancements should focus on the transduction stage, including improved electrode technology and better interfacing with the acquisition system [19] [11].
The following diagram illustrates the logical workflow for characterizing and correcting motion artifacts, integrating both fNIRS and EEG modalities.
Diagram 1: Motion Artifact Characterization and Correction Workflow
Q1: Which neuroimaging modality is more susceptible to motion artifacts, fNIRS or EEG? EEG is significantly more susceptible to motion artifacts. It measures electrical potentials on the scalp, and even minor head movements or cable sway can cause significant signal contamination, appearing as high-amplitude spikes or shifts [22] [23]. fNIRS, which measures hemodynamic responses using light, is more robust and tolerant to subject movement, making it more suitable for studies involving walking, children, or real-world settings [22] [3].
Q2: What are the typical signatures of motion artifacts in fNIRS and EEG signals? The characteristics differ between the two modalities [1] [24]:
Q3: Is it better to reject data segments with motion artifacts or to correct them? For both fNIRS and EEG, the scientific consensus is that it is almost always better to correct for motion artifacts than to reject entire trials [1] [23]. Trial rejection is only feasible when the number of artifacts is low and the total number of trials is high. In many real-world studies, particularly with clinical populations or children, the number of trials is limited, and rejecting contaminated segments would lead to an unacceptable loss of data [1].
Q4: Can fNIRS and EEG be used together to overcome their individual limitations with motion? Yes, a multimodal EEG-fNIRS approach is increasingly used to leverage the strengths of each technique [22] [25] [26]. While this introduces integration challenges, such as ensuring sensor compatibility and synchronizing hardware, it provides a more comprehensive view of brain activity by combining EEG's millisecond-scale temporal resolution with fNIRS's better spatial resolution and motion tolerance [22] [25]. This hybrid approach can be particularly powerful for applications like brain-computer interfaces (BCIs) and neurofeedback [25] [27].
Problem: Your fNIRS data shows sudden, large spikes or slow, sustained baseline drifts, making it difficult to isolate the true hemodynamic response.
Solution: Implement a robust motion correction pipeline. Evidence suggests that a hybrid approach, which categorizes and treats different types of artifacts, is highly effective [24].
Recommended Protocol: A Hybrid fNIRS Motion Correction Approach This protocol is adapted from a method proven to enhance signal quality during long-term monitoring, such as sleep studies [24].
The following workflow outlines this hybrid correction process:
Problem: During walking or running, the EEG signal is overwhelmed by motion artifacts that are time-locked to the gait cycle, obscuring brain activity and degrading subsequent independent component analysis (ICA).
Solution: Preprocess the EEG data with advanced algorithms designed to handle motion artifacts before performing ICA. Recent research comparing methods during running tasks recommends the following [23]:
Recommended Protocol: Pre-ICA Motion Correction for Mobile EEG
The logical relationship for selecting a correction strategy is summarized below:
Table 1: Fundamental Characteristics of fNIRS and EEG Regarding Motion Tolerance
| Feature | EEG (Electroencephalography) | fNIRS (Functional Near-Infrared Spectroscopy) |
|---|---|---|
| What It Measures | Electrical activity from cortical neurons [22] | Hemodynamic response (blood oxygenation) [22] |
| Primary Motion Artifact Source | Electrode-scalp displacement, cable sway [23] | Optode-scalp decoupling [1] |
| Typical Artifact Signature | High-amplitude, high-frequency spikes [23] | Spikes, baseline shifts, low-frequency oscillations [1] [24] |
| Inherent Motion Tolerance | Low – highly susceptible to movement artifacts [22] | Moderate to High – more robust to subject movement [22] |
| Best Suited Experimental Environment | Highly controlled lab settings with minimal movement [22] | Naturalistic, mobile, and real-world contexts [22] |
Table 2: Performance Comparison of Motion Artifact Correction Algorithms
| Modality | Correction Method | Key Principle | Reported Efficacy | Important Considerations |
|---|---|---|---|---|
| fNIRS | Wavelet Filtering [1] | Multi-resolution analysis to isolate and remove artifacts | 93% reduction in artifact area in cognitive tasks [1] | Highly effective for spike-like and low-frequency artifacts [1] |
| fNIRS | Hybrid (Spline + Wavelet) [24] | Combines spline interpolation for BS & severe artifacts with wavelet for slight oscillations | Improves SNR and correlation in long-term data [24] | Addresses multiple artifact types; more complex pipeline [24] |
| fNIRS | WPD-CCA [28] | Two-stage: Wavelet Packet Decomposition + Canonical Correlation Analysis | ΔSNR: 16.55 dB; η: 41.40% for fNIRS [28] | Designed for single-channel analysis; outperforms many single-stage methods [28] |
| EEG | iCanClean [23] | Canonical Correlation Analysis with noise references | Recovers more dipolar ICs; reveals expected P300 effects during running [23] | Can use dedicated noise sensors or pseudo-references from EEG [23] |
| EEG | Artifact Subspace Reconstruction (ASR) [23] | Sliding-window PCA to remove high-variance components | Reduces power at gait frequency; improves ICA dipolarity [23] | Performance depends on calibration data and "k" parameter setting [23] |
| EEG | WPD-CCA [28] | Two-stage: Wavelet Packet Decomposition + Canonical Correlation Analysis | ΔSNR: 30.76 dB; η: 59.51% for EEG [28] | Effective for single-channel EEG correction [28] |
Table 3: Essential Materials and Algorithms for Motion Artifact Research
| Item / Solution | Function / Description | Relevance to Motion Correction |
|---|---|---|
| Accelerometer / IMU | A small sensor that measures motion and acceleration. | Often used as a hardware-based solution to provide a reference noise signal for adaptive filtering in both fNIRS and EEG studies [3]. |
| Cubic Spline Interpolation | A mathematical method for constructing a smooth curve that passes through a set of points. | A core technique in fNIRS correction for modeling and subtracting baseline shifts and severe motion artifacts [24]. |
| Wavelet Transform | A signal processing technique that decomposes a signal into different frequency components. | The foundation of many powerful algorithms (e.g., Wavelet, WPD) for both fNIRS and EEG to isolate and remove motion-related spikes and oscillations [1] [28] [24]. |
| Canonical Correlation Analysis (CCA) | A statistical method for finding relationships between two sets of multidimensional variables. | Used in advanced methods like WPD-CCA and iCanClean to identify and remove subspaces of the signal that are highly correlated with motion noise [23] [28]. |
| Dual-Layer EEG Electrodes | Specialized EEG electrodes that include a separate sensor layer that is mechanically coupled but not in contact with the scalp. | Provides a "pure" noise reference for motion artifact correction algorithms like iCanClean, significantly improving their efficacy [23]. |
| Structured Sparse Multiset CCA (ssmCCA) | A advanced data fusion technique. | Used in multimodal EEG-fNIRS studies to fuse data from both modalities and identify brain activity consistently detected by both, enhancing result validity [26]. |
Motion artifacts represent one of the most significant challenges in non-invasive neuroimaging, particularly for functional near-infrared spectroscopy (fNIRS) and electroencephalography (EEG) research. These unwanted signals caused by participant movement can completely obscure genuine neural activity, leading to misinterpreted data and compromised research outcomes [8]. The portability that makes fNIRS and EEG valuable for real-world experiments also renders them vulnerable to motion artifacts, creating a critical tension in mobile brain imaging research. This technical support guide examines how artifacts impact data integrity across these modalities and provides evidence-based troubleshooting strategies to protect research validity.
Motion artifacts are unwanted signals introduced into neuroimaging data by physical movement. In fNIRS, these artifacts occur when motion causes relative displacement between optical fibers and the scalp, leading to rapid shifts in optical coupling and baseline measurements [29]. In EEG, motion artifacts arise from multiple sources including muscle twitches, electrode displacement, and head movements during walking, which cause baseline shifts and periodic oscillations [7].
The fundamental threat to data integrity stems from the magnitude of motion artifacts, which is typically far greater than the subtle changes associated with genuine neural activity. Motion artifacts can completely obscure the hemodynamic responses in fNIRS or mask neural electrical activity in EEG, making it difficult or impossible to detect the actual brain signals of interest [8] [29]. This is particularly problematic in pediatric populations, clinical patients, and naturalistic study designs where movement is unavoidable.
While both modalities are susceptible to motion artifacts, the nature and impact of these artifacts differ significantly:
fNIRS Artifacts:
EEG Artifacts:
Table 1: Motion Artifact Classification in fNIRS and EEG
| Category | fNIRS Artifact Types | EEG Artifact Types | Primary Impact |
|---|---|---|---|
| Short Duration | Type A (Spikes) | Muscle Twitches | Mimics event-related responses |
| Medium Duration | Type B (Peaks) | Electrode Displacement | Obscures rhythmic brain activity |
| Long Duration | Types C & D (Slopes/Shifts) | Head Movement | Masks baseline signals |
| Prevention Challenge | Optode-scalp coupling | Electrode-scalp interface | Both require stable physical contact |
Research directly comparing motion correction techniques provides crucial guidance for method selection. A systematic comparison of fNIRS motion correction techniques found that all four major approaches significantly reduced mean-squared error and increased contrast-to-noise ratio compared to no correction or trial rejection [29].
Table 2: Performance Comparison of fNIRS Motion Correction Techniques
| Correction Method | MSE Reduction | CNR Improvement | Best Use Case |
|---|---|---|---|
| Spline Interpolation | 55% (Highest) | Moderate | Preserving HRF shape accuracy |
| Wavelet Analysis | Moderate | 39% (Highest) | General purpose applications |
| Principal Component Analysis | Significant | Significant | Multi-channel datasets |
| Moving Average | Significant | Significant | Pediatric populations [8] |
| Kalman Filtering | Significant | Significant | Real-time applications |
For EEG signals, novel approaches combining wavelet packet decomposition with canonical correlation analysis (WPD-CCA) have demonstrated impressive performance, achieving motion artifact reduction of 59.51% for EEG and 41.40% for fNIRS signals [17] [28]. The difference in SNR (ΔSNR) improved by 30.76 dB for EEG and 16.55 dB for fNIRS using these techniques [28].
Problem: Researchers struggle to distinguish motion artifacts from genuine neural signals.
Solution: Implement systematic artifact detection:
For fNIRS:
hmrMotionArtifactbyChannel in HOMER2 with parameters set for your artifact type (e.g., tMotion=1.0, tMask=1.0, STDthresh=50.0, AMPthresh=5.0) [8]For EEG:
Problem: Overwhelming method selection leads to suboptimal correction.
Solution: Match correction technique to research context:
For pediatric fNIRS studies:
For EEG in mobile applications:
For real-time processing requirements:
Problem: Post-hoc correction cannot fully recover data quality compromised by excessive motion.
Solution: Implement preventive strategies:
Table 3: Essential Tools for Motion Artifact Research
| Resource/Tool | Function | Application Context |
|---|---|---|
| HOMER2 Software Package | Comprehensive fNIRS processing including motion correction algorithms | fNIRS data analysis, particularly with block designs [8] |
| Wavelet Toolbox | Signal decomposition for artifact separation | Both EEG and fNIRS signal processing [17] |
| Accelerometer Data | Reference signal for motion artifact regression | Mobile EEG studies, real-world movement paradigms [7] |
| Structured Sparse Multiset CCA | Multimodal data fusion for improved artifact identification | Simultaneous EEG-fNIRS studies [26] |
| Custom Head Caps | Improved optode/electrode stability during movement | Pediatric populations, clinical patients [8] |
| Deep Learning Frameworks | Subject-specific artifact removal (e.g., Motion-Net, U-Net) | Large datasets, individual subject analysis [7] [30] |
For researchers implementing wavelet-based correction methods based on published successful approaches [17] [28]:
Signal Preparation
Wavelet Packet Decomposition
Canonical Correlation Analysis (for hybrid method)
Validation
For studies employing simultaneous EEG-fNIRS recording [26]:
Synchronized Data Collection
Structured Sparse Multiset Canonical Correlation Analysis (ssmCCA)
Cross-validation
The field of motion artifact correction is rapidly evolving, with machine learning approaches showing significant promise. Deep learning methods like Denoising Auto-Encoders (DAE) and U-Net architectures can reconstruct clean hemodynamic responses even from heavily contaminated signals [30]. These approaches are particularly valuable for real-world applications where traditional methods struggle with complex, non-stationary artifacts.
As research continues, the integration of multiple approaches—combining hardware improvements, sophisticated signal processing, and artificial intelligence—holds the greatest potential for effectively managing motion artifacts while preserving the neural signals that underpin research validity in cognitive neuroscience and clinical applications.
Problem: When using Principal Component Analysis (PCA) for motion artifact removal, the brain signal is often partially removed along with the artifact, leading to signal loss and inaccurate physiological interpretation [31].
Solution: Implement Targeted PCA (tPCA) tPCA applies PCA only to pre-identified segments of data containing motion artifacts, rather than the entire dataset. This confines the correction to noisy periods and preserves clean signal segments [31].
Steps:
Considerations:
Problem: High-degree spline interpolation can cause excessive oscillation or "ringing" near sharp artifacts, distorting the underlying physiological signal [32].
Solution: Use Cubic Splines and Focus on Artifact Segments Cubic splines (3rd degree) are generally optimal, providing a smooth fit without the high-frequency oscillations common with higher-order splines [32]. Techniques like the Movement Artifact Reduction Algorithm (MARA) use this principle effectively [31].
Steps:
Considerations:
Problem: Simple Moving Average (MA) filters are ineffective at removing motion artifacts because the artifact's frequency content often overlaps with the frequency band of the desired brain signal [33].
Solution: Combine with Correlation-Based Methods or Use Alternative Filters The Moving Average filter alone is not a robust solution for motion artifacts in fNIRS or EEG. For sporadic noise, a moving average filter can be sufficient [34], but for motion artifacts, consider these alternatives:
FAQ 1: Can I use PCA or ICA for single-channel EEG/fNIRS data? No. Standard Principal Component Analysis (PCA) and Independent Component Analysis (ICA) require at least two or more input channels to separate components based on covariance or statistical independence [28]. For single-channel data, you must use techniques that operate on a single signal, such as:
FAQ 2: What is the most effective single-technique for motion artifact correction? There is no single "best" technique, as performance depends on the artifact type and signal modality. However, hybrid methods that combine multiple techniques consistently outperform single-method approaches. For instance:
FAQ 3: How do I choose between the many artifact correction algorithms? Base your choice on the nature of your data and the algorithm's strengths:
The following tables summarize the performance of various motion artifact correction techniques as reported in recent studies. This data can help you select an appropriate method for your research.
Table 1: Performance of Deep Learning and Decomposition Techniques on EEG Signals
| Technique | Signal Modality | Key Metric | Reported Performance | Key Advantage |
|---|---|---|---|---|
| Motion-Net (CNN) [7] | EEG | Artifact Reduction (η) | 86% ± 4.13 | Subject-specific training; uses Visibility Graph features. |
| SNR Improvement | 20 ± 4.47 dB | |||
| WPD-CCA (2-stage) [28] | EEG | Artifact Reduction (η) | 59.51% | Designed for single-channel signals. |
| ΔSNR | 30.76 dB | |||
| WPD (1-stage) [28] | EEG | Artifact Reduction (η) | 53.48% | Simpler, single-stage approach. |
| ΔSNR | 29.44 dB |
Table 2: Performance of Various Algorithms on fNIRS Signals
| Technique | Key Metric | Reported Performance | Key Characteristics |
|---|---|---|---|
| WCBSI (Wavelet + CBSI) [31] | Ranking | Best overall performance | Combines advantages of wavelet and correlation methods. |
| WPD-CCA (2-stage) [28] | Artifact Reduction (η) | 41.40% | Effective for single-channel fNIRS. |
| ΔSNR | 16.55 dB | ||
| CBSI [31] | General Performance | Effective for spikes & baseline shifts | Fully automated; assumes negative HbO-HbR correlation. |
| Spline Interpolation (MARA) [31] | General Performance | Effective for baseline shifts | Performance depends on accurate artifact detection. |
| Wavelet Filter [31] | General Performance | Effective for spikes and drift | Fully automated; no need for artifact detection. |
| tPCA [31] | General Performance | Reduces over-correction vs. PCA | Complex; many user parameters. |
| PCA [31] | General Performance | Can over-correct the signal | Requires multiple channels. |
This two-stage protocol is designed for robust artifact removal from single-channel EEG or fNIRS data [28].
This protocol combines the strengths of wavelet filtering and correlation-based logic for fNIRS signals [31].
Table 3: Key Materials and Computational Tools for Motion Artifact Research
| Item Name | Function / Application | Relevance in Research |
|---|---|---|
| Accelerometer [7] [33] | Hardware-based motion tracking. | Provides a reference signal for motion onset and intensity, used to validate artifact detection or as an input for adaptive filters [34]. |
| Visibility Graph (VG) Features [7] | A signal feature extraction method. | Converts time-series signals into graph structures, providing features that enhance deep learning model accuracy, especially with smaller datasets [7]. |
| Canonical Correlation Analysis (CCA) [28] | A statistical multivariate method. | Used to separate artifact components from brain signals, particularly in hybrid methods like WPD-CCA for single-channel analysis [28]. |
| Wavelet Packet Decomposition (WPD) [28] | A signal decomposition technique. | Provides a more detailed frequency breakdown than standard wavelet transform, forming the first stage of powerful hybrid correction algorithms [28]. |
| HOMER3 Software Toolkit [31] | An open-source fNIRS processing software. | Provides a standardized platform with integrated functions (PCA, tPCA, CBSI, Wavelet, Spline) for developing and comparing artifact correction methods [31]. |
| U-Net Convolutional Neural Network [7] | A deep learning architecture for signal reconstruction. | The backbone of the Motion-Net model, enabling subject-specific motion artifact removal from EEG signals with high accuracy [7]. |
Motion artifacts represent a significant challenge in non-invasive neuroimaging, particularly for electroencephalography (EEG) and functional near-infrared spectroscopy (fNIRS). These artifacts arise from participants' movements—such as head motion, jaw clenching, or eyebrow raising—which create imperfect contact between sensors and the scalp, leading to signal corruption that can mask genuine brain activity and produce false positives or negatives in research data [3]. The portable nature of both EEG and fNIRS technology makes them particularly vulnerable to these artifacts, as they're often used in naturalistic settings where movement restriction is impractical. While both modalities suffer from motion artifacts, the fundamental nature of the corruption differs: EEG records electrical signals distorted by motion-induced changes in electrode-scalp contact, whereas fNIRS optical signals are affected by changes in light transmission path and scalp blood volume [17] [3]. Wavelet-based denoising has emerged as a particularly powerful approach for addressing these artifacts in both modalities due to its ability to handle non-stationary signals and localize transient artifacts in time-frequency space.
Wavelet transform operates on fundamentally different principles compared to traditional Fourier analysis. While Fourier transform decomposes signals into frequency components that exist throughout the entire signal duration, wavelet analysis uses localized basis functions (wavelets) that can be shifted and scaled to capture both frequency content and temporal localization [35]. This multi-resolution analysis capability makes wavelet transforms exceptionally suited for physiological signals like EEG and fNIRS, which contain non-stationary characteristics and transient artifacts that need to be identified and removed without distorting the underlying neural signals of interest.
The two primary implementations of wavelet analysis are Discrete Wavelet Transform (DWT) and Continuous Wavelet Transform (CWT). DWT is computationally efficient and decomposes signals into approximation and detail coefficients through a series of high-pass and low-pass filters, followed by downsampling [35]. In contrast, CWT provides a more redundant representation that can be advantageous for detailed time-frequency analysis but requires greater computational resources. A more advanced variant, Wavelet Packet Decomposition (WPD), further generalizes DWT by decomposing both the approximation and detail coefficients at each level, creating a complete binary tree structure that offers finer frequency resolution in the higher frequency bands [17] [28].
The mathematical properties of wavelet transforms align exceptionally well with the characteristics of both EEG and fNIRS signals:
Non-stationarity handling: Brain signals are inherently non-stationary, with statistical properties that change over time, making traditional frequency-domain filtering suboptimal [35].
Multi-scale analysis: Wavelets naturally separate signals into different frequency bands, aligning well with the conventional frequency bands used in EEG analysis (delta, theta, alpha, beta, gamma) and the characteristic frequencies of hemodynamic responses in fNIRS [35].
Transient detection: The localized nature of wavelets enables precise identification and characterization of motion artifacts, which typically manifest as short-duration, high-amplitude transients in both EEG and fNIRS recordings [17] [3].
Adaptability: Different wavelet families (Daubechies, Symlets, Coiflets, etc.) can be selected based on their similarity to the signal characteristics of interest, providing flexibility in optimizing the denoising approach for specific applications [17] [28].
Researchers typically use several standardized metrics to evaluate the effectiveness of artifact removal techniques:
ΔSNR (Change in Signal-to-Noise Ratio): Measures the improvement in signal quality after processing, calculated as the difference between output and input SNR in decibels (dB) [17] [28].
η (Percentage Reduction in Motion Artifacts): Quantifies the percentage of artifact power removed from the contaminated signal [17] [28].
Residual Variance: Assesses the amount of signal variance remaining after regression-based methods, particularly for fNIRS with short-channel regression [36].
Similarity Metrics: Correlation coefficients (e.g., Pearson's r) between processed signals and ground truth measurements, when available [36].
Table 1: Performance Comparison of Wavelet-Based Methods for EEG Motion Artifact Removal
| Method | Wavelet Type | Average ΔSNR (dB) | Average Artifact Reduction (η%) | Computational Complexity |
|---|---|---|---|---|
| WPD (Single-stage) | db2 | 29.44 | 53.48% | Medium |
| WPD (Single-stage) | db1 | 28.45 | 54.12% | Medium |
| WPD-CCA (Two-stage) | db1 | 30.76 | 59.51% | High |
| EWT-PCA | N/A | 28.26 | Not Reported | Medium-High |
| EMD-CCA | N/A | 27.82 | 55.30% | High |
Table 2: Performance Comparison of Wavelet-Based Methods for fNIRS Motion Artifact Removal
| Method | Wavelet Type | Average ΔSNR (dB) | Average Artifact Reduction (η%) | Compatible Signal Types |
|---|---|---|---|---|
| WPD (Single-stage) | fk4 | 16.11 | 26.40% | Single-channel |
| WPD-CCA (Two-stage) | db1 | 16.55 | 41.40% | Single-channel |
| WPD-CCA (Two-stage) | fk8 | 15.89 | 42.15% | Single-channel |
| Wavelet-MA | N/A | Not Reported | Superior in pediatric data | Multi-channel |
| WCBSI | N/A | Not Reported | Consistently favorable | Multi-channel |
For reproducible results in wavelet-based denoising studies, researchers typically follow standardized protocols:
Data Acquisition Specifications:
Benchmark Datasets:
The two-stage WPD-CCA method has demonstrated superior performance for both EEG and fNIRS denoising [17] [28]:
Stage 1: Signal Decomposition
Stage 2: Artifact Removal via CCA
Parameter Optimization:
For EEG denoising, the EWT-based approach has shown promising results [37]:
Signal Decomposition:
Artifact Suppression:
Performance Validation:
Problem: Poor artifact removal performance with specific wavelet types
Problem: Over-smoothing or excessive signal distortion
Problem: Inconsistent performance across subjects or sessions
Problem: High computational load preventing real-time application
Problem: Memory issues with long-duration recordings
Problem: Integration with existing preprocessing pipelines
Q1: Which wavelet family performs best for EEG versus fNIRS signals? Research indicates that Daubechies wavelets (particularly db1 and db2) achieve optimal performance for EEG signals, while Fejer-Korovkin wavelets (fk4, fk8) demonstrate superior results for fNIRS data [17] [28]. This difference stems from the distinct signal characteristics: EEG contains more transient neural oscillations better matched by Daubechies wavelets, while fNIRS hemodynamic responses are smoother and better captured by Fejer-Korovkin filters.
Q2: When should I choose single-stage versus two-stage wavelet approaches? Single-stage WPD works well for mild to moderate motion artifacts and offers computational efficiency for real-time applications. The two-stage WPD-CCA approach demonstrates significantly better performance (11-56% improvement in artifact reduction) for severe motion artifacts and is recommended when signal fidelity is paramount, despite higher computational demands [17] [28].
Q3: How does wavelet performance compare to other popular artifact removal methods? Wavelet-based methods consistently outperform or match alternative approaches across both modalities. For EEG, WPD-CCA surpasses EMD-based and PCA-based methods in ΔSNR. For fNIRS, wavelet methods demonstrate particular advantage in pediatric populations where motion artifacts are more pronounced compared to traditional approaches like spline interpolation or moving average [8] [17].
Q4: Can wavelet methods distinguish motion artifacts from physiological artifacts? Advanced wavelet approaches can partially differentiate artifact types through their characteristic time-frequency signatures. Motion artifacts typically manifest as high-amplitude, short-duration transients across multiple frequency bands, while physiological artifacts (cardiac, respiratory) show more periodic patterns. However, for severe contamination, combined approaches like WPD-CCA or hybrid wavelet-accelerometer methods may be necessary [35] [3].
Q5: What are the limitations of wavelet-based denoising approaches? Primary limitations include the sensitivity to parameter selection (wavelet type, decomposition level, thresholding method), potential for over-smoothing of neural signals with aggressive thresholding, computational demands for high-density arrays, and challenge in completely removing artifacts that spectrally overlap with neural signals of interest [17] [3].
Table 3: Essential Research Tools for Wavelet-Based Denoising Implementation
| Tool/Category | Specific Examples | Function/Purpose | Compatibility |
|---|---|---|---|
| Programming Environments | MATLAB, Python, Julia | Algorithm implementation and signal processing | EEG/fNIRS |
| Wavelet Toolboxes | MATLAB Wavelet Toolbox, PyWavelets, EEGLAB | Pre-built wavelet functions and utilities | EEG/fNIRS |
| Neuroimaging Suites | Homer2 (fNIRS), EEGLAB, BrainVision Analyzer | Integration with existing preprocessing pipelines | EEG/fNIRS |
| Data Acquisition Systems | ActiChamp (EEG), TechEN CW6 (fNIRS), NIRx | Hardware interface and signal recording | EEG/fNIRS |
| Validation Tools | Accelerometers, 3D motion capture | Ground truth motion tracking | EEG/fNIRS |
| Benchmark Datasets | Physionet EEG, fNIRS motor tasks | Method validation and comparison | EEG/fNIRS |
Wavelet-based denoising represents a powerful, flexible approach for addressing the critical challenge of motion artifacts in both EEG and fNIRS research. The method's strong performance stems from its mathematical compatibility with the non-stationary, multi-scale characteristics of neurophysiological signals. Current evidence demonstrates that advanced implementations like WPD-CCA can achieve impressive artifact reduction (59.51% for EEG, 41.40% for fNIRS) while preserving neural signal integrity [17] [28].
Future developments in wavelet denoising will likely focus on several key areas: (1) increased integration with machine learning approaches for automated parameter selection and artifact classification; (2) development of standardized, modality-specific protocols to improve reproducibility across laboratories; (3) optimization for real-time implementation in brain-computer interface and neurofeedback applications; and (4) hybrid approaches that combine wavelet methods with auxiliary hardware (accelerometers, IMUs) for improved artifact characterization [36] [3].
For researchers implementing these methods, we recommend beginning with single-stage WPD using modality-appropriate wavelets (db1 for EEG, fk4 for fNIRS) for mild artifacts, progressing to two-stage WPD-CCA for more challenging cases. Systematic validation using both quantitative metrics (ΔSNR, η) and functional outcomes (task activation, classification accuracy) remains essential for ensuring method efficacy in specific research contexts.
This technical support center provides guidance on implementing advanced multi-stage signal processing techniques for motion artifact correction. Within the broader thesis context of comparing fNIRS and EEG research, this resource focuses specifically on the novel combination of Wavelet Packet Decomposition (WPD) and Canonical Correlation Analysis (CCA), a two-stage approach that demonstrates enhanced performance over single-stage methods for both EEG and fNIRS signals [28] [17]. The following guides and FAQs address specific implementation challenges researchers may encounter during their experiments.
Q1: What is the fundamental performance advantage of using a two-stage WPD-CCA approach over single-stage WPD?
The two-stage WPD-CCA approach consistently outperforms single-stage WPD across both EEG and fNIRS modalities. The key advantage lies in its ability to more effectively separate motion artifacts from neural signals through sequential processing. Research demonstrates that WPD-CCA provides significant improvements in both signal-to-noise ratio enhancement and percentage reduction of motion artifacts [28].
Table: Performance Comparison of WPD vs. WPD-CCA
| Signal Modality | Method | Best Average ΔSNR (dB) | Best Average η (%) | Optimal Wavelet |
|---|---|---|---|---|
| EEG | WPD | 29.44 | 53.48 | db2 (ΔSNR), db1 (η) |
| EEG | WPD-CCA | 30.76 | 59.51 | db1 |
| fNIRS | WPD | 16.11 | 26.40 | fk4 |
| fNIRS | WPD-CCA | 16.55 | 41.40 | db1 (ΔSNR), fk8 (η) |
Q2: Which wavelet packet families are most effective for motion artifact correction in fNIRS versus EEG?
Research indicates that different wavelet packet families yield optimal results for EEG versus fNIRS signals, and the choice also depends on whether using single-stage or multi-stage approaches [28]:
Q3: Is it methodologically acceptable to use different motion correction parameters across subjects in a study?
No, this practice introduces significant methodological concerns. Experts strongly recommend maintaining consistent processing streams and parameters across all subjects to avoid introducing subjective bias into your results [39]. While some researchers report adjusting parameters like amplitude thresholds based on visual inspection of individual subject data, this practice risks producing artificially optimized results rather than objectively comparable data [39].
Q4: In what order should motion correction and stimulus rejection be applied in the processing pipeline?
Motion correction should be applied before stimulus rejection [39]. The rationale is that effective motion correction can preserve trials that would otherwise be rejected due to artifacts, thereby increasing the usable data for analysis and improving statistical power.
Problem: The WPD-CCA method is not providing the expected level of motion artifact reduction reported in literature (e.g., ~59.51% for EEG, ~41.40% for fNIRS) [28].
Solutions:
Problem: After applying WPD-CCA, the processed signal shows distortion of neural components or elimination of expected physiological patterns.
Solutions:
Problem: WPD-CCA performs well on some subjects but poorly on others, creating dataset inconsistencies.
Solutions:
Purpose: To provide a standardized methodology for implementing the WPD-CCA motion artifact correction technique for single-channel EEG or fNIRS signals, enabling reproducible results and valid cross-study comparisons.
Materials and Equipment:
Table: Research Reagent Solutions
| Reagent/Resource | Function/Application |
|---|---|
| Daubechies Wavelet Packets (db1, db2, db3) | Signal decomposition for EEG and fNIRS |
| Fejér-Korovkin Wavelet Packets (fk4, fk6, fk8) | Signal decomposition, particularly effective for fNIRS |
| CCA Algorithm | Identification and separation of artifact components |
| Benchmark Dataset [28] | Method validation and performance comparison |
| ΔSNR and η Metrics [28] | Quantitative performance evaluation |
Step-by-Step Procedure:
Validation Metrics:
Purpose: To quantitatively validate the efficacy of WPD-CCA implementation against established benchmarks and alternative methods.
Comparative Framework:
The WPD-CCA method represents a significant advancement in motion artifact correction for both EEG and fNIRS signals, offering substantially improved performance over single-stage approaches. By following the standardized protocols and troubleshooting guides provided in this technical support resource, researchers can effectively implement this technique in their experiments, leading to more reliable and interpretable results in neuroimaging research.
Q1: Our deep learning model for motion artifact removal is overfitting to the training data. What strategies can we use to improve generalization?
A1: Overfitting is a common challenge, particularly with limited datasets. Based on recent research, you can employ several strategies:
Q2: For a real-time BCI application, which type of learning-based model should we prioritize for motion artifact correction?
A2: For real-time applications, processing speed and low latency are critical.
Q3: How can we effectively remove large motion artifacts that completely overwhelm the underlying neural signal?
A3: Large artifacts that mask the brain signal require a detection step before correction.
Q4: What is a major advantage of using a deep learning autoencoder over traditional methods like ICA for artifact removal?
A4: The key advantage is the automation and elimination of manual intervention.
This protocol outlines the procedure for real-time motion artifact suppression in fNIRS signals using a novel 1D Convolutional Neural Network [41].
This protocol describes a subject-specific deep learning approach for removing motion artifacts from mobile EEG (mo-EEG) signals [7].
Table 1: Performance Benchmarks of Learning-Based Motion Artifact Removal Methods
| Model | Modality | Key Metric | Reported Performance | Reference |
|---|---|---|---|---|
| 1D CNN with Penalty (1DCNNwP) | fNIRS | Signal-to-Noise Ratio (SNR) Improvement | > 11.08 dB improvement | [41] |
| Motion-Net (U-Net CNN) | EEG | Artifact Reduction (η) / SNR Improvement | 86% ± 4.13 / 20 ± 4.47 dB | [7] |
| Motion-Net (U-Net CNN) | EEG | Mean Absolute Error (MAE) | 0.20 ± 0.16 | [7] |
| WPD-CCA (Two-Stage) | EEG | ΔSNR / Artifact Reduction (η) | 30.76 dB / 59.51% | [28] |
| WPD-CCA (Two-Stage) | fNIRS | ΔSNR / Artifact Reduction (η) | 16.55 dB / 41.40% | [28] |
Table 2: The Scientist's Toolkit: Key Research Reagents & Materials
| Item / Algorithm | Function in Experiment | Relevance to fNIRS vs. EEG |
|---|---|---|
| Accelerometer (IMU) | Provides a reference signal for motion detection. Used in hardware-based and some model-based correction methods. | More critical for fNIRS where optode movement causes artifacts. Also used in mobile EEG for correlation [3] [7]. |
| Visibility Graph (VG) Features | Transforms EEG time-series into graph structures, providing topological features that improve deep learning model accuracy on smaller datasets. | Primarily featured in EEG research to enhance feature input for CNNs [7]. |
| Balloon Model | A physiological model used to generate simulated, clean fNIRS hemodynamic responses for training deep learning models. | Specific to fNIRS as it simulates the hemodynamic response function (HRF) [41]. |
| Wavelet Packet Decomposition (WPD) | A signal processing technique that provides an adaptive time-frequency decomposition of a signal, used to isolate artifactual components. | Applied to both EEG and fNIRS as a pre-processing step for single-channel artifact correction [28]. |
| Canonical Correlation Analysis (CCA) | A statistical method applied after WPD to identify and remove components with the highest correlation to the artifact. | Used in both modalities as part of a hybrid, two-stage artifact removal framework [28]. |
Diagram 1: 1D CNN with Penalty Network Architecture.
Diagram 2: Autoencoder Workflow for Artifact Detection & Correction.
Motion artifacts represent a significant challenge in mobile neuroimaging, particularly for functional near-infrared spectroscopy (fNIRS) and electroencephalography (EEG). These artifacts arise from imperfect contact between sensors (electrodes for EEG, optodes for fNIRS) and the scalp during subject movement, causing signal distortions that can obscure genuine brain activity signals [3]. Hardware-based solutions utilizing accelerometers and inertial measurement units (IMUs) provide a reference-based noise cancellation approach by directly measuring the motion causing these artifacts, enabling more effective separation of motion-induced noise from true neurophysiological signals [45] [3].
The fundamental principle behind IMU-based motion artifact correction involves using motion data from accelerometers and gyroscopes as a reference signal in adaptive filtering frameworks. These systems operate on the premise that motion artifacts in physiological signals correlate with physical movement measured by IMUs, allowing for the creation of a noise reference that can be subtracted from the contaminated signal [45] [3].
This diagram illustrates the core signaling pathway for IMU-based motion artifact correction. The mechanical movement of a subject is simultaneously transduced into (1) electrical motion signals via IMU sensors and (2) motion artifacts that corrupt the physiological signals of interest. These inputs are processed through an adaptive filter, which uses the motion reference to estimate and subtract the artifact component from the contaminated signal [45].
The physical configuration of motion sensors significantly impacts the effectiveness of artifact correction. Research demonstrates that attaching IMUs to individual electrodes provides superior artifact removal compared to using a single IMU for an entire recording system, as it captures local motion variations at each measurement point [45].
Table: IMU Configuration Approaches for Motion Artifact Correction
| Configuration Approach | Implementation | Advantages | Limitations |
|---|---|---|---|
| Per-Electrode/Optode IMUs | Individual IMUs attached to each recording element [45] | Captures local motion variations; Enables channel-specific correction | Increased system complexity; Higher power requirements |
| Single System IMU | One IMU attached to the main recording unit [3] | Simplified design; Lower cost | Cannot detect local motion differences between channels |
| Multi-Sensor Hybrid | Combination of IMUs with other sensors (e.g., optical motion capture) [3] | Comprehensive motion tracking; Enhanced correction accuracy | Maximum complexity; Cost-prohibitive for many applications |
Implementing IMU-based motion correction requires careful hardware integration and signal processing. The following workflow outlines the key stages in establishing an effective motion correction system:
Successful hardware implementation requires attention to several technical aspects. For EEG applications, researchers have developed active electrode designs incorporating miniature low-power three-axis accelerometer and gyroscope IMUs (such as the STMicroelectronics LSM6DS3) mounted directly on individual electrode printed circuit boards (PCBs). This approach maintains balance with a circular PCB design weighing approximately 1.7g with 18mm diameter, using snap connectors compatible with standard wet and dry electrodes [45].
In fNIRS systems, accelerometers have been integrated through various approaches including Adaptive Filtering, Active Noise Cancellation (ANC), Accelerometer-Based Motion Artifact Removal (ABAMAR), and Acceleration-Based Movement Artifact Reduction Algorithm (ABMARA) [3]. These implementations typically place accelerometers on the optode holders or headgear to capture motion directly at the source-scalp interface.
The core signal processing methodology employs normalized least mean square (NLMS) adaptive filtering, which uses the IMU-derived motion signals as a reference input to estimate and subtract motion artifacts from the contaminated physiological signals [45]. Critical processing steps include:
IMU Signal Conditioning: Raw acceleration signals often require integration to velocity using cumulative trapezoidal numerical integration, as research indicates velocity correlates better with motion artifacts in bio-signals [45]. Gyroscope data typically undergoes filtering with a third-order Savitzky-Golay filter to reduce high-frequency noise.
Bio-signal Preprocessing: EEG signals are filtered with Butterworth fourth-order zero-phase bandpass filters (0.16-40 Hz), while fNIRS signals undergo conversion to optical density changes before motion correction [45] [8]. Notch filtering (47.5-52.5 Hz) removes mains line interference.
Adaptive Filter Implementation: The NLMS algorithm adaptively weights the motion reference signal to optimally fit the motion artifact component in the physiological signal, then subtracts this estimated artifact to recover the cleaned signal.
Q: What should I do if my IMU and EEG/fNIRS signals are not synchronized properly?
A: Implement hardware synchronization using a common clock signal or trigger mechanism. In post-processing, use clear temporal markers (such as sharp taps on the sensors) to align data streams. Research shows that proper synchronization can increase correlation between motion artifacts and accelerometer signals from 0.52 to 0.80 after alignment [7].
Q: How can I minimize the additional weight and bulk of IMUs on my EEG cap or fNIRS headgear?
A: Use miniature IMU components like the LSM6DS3 (used in recent research) and distribute weight evenly across the headgear. Balanced circular PCB designs approximately 18mm in diameter and weighing 1.7g have been successfully implemented without causing significant additional movement due to weight [45].
Q: Why does my adaptive filter perform poorly even with apparently good motion signals?
A: This may occur because acceleration signals sometimes correlate poorly with motion artifacts. Try integrating acceleration to velocity, as studies show velocity often has better correlation with motion artifacts in bio-signals [45]. Also ensure your motion sensors are capturing relevant movement axes.
Q: How do I handle different types of motion artifacts (spikes, slow drifts, etc.) with IMU-based methods?
A: Different artifact types may require tailored approaches. Research classifies motion artifacts into four types: Type A (spikes, >50 SD within 1s), Type B (peaks, 1-5s duration), Type C (gentle slopes, 5-30s), and Type D (baseline shifts, >30s) [8]. Ensure your motion reference signals adequately capture the frequency content of these different artifact types.
Q: What sampling rates should I use for IMUs in motion artifact correction?
A: Sample IMU data at rates sufficient to capture relevant motion frequencies. Research implementations typically use matching sampling rates for bio-signals and IMUs (e.g., 220Hz for EEG/ECG applications) [45]. Higher sampling rates may be necessary for capturing rapid head movements.
Q: When should I use gyroscope data in addition to accelerometer data?
A: Incorporate gyroscope data when rotational movements are significant in your experimental paradigm. Studies using both accelerometers and gyroscopes filter gyroscope data with a third-order Savitzky-Golay filter to reduce high-frequency noise before use in adaptive filtering [45].
Researchers should employ multiple metrics to validate motion correction performance:
Table: Performance Metrics for Motion Artifact Correction
| Metric | Calculation | Interpretation | Typical Values |
|---|---|---|---|
| ΔSNR (Signal-to-Noise Ratio Improvement) | SNRafter - SNRbefore | Higher values indicate better noise reduction | 16-30dB in successful implementations [28] [7] |
| η (Artifact Reduction Percentage) | (Artifactpowerbefore - Artifactpowerafter) / Artifactpowerbefore × 100% | Percentage of artifact power removed | 41-87% in effective corrections [28] [7] |
| MAE (Mean Absolute Error) | 1/n × Σ|cleanedsignal - groundtruth| | Lower values indicate better preservation of true signal | 0.20 ± 0.16 in high-performance systems [7] |
| Data Quality Score | Correlation between cleaned signals and known sources | 0-100% scale measuring signal fidelity | Improved from 15.7% to 55.9% in phantom tests [46] |
Research comparing motion correction techniques demonstrates that hardware-based approaches offer distinct advantages. In fNIRS studies with pediatric populations (typically noisier than adult data), moving average and wavelet methods have shown particular effectiveness [8]. For EEG applications, the novel iCanClean algorithm, which can incorporate reference signals, outperformed other methods in phantom tests, improving data quality scores from 15.7% to 55.9% when multiple artifacts were present [46].
Table: Essential Research Components for IMU-Based Motion Correction
| Component Category | Specific Examples | Function/Purpose | Implementation Notes |
|---|---|---|---|
| IMU Sensors | STMicroelectronics LSM6DS3 [45] | Measures acceleration and angular rotation | 3-axis accelerometer & gyroscope; 16-bit sampling; Low power |
| Microcontroller Units | Arm Cortex-M0 (e.g., Simblee RFD77101) [45] | Data acquisition and system control | 10-bit ADC; BLE capability; Sufficient I/O for multiple sensors |
| Bio-Signal Amplifiers | Instrumentation Amplifiers (e.g., Texas Instruments INA128) [45] | Amplifies weak physiological signals | High gain (e.g., 501); High common-mode rejection ratio |
| Active Electrode Components | Precision operational amplifiers (e.g., Linear Technology LTC6078) [45] | Buffering and signal conditioning at electrode site | Dual-channel; Low-power; Unity gain configuration |
| fNIRS System Components | ninjaNIRS22 system components [47] | Whole-head fNIRS acquisition | 56 sources, up to 192 detectors; Open-hardware design |
| Validation Tools | Electrical phantom heads with embedded sources [46] | Algorithm validation and performance testing | Known ground-truth signals; Controlled artifact introduction |
Hardware-based solutions utilizing accelerometers and IMUs provide effective reference-based noise cancellation for motion artifacts in fNIRS and EEG research. The integration of motion sensors directly at the measurement sites (electrodes or optodes) enables data-driven artifact removal through adaptive filtering approaches, significantly improving signal quality in mobile neuroimaging applications [45] [3].
Future developments in this field will likely focus on further miniaturization of sensors, improved wireless synchronization methods, and machine learning approaches that enhance the adaptive filtering process. As these technologies mature, hardware-based motion artifact correction will play an increasingly vital role in enabling robust neuroimaging studies in naturalistic settings and with clinical populations.
Motion artifacts represent a significant challenge in non-invasive neuroimaging, particularly for techniques like electroencephalography (EEG) and functional near-infrared spectroscopy (fNIRS). These artifacts can severely distort brain signals, leading to misinterpretation of neural data and compromising research outcomes, especially in real-world or clinical settings where patient movement is unavoidable. Selecting the appropriate artifact correction method is therefore critical for data integrity. This guide provides a structured framework for matching correction algorithms to your specific experimental design and data type, enabling researchers to make informed methodological decisions.
Motion artifacts are among the most significant sources of noise in both fNIRS and EEG data [28] [8]. For fNIRS, motion can cause various signal distortions including spikes, peaks, gentle slopes, and slow baseline shifts [8]. EEG signals are susceptible to artifacts from muscle twitches, head movements, and electrode displacement during activities like walking [7]. These artifacts can mimic neural activity of interest (such as epileptic spikes) or obscure underlying brain signals, potentially leading to erroneous conclusions in both basic research and clinical applications [7] [8]. The problem is especially pronounced in pediatric populations and studies requiring natural movement, where data tends to be noisier and trial rejection would result in unacceptable data loss [8].
EEG and fNIRS measure fundamentally different physiological processes with distinct artifact profiles:
These differences mean that motion artifacts affect each modality differently, necessitating specialized correction approaches. fNIRS artifacts often manifest as slow drifts, while EEG artifacts typically appear as high-frequency noise [48] [8].
Your choice should depend on your signal modality, experimental design, and processing requirements. The table below summarizes the performance of various techniques:
Table 1: Performance Comparison of Motion Artifact Correction Methods
| Method | Modality | Key Principle | Reported Performance | Best Use Cases |
|---|---|---|---|---|
| WPD-CCA [28] | EEG | Wavelet Packet Decomposition with Canonical Correlation Analysis | ΔSNR: 30.76 dB, η: 59.51% | Single-channel EEG with significant motion artifacts |
| WPD-CCA [28] | fNIRS | Wavelet Packet Decomposition with Canonical Correlation Analysis | ΔSNR: 16.55 dB, η: 41.40% | Single-channel fNIRS denoising |
| Motion-Net [7] | EEG | CNN-based deep learning with Visibility Graph features | η: 86% ± 4.13, SNR improvement: 20 ± 4.47 dB | Mobile EEG with real-world motion artifacts |
| Moving Average & Wavelet [8] | fNIRS | Temporal filtering and multi-resolution analysis | Best outcomes for pediatric data | Pediatric populations with frequent movement |
| Hybrid EEG-fNIRS [48] | Both | Complementary information integration | Accuracy: 79.31% (vs 65.52% EEG alone, 58.62% fNIRS alone) | Multimodal studies needing enhanced classification |
A standard fNIRS processing pipeline incorporating motion correction involves sequential steps as shown in the workflow below:
Diagram 1: fNIRS Motion Correction Workflow
This workflow can be implemented using processing packages like Homer2 [8]. The critical decision point is selecting the appropriate correction method (WPD, spline interpolation, moving average, CBSI, etc.) based on your artifact characteristics and data quality.
Several studies have established protocols for classifying neurodegenerative diseases using hybrid EEG-fNIRS:
Table 2: Experimental Protocols for Neurodegenerative Disease Classification
| Study Focus | Participants | Task Paradigm | Data Features | Classification Results |
|---|---|---|---|---|
| Alzheimer's Disease Classification [48] | 29 subjects (HC, MCI, MAD, MSAD) | Random digit encoding-retrieval task | EEG-derived & fNIRS-derived features | Hybrid accuracy: 79.31% (EEG alone: 65.52%, fNIRS alone: 58.62%) |
| Parkinson's Disease Detection [51] | 120 PD patients, 60 healthy controls | Prefrontal cortex monitoring during rest/tasks | Cerebral blood oxygen changes | SVM accuracy: 85%, f1 score: 0.85, AUC: 0.95 |
| ALS vs. Controls [52] | 9 ALS patients, 9 controls | Visuo-mental task | Mutual information-based hybrid features | Improved performance vs. single modality |
The Alzheimer's study used a Pearson correlation coefficient-based feature selection strategy with a linear discriminant analysis classifier, identifying the right prefrontal and left parietal regions as key for tracking disease progression [48].
Table 3: Research Reagent Solutions for Motion Artifact Correction
| Tool/Algorithm | Function | Implementation Requirements |
|---|---|---|
| Wavelet Packet Decomposition (WPD) [28] | Decomposes signals into frequency sub-bands for artifact isolation | Signal processing toolbox, wavelet packets (db1, db2, sym, etc.) |
| Canonical Correlation Analysis (CCA) [28] | Identifies relationships between multivariate datasets | Statistical toolbox, multiple input channels |
| Convolutional Neural Networks (Motion-Net) [7] | Learns artifact patterns from data for removal | Python/TensorFlow/PyTorch, training data with ground truth |
| Mutual Information-based Feature Selection [52] | Selects complementary features from multimodal data | Information theory toolbox, feature extraction pipeline |
| Homer2 Software Package [8] | Comprehensive fNIRS processing including motion correction | MATLAB environment, fNIRS data in supported format |
Use the following logical framework to guide your algorithm selection process:
Diagram 2: Method Selection Decision Framework
This decision tree incorporates the following key considerations:
Selecting appropriate motion artifact correction methods requires careful consideration of your specific research context. Key factors include your signal modalities, subject population, experimental design, and analytical resources. The guidelines presented here provide evidence-based recommendations drawn from current literature, with performance metrics to inform your methodological decisions. As the field advances, deep learning approaches and sophisticated multimodal fusion techniques show particular promise for enhancing data quality in real-world research scenarios.
1. What is the most common source of motion artifacts in fNIRS and EEG? The most common source is relative movement between the optode/electrode and the scalp. This movement alters the optical or electrical contact, creating signals that are often orders of magnitude larger than the underlying physiological data you are trying to capture [53] [54] [55].
2. How can I improve optode stability for long-term or motion-prone recordings? For fNIRS, using collodion-fixed optical fibers is highly effective. This method adapts a standard from clinical EEG practice, using a clinical adhesive to secure miniaturized fiber tips directly to the scalp. Studies show this can reduce the percent signal change of motion artifacts by 90% and increase the Signal-to-Noise Ratio (SNR) by 6 and 3 fold at 690 and 830 nm wavelengths, respectively, compared to standard Velcro-based probes [53] [54].
3. Is it possible to co-localize fNIRS optodes and EEG electrodes without interference? Yes, recent designs enable co-localized optode-electrode placement. Custom fNIRS sources can be built to attach directly to EEG electrodes, allowing them to share the same position on the scalp. Research has demonstrated no observable interference from the fNIRS optodes on EEG spectral analysis, making this a promising approach for multimodal imaging without sacrificing modularity or portability [56].
4. What should I check if I see persistent drift or sudden "pops" in my signal? This is often a sign of loose electrode or optode contact with the scalp. It can be caused by a loose-fitting cap, body movement, or hair pushing the sensor away. For transient "pops," artifact rejection during processing can help. For persistent drift, the solution is to improve the physical contact by repositioning the sensor or ensuring a snug cap fit [55].
5. Besides hardware, what signal processing methods are effective against motion artifacts? Several software-based methods are effective:
The table below summarizes the performance of different hardware and signal processing techniques as reported in the literature.
Table 1: Performance of Motion Artifact Mitigation Methods
| Method | Type | Key Performance Metrics | Key Findings / Advantages |
|---|---|---|---|
| Collodion-Fixed fNIRS Fibers [53] [54] | Hardware (fNIRS) | - 90% reduction in motion artifact signal change- 6x & 3x SNR increase (690/830 nm)- 2x SNR increase at rest | Superior to Velcro-based probes; allows for recording during excessive motion (e.g., epileptic seizures). |
| Co-localized Optode-Electrode Design [56] | Hardware (Multimodal) | - No observable interference in EEG spectra- Supported high-density (HD) fNIRS-EEG layout | Enables simultaneous HD-fNIRS and EEG without cross-talk, preserving standardized EEG layouts. |
| WPD-CCA Artifact Removal [28] | Signal Processing (EEG/fNIRS) | - EEG: 30.76 dB ΔSNR, 59.51% artifact reduction (η)- fNIRS: 16.55 dB ΔSNR, 41.40% artifact reduction (η) | A two-stage, single-channel method that outperforms many existing techniques. |
| Motion-Net (Deep Learning) [7] | Signal Processing (EEG) | - 86% ± 4.13 artifact reduction (η)- 20 ± 4.47 dB SNR improvement | A subject-specific CNN model that is effective with smaller datasets and real-world motion artifacts. |
Protocol 1: Implementing Collodion-Fixed fNIRS Optodes
This protocol is adapted from methods used to successfully record fNIRS throughout epileptic seizures [53] [54].
Protocol 2: Setting Up a Co-localized HD-fNIRS-EEG Probe
This protocol outlines the steps for creating a multimodal probe that allows electrodes and optodes to occupy the same scalp position [56].
Table 2: Key Research Reagents and Materials
| Item | Function | Application Context |
|---|---|---|
| Collodion Adhesive | A clinical adhesive used to firmly attach miniaturized fNIRS fiber tips or EEG electrodes directly to the scalp, drastically reducing motion-related signal disruptions. | Long-term clinical fNIRS monitoring, studies with patients prone to movement (e.g., epilepsy, pediatrics) [53] [54]. |
| Flexible 3D-Printed Cap | A custom-fabricated cap (e.g., using NinjaFlex TPU) that holds both fNIRS optodes and EEG electrodes in a precise, co-localized arrangement according to a high-density design. | Multimodal HD-fNIRS-EEG studies aiming for high spatial resolution and coverage without sacrificing portability [56]. |
| Conductive Electrode Gel | Enhances electrical conductivity between the scalp and EEG electrodes. For fNIRS, it also improves light coupling by displacing air at the optode-scalp interface. | Standard practice for both EEG and fNIRS recordings to ensure signal quality and stability [57]. |
| Active EEG Electrodes | Electrodes with built-in amplification that reduce interference and artifacts caused by cable movement, improving signal quality in mobile settings. | Wearable EEG and mobile Brain-Computer Interface (BCI) applications [55]. |
The diagram below illustrates a structured approach to minimizing motion artifacts, from physical setup to data processing.
Problem: My fNIRS data is contaminated with motion artifacts, leading to unreliable hemodynamic response data.
Solution: fNIRS signals are susceptible to motion artifacts from head movements, jaw movements (like speaking), or displacement of optodes. Several correction methods exist, each with different strengths and trade-offs between noise suppression and signal integrity [1].
Steps for Correction:
Comparison of Common fNIRS Motion Artifact Correction Methods
| Method | Principle | Best For | Key Performance Metrics | Trade-offs |
|---|---|---|---|---|
| Wavelet Filtering [1] | Multi-resolution analysis to isolate and remove artifact components in specific frequency bands. | General use; effective on spike artifacts and task-correlated artifacts [1]. | High success rate in reducing artifact area [1]. | May distort high-frequency neural signals if wavelet parameters are not optimized. |
| Spline Interpolation (MARA) [1] | Identifies artifact segments and replaces them with a spline interpolation based on clean data portions. | Offline analysis; distinct, high-amplitude spikes [1]. | N/A | Can over-smooth data if artifact segments are incorrectly identified, leading to loss of true signal. |
| 1D CNN with Penalty (1DCNNwP) [41] | A deep learning model that uses convolutional layers and a penalty network to suppress artifacts in real-time. | Online/real-time processing; scenarios requiring minimal prior data [41]. | Improves SNR by >11.08 dB; processes data in 0.53 ms/sample [41]. | Requires training data; performance depends on the quality and variety of training datasets. |
| Temporal Derivative Distribution Repair (TDDR) [41] | Corrects artifacts by analyzing the statistical distribution of the temporal derivative of the signal. | Removing slow drifts and baseline shifts. | Effective in restoring Contrast-to-Noise Ratio (CNR) [41]. | May be less effective for very high-amplitude, sudden motion artifacts [41]. |
| Correlation-Based Signal Improvement (CBSI) [1] | Utilizes the negative correlation between HbO and HbR concentrations to improve the signal. | Simple, fast correction without complex parameter tuning. | N/A | Assumes a perfect negative correlation, which may not always hold, potentially introducing bias. |
Problem: Motion artifacts are contaminating my EEG recordings, particularly during mobile or simultaneous EEG-fMRI experiments.
Solution: EEG motion artifacts arise from electrode-skin interface changes, cable sway, or, in MRI environments, head movement in the magnetic field. The optimal correction strategy depends on the experimental setup [58] [12] [23].
Steps for Correction:
Comparison of Common EEG Motion Artifact Correction Methods
| Method | Principle | Best For | Key Performance Metrics | Trade-offs |
|---|---|---|---|---|
| Artifact Subspace Reconstruction (ASR) [23] | Uses a sliding-window PCA to identify and remove high-variance components exceeding a threshold ("k"). | Online mobile EEG; aggressive cleaning of high-amplitude artifacts. | Reduces power at gait frequency; improves ICA dipolarity [23]. | A low "k" value can over-clean and remove neural signals. A high "k" may leave artifacts. |
| iCanClean [23] | Employs Canonical Correlation Analysis (CCA) to find and subtract noise subspaces highly correlated with reference noise signals. | Mobile EEG, especially with dual-layer electrodes; running artifacts [23]. | Effectively recovers ERP components (e.g., P300); improves ICA dipolarity [23]. | Performance with pseudo-reference signals (derived from EEG) is inferior to hardware reference signals. |
| Reference Layer Artifact Subtraction (RLAS) [12] | Uses a separate layer of electrodes to measure artifacts directly, which are then subtracted from the scalp EEG. | Motion artifacts in simultaneous EEG-fMRI. | N/A | Efficacy varies with movement type (less effective for head shakes); requires specialized hardware [12]. |
| Independent Component Analysis (ICA) [23] | Blind source separation to isolate artifact components, which are then manually or automatically rejected. | Offline analysis when artifacts have distinct spatial and temporal features. | N/A | Prone to failure if artifacts are too large or pervasive; manual classification is subjective and time-consuming. |
Problem: I am designing a study involving patient movement and need to choose the most robust neuroimaging modality.
Solution: The choice between fNIRS and EEG involves a direct trade-off between spatial specificity and resilience to motion artifacts. fNIRS is generally less susceptible to motion artifacts, while EEG offers superior temporal resolution [59] [60].
Decision Workflow:
Q1: What is the most effective single method for removing motion artifacts from fNIRS data? While the "best" method is data-dependent, a comparative study on real cognitive data found that wavelet filtering was the most effective approach, reducing the area under the curve of the artifact in 93% of cases [1]. For real-time applications, deep learning methods like 1DCNNwP show great promise, offering significant improvements in Signal-to-Noise Ratio with very low latency [41].
Q2: Why is it difficult to correct motion artifacts in EEG data recorded inside an MRI scanner? Motion artifacts in simultaneous EEG-fMRI are particularly challenging because they are caused by the complex movement of the head and EEG cables in the strong static magnetic field [12]. These artifacts are spatially and temporally variable. Furthermore, research shows that the head and cap do not always move as a perfectly rigid body, meaning the artifact can differ across electrodes, reducing the efficacy of reference-based correction methods for movements like head shakes [12].
Q3: Is it better to reject motion-contaminated trials or to correct them? It is almost always better to correct the artifacts rather than reject entire trials [1]. Trial rejection leads to a loss of statistical power and can render studies with limited trials or high artifact rates (common in infant, clinical, or mobile studies) unviable. Correction methods preserve data integrity and statistical power.
Q4: What are the key hardware considerations for minimizing motion artifacts? For fNIRS, using optodes fixed with collodion or a tight-fitting cap can reduce motion-induced decoupling [41] [1]. Integrating an accelerometer can also help detect motion events [41]. For EEG, using high-impedance amplifiers (≥1 GΩ) is critical when employing microelectrodes to prevent signal distortion at low frequencies [58]. Systems with dedicated motion reference sensors (like dual-layer electrodes for iCanClean) significantly improve artifact removal [23].
Q5: How can I validate that my artifact correction method didn't distort the underlying neural signal? Validation should include both signal quality metrics and physiological plausibility checks:
This protocol is adapted from studies that evaluate the performance of different motion artifact correction techniques on real task data [1].
1. Objective: To quantitatively compare the efficacy of motion artifact correction methods (e.g., Wavelet, Spline, 1DCNNwP) in recovering a physiologically plausible hemodynamic response.
2. Materials:
3. Procedure:
4. Key Measurements to Record:
This protocol is based on research evaluating artifact removal methods during whole-body movement like running [23].
1. Objective: To assess the performance of ASR and iCanClean in suppressing motion artifacts during locomotion and recovering stimulus-locked ERPs.
2. Materials:
3. Procedure:
4. Key Measurements to Record:
| Item | Function | Example Use-Case |
|---|---|---|
| Collodion-fixed Optodes | Securely adhere fNIRS sources/detectors to the scalp to minimize relative movement during motion [41]. | Studies with infants or clinical populations where sudden movements are likely. |
| Accelerometer | A hardware motion sensor integrated into the fNIRS cap to provide an independent measure of head movement timing [41]. | Providing a reference signal for motion artifact detection algorithms (ABAMAR). |
| Dual-Layer EEG Electrodes | Specialized electrodes where the top layer records only motion-induced noise, providing a pristine reference for algorithms like iCanClean [23]. | Mobile EEG studies involving walking, running, or whole-body movement to enhance artifact subtraction. |
| MR-Compatible EEG Cap with Reference Layer (RLAS) | An EEG cap with an additional conductive layer to directly measure the motion artifact induced in the MRI magnetic field for subtraction [12]. | Simultaneous EEG-fMRI studies to mitigate motion artifacts originating from head rotation in the B₀ field. |
| High-Impedance Amplifier (≥1 GΩ) | An EEG amplifier with a very high input impedance to prevent signal distortion when using high-impedance microelectrodes [58]. | Microelectrode studies investigating high-frequency oscillations or unit activity to preserve low-frequency signal content. |
This diagram illustrates the relationship between neural electrical activity and the hemodynamic response measured by fNIRS and EEG, which is the foundation of multimodal imaging [59].
FAQ 1: Why is motion artifact correction particularly critical for pediatric fNIRS and EEG studies?
Motion artifact correction is paramount in pediatric studies because data from children typically contains more motion artifacts than adult data [8]. Furthermore, the scope for collecting data is often limited by short attention spans, resulting in experimental designs that can be as brief as a few minutes [8]. Simply rejecting corrupted trials is often not feasible, as it can lead to an unacceptably low number of trials for analysis [1] [61]. Therefore, employing correction techniques that allow researchers to retain valuable data is essential.
FAQ 2: What types of motion artifacts are common in ambulatory studies?
In ambulatory settings, motion artifacts are diverse and pervasive. In fNIRS, they can arise from head movements (nodding, shaking), facial muscle movements (raising eyebrows, talking), and whole-body movements that cause sensor displacement [3]. For mobile EEG (mo-EEG), artifacts include muscle twitches causing sharp transients, vertical head movements during walking leading to baseline shifts, and gait-related amplitude bursts from sudden electrode displacement [7]. The arrhythmic nature of real-world movement makes these artifacts particularly challenging to resolve.
FAQ 3: For infant EEG, what is the trade-off between Independent Component Analysis (ICA) and Artifact Blocking (AB)?
A systematic comparison on infant EEG found that ICA is more sensitive (it better removes artifacts) but less specific (it distorts clean signals more). Conversely, Artifact Blocking (AB) has higher specificity, causing less distortion to clean EEG segments, but may not remove artifacts as effectively as ICA [62]. The choice depends on whether the research priority is maximal artifact removal or maximal preservation of neural signal integrity.
Guide 1: Correcting Motion Artifacts in Pediatric fNIRS Data
hmrMotionArtifactbyChannel in Homer2) to locate the onset and duration of artifacts [8].Guide 2: Removing Motion Artifacts from Ambulatory (Single-Channel) EEG
The table below summarizes the quantitative performance of various correction methods as reported in the literature.
Table 1: Efficacy of Motion Artifact Correction Techniques in fNIRS
| Method | Reported Efficacy (Context) | Key Metrics |
|---|---|---|
| Wavelet Filtering | Most effective for cognitive tasks with low-frequency artifacts; best at reducing area under the curve (93% of cases) [1]. | Area under the curve reduction, within-/between-subject standard deviation [1] [61]. |
| Spline + Wavelet Combination | Best overall performance on semi-simulated and real infant data; recovered most corrupted trials [61]. | Hemodynamic response recovery error, number of trials saved [61]. |
| Moving Average (MA) | One of the best outcomes for pediatric data in a language task [8]. | Evaluation based on predefined metrics for pediatric data [8]. |
| Correlation-Based Signal Improvement (CBSI) | Effective performance in comparative studies [1] [8]. | Physiological plausibility of recovered HRF [1]. |
Table 2: Efficacy of Motion Artifact Correction Techniques in EEG
| Method | Reported Efficacy (Context) | Key Metrics |
|---|---|---|
| Motion-Net (Deep Learning) | 86% ± 4.13 artifact reduction; 20 ± 4.47 dB SNR improvement [7]. | Artifact reduction (η), SNR improvement, Mean Absolute Error [7]. |
| Singular Spectrum Analysis (SSA) | Lower computational complexity (∼6x less than EEMD-CCA); successful artifact removal from single-channel EEG [63]. | SNR improvement, percentage reduction in artifact, computational cost [63]. |
| Independent Component Analysis (ICA) | Higher sensitivity for removing eye-movement artifacts in infant EEG than Artifact Blocking [62]. | Signal-to-Noise Ratio (SNR), Power-Spectral Density (PSD) [62]. |
| Artifact Blocking (AB) | Higher specificity (less distortion to clean signals) than ICA in infant EEG [62]. | Multiscale Entropy (MSE), Power-Spectral Density (PSD) [62]. |
Protocol 1: Evaluating fNIRS Motion Correction in a Pediatric Language Task [8]
Protocol 2: Comparing ICA and Artifact Blocking in Infant EEG [62]
fNIRS Pediatric Correction
EEG Ambulatory Correction
Table 3: Key Research Reagents and Materials
| Item | Function in Experiment |
|---|---|
| Homer2 Software Package | A standard fNIRS processing package used to implement and test various motion correction algorithms like Spline interpolation and Wavelet filtering [8] [61]. |
| Accelerometer / IMU | Auxiliary hardware attached to the subject or sensor to measure motion dynamics, providing a reference signal for artifact regression in both fNIRS and EEG [3]. |
| Collodion-Fixed Fibers | A hardware solution for fNIRS that uses a strong adhesive to secure optodes to the scalp, mechanically reducing motion-induced decoupling [8]. |
| ICLabels / ADJUST Classifiers | Automated classifiers used in EEG preprocessing to label Independent Components (ICs) as neural or artifactual, streamlining the ICA process [62]. |
| Artifact Subspace Reconstruction (ASR) | An algorithmic method, adapted for infant EEG in pipelines like NEAR, that detects and corrects bad channels and removes artifact-contaminated signal segments [62]. |
Problem: How can I determine if my signal contains motion artifacts and which correction method to apply?
Motion artifacts (MAs) remain a significant challenge in neuroimaging data acquisition. The following workflow provides a systematic approach for identification and correction:
Experimental Protocol for Motion Artifact Validation: Researchers can intentionally introduce controlled head movements to characterize artifact patterns. As demonstrated in recent studies, participants should perform standardized movements (nodding, shaking, tilting) while recording with synchronized video monitoring and inertial measurement units (IMUs). Computer vision algorithms can then extract head orientation data frame-by-frame to correlate specific movements with artifact signatures in the signals [13].
Problem: My EEG and fNIRS signals show poor synchronization and inconsistent spatial alignment. How can I resolve this?
Hardware integration challenges commonly arise from mismatched temporal resolution and improper sensor placement. The following table outlines specific troubleshooting steps:
| Problem | Root Cause | Solution | Validation Method |
|---|---|---|---|
| Signal Desynchronization | Lack of shared clock system; Software triggering delays | Use hardware synchronization (TTL pulses); Implement shared acquisition software with microsecond precision | Check temporal alignment of event markers across modalities |
| Spatial Misalignment | Different scalp localization standards; Variable optode-electrode distances | Co-register using international 10-20 system; Use integrated caps with pre-defined compatible openings | Verify placement with 3D digitization; Check anatomical consistency |
| Cross-Talk Artifacts | Physical interference between EEG electrodes and fNIRS optodes | Use optimized sensor geometry; Ensure no overlapping contact points | Check for signal correlations during no-task conditions |
| Motion Artifact Discrepancy | Different vulnerability to movement types | Implement modality-specific correction before fused analysis | Introduce controlled movements to characterize responses |
Implementation Protocol: For spatial co-registration, use 3D-printed customized helmets tailored to individual head sizes or composite polymer cryogenic thermoplastic sheets that can be molded to precise head contours at approximately 60°C. This approach provides better stability than standard elastic caps, reducing probe movement during experiments [49].
Q1: Which motion artifact correction method performs best for single-channel EEG and fNIRS?
Recent comparative studies indicate that two-stage correction techniques generally outperform single-stage methods. The following table quantifies the performance of various approaches:
| Method | Modality | Average ΔSNR | Average η (\% Reduction) | Best Performing Wavelet |
|---|---|---|---|---|
| WPD (Single-Stage) | EEG | 29.44 dB | 53.48% | db2 (ΔSNR), db1 (η) |
| WPD-CCA (Two-Stage) | EEG | 30.76 dB | 59.51% | db1 |
| WPD (Single-Stage) | fNIRS | 16.11 dB | 26.40% | fk4 |
| WPD-CCA (Two-Stage) | fNIRS | 16.55 dB | 41.40% | fk8 |
The Wavelet Packet Decomposition combined with Canonical Correlation Analysis (WPD-CCA) demonstrates superior performance, increasing motion artifact reduction by 11.28% for EEG and 56.82% for fNIRS compared to single-stage WPD [17].
Q2: Why do EEG and fNIRS show different susceptibility to motion artifacts?
The fundamental differences in measurement principles explain their different artifact profiles:
EEG measures electrical potentials at the scalp surface, where even minor head movements can alter electrode-skin contact impedance, causing rapid signal spikes. fNIRS relies on optical measurements where motion primarily affects light coupling between optodes and skin, creating slower baseline shifts [65] [3].
Q3: When should I choose a multimodal EEG-fNIRS approach over a single modality?
The decision should be based on your research questions and experimental constraints:
| Research Goal | Recommended Approach | Rationale |
|---|---|---|
| Fast neural dynamics (e.g., ERPs) | EEG alone | EEG's millisecond resolution is essential |
| Spatial localization of cortical activity | fNIRS alone | fNIRS provides better spatial resolution for surface cortical areas |
| Complete picture of neural activity & hemodynamics | Combined EEG-fNIRS | Cross-verification through neurovascular coupling |
| Naturalistic settings with movement | fNIRS with limited EEG | fNIRS is more motion-tolerant [65] |
| BCI applications requiring both speed & accuracy | Combined EEG-fNIRS | Complementary features improve classification [66] |
Q4: How can I validate that my corrected signals maintain physiological relevance?
After applying motion artifact correction, employ these validation techniques:
| Item | Function | Specification Notes |
|---|---|---|
| Integrated EEG-fNIRS Caps | Simultaneous signal acquisition | Pre-configured optode-electrode placement; Prefer customized 3D-printed or thermoplastic designs |
| WPD-CCA Algorithm Software | Motion artifact correction | Implement with db1 wavelets for EEG, fk8 for fNIRS; Requires MATLAB or Python programming |
| Synchronization Hardware | Temporal alignment of modalities | TTL pulse generators or shared clock systems with microsecond precision |
| Computer Vision System | Movement quantification | Video recording with algorithms like SynergyNet for head orientation tracking [13] |
| Inertial Measurement Units (IMUs) | Motion artifact reference | 9-degree of freedom sensors (3-axis accelerometer, gyroscope, magnetometer) |
| 3D Digitization Equipment | Spatial co-registration | Infrared or electromagnetic systems to map sensor positions on scalp |
| Customized Helmets | Stable sensor placement | 3D-printed or thermoplastic molded to individual head anatomy [49] |
The unique advantage of multimodal EEG-fNIRS setups lies in their capacity for cross-verification through neurovascular coupling. The following experimental protocol enables systematic validation:
Protocol: Cross-Verification Through Neurovascular Coupling
This approach is particularly valuable for detecting residual motion artifacts that might corrupt only one modality, as true neural activation should manifest in both electrical and hemodynamic responses according to neurovascular coupling principles [59] [68].
Q: Why does my motion artifact correction method work well on EEG data but perform poorly when applied to my fNIRS signals?
A: EEG and fNIRS measure fundamentally different physiological phenomena. EEG records electrical activity, while fNIRS measures hemodynamic changes through light absorption [17]. Motion artifacts manifest differently: in EEG, they often cause high-amplitude, sharp spikes, whereas in fNIRS, they typically produce slower baseline drifts and signal spikes [18]. A method tuned for the fast, high-frequency nature of EEG artifacts may fail to capture the distinct characteristics of fNIRS motion noise. Furthermore, the signal-to-noise ratio (SNR) and the optimal frequency bands for artifact removal differ between the two modalities [17]. Always validate and potentially re-parameterize your correction algorithms for each specific signal type.
Q: I am using a wavelet-based technique for artifact correction, but I am losing important neural signals. What am I doing wrong?
A: This is a common pitfall often due to an inappropriate selection of the wavelet function or decomposition level. Using a single wavelet for both EEG and fIRS, or for different types of artifacts, can lead to signal loss. For instance, research shows that for EEG, the Daubechies 1 (db1) wavelet may provide the best percentage reduction in motion artifacts, while for fNIRS, the Fejer-Korovkin 4 (fk4) wavelet might yield a higher SNR improvement [17]. To avoid this, systematically test different wavelet families (e.g., Db, Sym, Fk) and decomposition levels on a subset of your data where the neural signal of interest is known, and choose the one that maximizes artifact rejection while preserving signal integrity.
Q: My single-channel artifact correction is inconsistent. Should I switch to multi-channel methods?
A: While single-channel methods like Wavelet Packet Decomposition (WPD) are necessary for single-channel setups, they can be less robust than multi-channel methods. Techniques like Independent Component Analysis (ICA) require multiple channels to separate neural signals from artifacts effectively [69]. If your equipment allows, using multi-channel recordings and methods like ICA can provide a more robust correction. However, for single-channel data, a hybrid two-stage approach can significantly improve performance. For example, combining WPD with Canonical Correlation Analysis (WPD-CCA) has been shown to increase the percentage reduction in motion artifacts by over 11% for EEG and 56% for fNIRS compared to single-stage WPD alone [17].
Q: How can I tell if a high-amplitude spike is a motion artifact or an epileptiform discharge?
A: Misclassifying neural signals as artifacts is a critical error. Key differentiating factors include:
The table below summarizes the quantitative performance of different artifact correction methods as reported in a 2022 benchmark study. This data can help you select an appropriate method for your research [17].
Table 1: Performance Comparison of Motion Artifact Correction Techniques
| Modality | Correction Method | Best Performing Wavelet | Average ΔSNR (dB) | Average η (\% Reduction) |
|---|---|---|---|---|
| EEG | Single-Stage (WPD) | Db2 | 29.44 dB | 53.48% (Db1) |
| EEG | Two-Stage (WPD-CCA) | Db1 | 30.76 dB | 59.51% |
| fNIRS | Single-Stage (WPD) | Fk4 | 16.11 dB | 26.40% |
| fNIRS | Two-Stage (WPD-CCA) | Db1 / Fk8 | 16.55 dB (Db1) | 41.40% (Fk8) |
ΔSNR = Difference in Signal-to-Noise Ratio; η = Percentage Reduction in Motion Artifacts [17].
This protocol details the methodology for implementing the high-performing WPD-CCA technique as cited in the research [17].
1. Objective: To robustly remove motion artifacts from single-channel EEG or fNIRS signals while preserving the underlying physiological information.
2. Materials and Software:
3. Step-by-Step Procedure:
Step 1: Signal Decomposition using WPD
Step 2: Create Multivariate Dataset from Nodes
Step 3: Apply Canonical Correlation Analysis (CCA)
Step 4: Reconstruct the Signal
The following workflow diagram illustrates this two-stage process:
Table 2: Key Materials and Algorithms for Artifact Correction Research
| Item | Function in Research |
|---|---|
| Wavelet Packet Decomposition (WPD) | A signal processing technique that decomposes a signal into a set of frequency sub-bands, providing a detailed time-frequency representation ideal for isolating non-stationary artifacts [17]. |
| Canonical Correlation Analysis (CCA) | A statistical method used to find relationships between two sets of variables. In WPD-CCA, it identifies correlated artifact components across the wavelet nodes created from a single channel [17]. |
| Independent Component Analysis (ICA) | A blind source separation technique used primarily with multi-channel data to statistically isolate neural signals from artifacts (e.g., eye blinks, muscle activity) into independent components [69] [18]. |
| fNIRS Source-Detector Pair | The core hardware for fNIRS measurements. The placement geometry (distance) between the light source and detector determines the depth of sensitivity within the brain tissue. |
| Electrooculogram (EOG) Electrodes | Electrodes placed around the eyes to specifically record eye movements and blinks. This signal can be used as a reference to improve the regression-based removal of ocular artifacts from EEG [69]. |
| High-Impedance EEG Amplifiers | Modern amplifiers that allow for higher electrode impedances, reducing the sensitivity to certain types of motion artifacts and electrode "pops" [18]. |
What are the most effective metrics for quantifying motion artifact correction? The most established performance metrics are the difference in Signal-to-Noise Ratio ((\Delta SNR)) and the percentage reduction in motion artifacts ((\eta)) [28] [17]. These metrics are used to benchmark the performance of various artifact removal algorithms by measuring the improvement in signal quality and the specific amount of noise reduced.
How do I choose a motion artifact correction method for my single-channel data? For single-channel EEG or fNIRS data, algorithmic solutions like Wavelet Packet Decomposition (WPD) and its combination with Canonical Correlation Analysis (WPD-CCA) are highly effective [28] [17]. The choice can depend on your desired balance between performance and computational complexity. The table below summarizes the performance of different methods to guide your selection.
My fNIRS data is contaminated by motion. What are my options beyond basic filtering? A range of specialized methods exists, from hardware-based solutions to advanced algorithmic approaches [3]. Your choice should consider the type of signal, the availability of auxiliary hardware, and whether your application requires real-time processing. The following table categorizes the primary solutions available.
Why is it important to use a standardized dataset for validating my processing pipeline? Using open-access, standardized datasets with synthetic ground truth (like added Hemodynamic Response Functions) allows for the objective validation and benchmarking of novel artifact removal methods against established ones [70]. This ensures that reported performance is reliable and comparable across different studies.
The following table summarizes quantitative results from a study evaluating Wavelet Packet Decomposition (WPD) and a combined WPD-CCA method for motion artifact removal. The data provides a benchmark for the performance you can expect from these techniques [28] [17].
Table 1: Performance of WPD and WPD-CCA Methods
| Signal Modality | Method | Best Performing Wavelet | Average (\Delta SNR) | Average (\eta) |
|---|---|---|---|---|
| EEG | Single-Stage (WPD) | db2 | 29.44 dB | 53.48% |
| EEG | Two-Stage (WPD-CCA) | db1 | 30.76 dB | 59.51% |
| fNIRS | Single-Stage (WPD) | fk4 | 16.11 dB | 26.40% |
| fNIRS | Two-Stage (WPD-CCA) | db1 / fk8 | 16.55 dB | 41.40% |
(\Delta SNR): Difference in Signal-to-Noise Ratio; (\eta): Percentage reduction in motion artifacts. Data sourced from [28] [17].
This table categorizes common motion artifact removal techniques, their requirements, and key limitations to help you select an appropriate strategy for your experiment [3] [71].
Table 2: Common Motion Artifact Removal Techniques
| Method Category | Examples | Compatible Signal Types | Key Limitations |
|---|---|---|---|
| Algorithmic (Single-Channel) | Wavelet Filtering (WPD), Spline Interpolation, Denoising Autoencoder (DAE) | Single-channel EEG/fNIRS | Often requires tuning of parameters (e.g., probability thresholds for Wavelets) [28] [71]. |
| Algorithmic (Multi-Channel) | Principal Component Analysis (PCA), Canonical Correlation Analysis (CCA), Independent Component Analysis (ICA) | Multi-channel EEG/fNIRS | Requires multiple data channels; performance depends on probe geometry [71]. |
| Hardware-Based | Accelerometer, Inertial Measurement Unit (IMU), Camera | fNIRS (primarily) | Requires additional equipment; data synchronization is needed [3]. |
| Deep Learning | Denoising Autoencoder (DAE) | fNIRS | Requires a large, high-quality training dataset [71]. |
Using a dataset with a known, added signal is a robust way to validate the performance of your motion artifact correction pipeline. The following workflow is based on established methodologies [70].
Step-by-Step Guide:
Navigating the various correction methods can be challenging. The following diagram provides a logical pathway to select the most suitable technique based on your data and resources [28] [3] [71].
Table 3: Essential Research Reagents and Materials
| Item | Function in Experiment |
|---|---|
| Multimodal fNIRS-EEG Cap | Integrated headgear that holds EEG electrodes and fNIRS optodes in a fixed configuration to ensure co-registration of signals and reduce motion artifacts [72] [73]. |
| Auxiliary Biosignal Sensors (PPG, RESP) | Records physiological confounds (heartbeat, respiration) that are essential for denoising algorithms and improving the contrast-to-noise ratio in fNIRS data [70]. |
| Accelerometer / Inertial Measurement Unit (IMU) | Directly measures head motion, providing a reference signal for hardware-based motion artifact correction algorithms like adaptive filtering [3]. |
| Synthetic Ground Truth Dataset | A benchmark dataset with known, added neural signals (e.g., HRF) used for objective validation and performance comparison of novel artifact removal methods [70]. |
| Wavelet Packet Decomposition (WPD) Code | Software implementation of WPD algorithms for decomposing non-stationary signals like EEG/fNIRS, forming the basis for single-channel artifact removal [28] [17]. |
A: This occurs when motion correction algorithms partially remove physiological signals along with artifacts. In fNIRS, motion artifacts often share spectral characteristics with actual hemodynamic responses.
Troubleshooting Steps:
A: MSE alone is insufficient. Use this validation protocol:
Experimental Protocol:
Acceptable Ranges:
| EEG Type | Acceptable MSE Range | Notes |
|---|---|---|
| Resting-state | 0.001-0.01 μV² | Lower due to stable baseline |
| Task-based | 0.01-0.05 μV² | Higher tolerance for dynamics |
| High-motion | 0.05-0.1 μV² | Maximum acceptable correction |
A: This typically indicates overfitting where the algorithm models noise as signal.
Diagnosis Protocol:
A: Drug studies require special consideration for baseline shifts and physiological noise.
Optimization Protocol:
CNR Calculation Parameters:
| Study Phase | Signal Window | Control Window | Optimal CNR Range |
|---|---|---|---|
| Pre-drug | Task blocks | Pre-task rest | 1.5-2.5 |
| Peak effect | Task blocks | Pre-drug baseline | 2.0-3.5 |
| Post-effect | Task blocks | Pre-task rest | 1.5-2.5 |
A: Fundamental physiological differences affect metric performance.
Comparative Analysis Protocol:
| Reagent/Equipment | Function | Application Context |
|---|---|---|
| Optical phantoms with controlled scattering | fNIRS ground truth validation | Motion artifact simulation and correction validation |
| Gel-based EEG caps with motion sensors | Simultaneous motion tracking | EEG motion artifact source identification |
| Hemodynamic response simulators | fNIRS signal validation | CNR calculation accuracy testing |
| Motion platform systems | Controlled artifact generation | Standardized metric evaluation across labs |
| ICA/PLS toolkits | Component analysis | Signal separation efficacy quantification |
Q1: My fNIRS data from pediatric participants is exceptionally noisy. Which motion correction method should I prioritize? A1: Research indicates that for pediatric data, which often contains more motion artifacts than adult data, Moving Average (MA) and Wavelet-based methods have been shown to yield the best outcomes. Pediatric participants have shorter attention spans, leading to smaller datasets, making trial rejection an impractical strategy. Therefore, robust correction techniques that retain data are essential [8].
Q2: For my EEG-based BCI system, which motion artifact correction technique provides the highest signal-to-noise ratio improvement? A2: A novel two-stage technique, Wavelet Packet Decomposition in combination with Canonical Correlation Analysis (WPD-CCA), has demonstrated superior performance for single-channel EEG. Studies report it can achieve an average increase in signal-to-noise ratio (ΔSNR) of 30.76 dB and a 59.51% reduction in motion artifacts, outperforming many existing state-of-the-art methods [17] [28].
Q3: I am designing a real-time fNIRS neurofeedback study. What should I consider regarding motion artifact correction? A3: The choice between hardware and software solutions is critical. Hardware-based methods (e.g., using accelerometers) improve the feasibility of real-time artifact rejection. In contrast, many advanced algorithmic solutions are designed for offline post-processing. Furthermore, few studies discuss the filtering delay introduced by correction algorithms, a vital parameter for real-time applications where timing is crucial [3].
Q4: I am working with fNIRS data that contains motion artifacts correlated with the task (e.g., from speaking). Which correction method is most effective? A4: For challenging, task-correlated motion artifacts (e.g., low-frequency, low-amplitude artifacts from jaw movement during speaking), Wavelet filtering has been identified as the most effective approach. One study found it reduced the area under the curve where the artifact was present in 93% of cases, outperforming techniques like spline interpolation, PCA, and Kalman filtering [1].
Q5: Is it better to discard data segments with motion artifacts or to correct them? A5: Systematic evidence suggests that correcting for motion artifacts is almost always better than rejecting trials. Trial rejection can severely compromise statistical power, especially in studies with challenging populations or limited trials. Applying a robust correction technique allows for the retention of valuable data and improves the accuracy of the recovered hemodynamic response [1].
The following tables consolidate performance metrics from multiple systematic reviews and comparative studies to provide a clear overview of algorithm efficacy across EEG and fNIRS modalities.
Table 1: Performance of Novel WPD-based Techniques on Single-Channel EEG and fNIRS Signals
| Modality | Correction Technique | Key Parameter | Performance Metric 1 (ΔSNR) | Performance Metric 2 (η) |
|---|---|---|---|---|
| EEG | WPD (Single-Stage) | db2 Wavelet Packet | 29.44 dB (Average) | - |
| EEG | WPD (Single-Stage) | db1 Wavelet Packet | - | 53.48% (Average) |
| EEG | WPD-CCA (Two-Stage) | db1 Wavelet Packet | 30.76 dB (Average) | 59.51% (Average) |
| fNIRS | WPD (Single-Stage) | fk4 Wavelet Packet | 16.11 dB (Average) | 26.40% (Average) |
| fNIRS | WPD-CCA (Two-Stage) | db1 Wavelet Packet | 16.55 dB (Average) | - |
| fNIRS | WPD-CCA (Two-Stage) | fk8 Wavelet Packet | - | 41.40% (Average) |
Table 2: Comparative Efficacy of Established fNIRS Motion Correction Techniques (Based on Systematic Reviews)
| Correction Technique | Key Finding / Performance | Context / Study Details |
|---|---|---|
| Spline Interpolation | Produced the largest average reduction in Mean-Squared Error (MSE): 55% [29]. | Systematic comparison using real NIRS data with simulated activation. |
| Wavelet Analysis | Produced the highest average increase in Contrast-to-Noise Ratio (CNR): 39% [29]. | Systematic comparison using real NIRS data with simulated activation. |
| Moving Average (MA) | One of the best-performing methods for real pediatric fNIRS data [8]. | Comparison of six techniques on child participants during a language task. |
| Wavelet Filtering | Most effective for task-correlated artifacts; reduced artifact area in 93% of cases [1]. | Tested on real cognitive data with motion artifacts from vocalization. |
| Trial Rejection | Outperformed by all major correction techniques; not recommended as a primary strategy [1]. | Comparing correction vs. rejection on functional data accuracy. |
This established protocol allows for objective comparison of correction algorithms when the ground-truth hemodynamic response is known [29] [1].
hmrMotionArtifact in Homer2 for fNIRS) or expert visual inspection to identify and mark periods of motion artifacts in the data.This protocol details a recently proposed two-stage method for robust motion artifact correction [17] [28].
WPD-CCA Signal Processing Workflow
Table 3: Essential Tools for Motion Artifact Correction Research
| Tool / Solution | Type | Function / Application | Example Use Case |
|---|---|---|---|
| Homer2 Software Package | Software Toolbox | A standard MATLAB-based toolbox for fNIRS data processing, including motion artifact detection and several correction algorithms (e.g., PCA, spline) [29] [8]. | Preprocessing and initial testing of motion correction on fNIRS data. |
| Wavelet Toolbox (MATLAB) | Software Library | Provides functions for performing Discrete Wavelet Transform (DWT), Wavelet Packet Decomposition (WPD), and other wavelet-based analyses essential for implementing denoising algorithms [17]. | Implementing custom wavelet-based motion artifact filters for EEG/fNIRS. |
| Accelerometer / IMU | Hardware Sensor | An auxiliary hardware device that provides a reference signal highly correlated with motion artifacts but not with neural activity. Used as an input for adaptive filtering and regression-based correction methods [3] [1]. | Active Noise Cancellation (ANC) and motion artifact regression in mobile experiments. |
| Canonical Correlation Analysis (CCA) | Statistical Method | A multivariate technique that separates signal sources based on their correlation. It is often combined with decomposition methods (e.g., WPD, EMD) for artifact removal in single-channel signals [17] [28]. | Creating hybrid two-stage correction methods like WPD-CCA for enhanced denoising. |
| Deep Neural Networks (DNNs) | Algorithmic Framework | Learning-based models (e.g., CNN, U-Net, Denoising Autoencoders) trained to reconstruct clean signals or HRFs from artifact-corrupted data. Promising for handling complex, non-linear artifacts [30]. | Correcting severe motion artifacts in challenging recording environments where traditional methods fail. |
The following diagram synthesizes insights from the reviewed literature to provide a logical workflow for selecting an appropriate motion artifact correction strategy.
Algorithm Selection Decision Pathway
Q1: What is the fundamental difference between motion artifacts in fNIRS versus EEG, and why does it matter for correction strategies?
Motion artifacts manifest differently in fNIRS and EEG due to their distinct measurement principles. In fNIRS, artifacts primarily arise from optode-skin decoupling, causing sudden changes in measured light intensity classified as spikes, baseline shifts, and low-frequency variations [74]. These are often large-amplitude disturbances that corrupt the hemodynamic response. In contrast, EEG artifacts typically involve electrical potentials from skin stretch, electrode movement, or cable motion. This distinction matters because effective fNIRS correction often targets hemodynamic response preservation, while EEG focuses on electrophysiological signal fidelity. Consequently, a method perfect for one modality may fail for the other.
Q2: My motion correction pipeline works perfectly on semi-simulated data but fails with real experimental data. What could be wrong?
This common issue often stems from limitations in your semi-simulation approach. Consider these factors:
Q3: When should I choose to discard motion-contaminated segments versus applying correction algorithms?
The decision depends on your artifact type and contamination level:
Q4: How can I validate that my motion correction method isn't distorting the underlying neural signal?
Implement a multi-faceted validation strategy:
Table 1: Performance Metrics of fNIRS Motion Correction Methods
| Method | SNR Improvement (dB) | Computational Demand | Best Use Case | Key Limitations |
|---|---|---|---|---|
| 1DCNNwP [41] | >11.08 dB (highest) | Medium (0.53 ms/sample) | Real-time processing, individual subject adaptation | Requires training, subject-specific adaptation |
| Spline Interpolation [74] [41] | Moderate | Low | Task-based studies with identifiable artifacts | Leaves residual high-frequency noise |
| Wavelet Filtering [74] [41] | Moderate | High | Removing high-frequency artifacts | Computationally expensive, modifies entire signal |
| TDDR [41] | Moderate | Low | Offline analysis with motion spikes | Less effective for baseline shifts |
| Signal Discarding [74] | Variable (depends on contamination) | Very Low | Low-motion environments, sparse artifacts | Data loss, problematic for continuous analysis |
Table 2: Motion Artifact Characteristics in fNIRS versus EEG
| Characteristic | fNIRS | EEG |
|---|---|---|
| Primary artifact sources | Optode-skin decoupling, head movements [41] | Electrode impedance changes, cable motion, skin stretch |
| Typical artifact morphology | Spikes, baseline shifts, low-frequency variations [74] | High-amplitude transients, drift, high-frequency noise |
| Impact on signal | Corrupts hemodynamic response (HbO/HbR) | Obscures neural oscillations, event-related potentials |
| Optimal correction approach | Spline, wavelet, 1DCNNwP [74] [41] | ICA, PCA, temporal filtering |
| Validation emphasis | Hemodynamic response preservation, SNR/CNR improvement [41] | Neural oscillatory power, topological consistency |
This protocol generates semi-simulated data with controlled motion artifacts for method validation [74]:
Collect motion-free baseline data: Record resting-state fNIRS from 35+ healthy adults during 15 minutes of stillness using your standard acquisition parameters.
Characterize real motion artifacts: Extract representative motion artifacts from separate datasets with intentional movements or from highly contaminated segments. Categorize them as spike-like or baseline-shift artifacts [74].
Create semi-simulated datasets:
Validation framework:
This protocol implements a convolutional neural network approach for real-time fNIRS processing [41]:
Network architecture design:
Training strategy:
Real-time implementation:
Table 3: Essential Tools for fNIRS Motion Correction Research
| Tool/Resource | Function | Application Context |
|---|---|---|
| 1DCNNwP Architecture [41] | Neural network for real-time artifact suppression | Individual subject processing, minimal prior data requirements |
| Spline Interpolation (MARA) [74] [41] | Segment-based artifact correction | Offline analysis, identifiable motion artifacts |
| Wavelet Filtering [74] [41] | Frequency-domain artifact removal | High-frequency artifact contamination |
| Short-Separation Channels [74] | Regress out extra-cerebral physiological noise | Reducing systemic physiological contamination in resting-state FC |
| Accelerometer-based Detection [41] | Hardware-based motion tracking | Complementary motion detection for validation |
| Semi-Simulated Data Framework [74] | Controlled performance evaluation | Method benchmarking across contamination types and levels |
Semi-Simulated Data Validation Workflow
1DCNNwP Architecture for Real-Time Processing
Motion artifacts (MAs) represent a significant challenge in non-invasive neuroimaging, particularly for functional near-infrared spectroscopy (fNIRS) and electroencephalography (EEG). These artifacts arise from subject movement, leading to compromised data quality and potentially erroneous scientific conclusions [30] [33]. In fNIRS, motion causes imperfect contact between optodes and the scalp, resulting in signal artifacts such as high-frequency spikes, slow drifts, and baseline shifts [30]. EEG signals are equally vulnerable to movement, as electrode displacement or muscle activity introduces electrical noise that obscures genuine neural signals [75] [59]. The development of robust motion artifact correction techniques is therefore essential for advancing neurovascular and neuroelectrical research.
Despite numerous proposed algorithms for MA processing, the field lacks standardized evaluation criteria to assess their performance objectively [30] [15]. Researchers employ various metrics and validation approaches, making cross-method comparisons difficult and hindering scientific consensus on optimal correction strategies. This article proposes a universal evaluation framework for motion artifact correction methods, providing researchers with standardized protocols, troubleshooting guidance, and quantitative assessment tools to enhance methodological rigor and reproducibility in fNIRS and EEG studies.
Understanding the distinct characteristics of motion artifacts in fNIRS versus EEG is fundamental to selecting appropriate correction strategies. The table below summarizes key differences:
Table 1: Characteristics of Motion Artifacts in fNIRS vs. EEG
| Feature | fNIRS | EEG |
|---|---|---|
| Primary Signal Measured | Hemodynamic response (HbO/HbR concentration changes) [75] | Electrical activity from synchronized neuronal firing [59] |
| Physical Cause of MA | Optode displacement, non-orthogonal contact, pressure changes on scalp [33] | Electrode movement, cable motion, muscle activity [75] |
| Common MA Manifestations | High-frequency spikes, slow drifts, baseline shifts [30] | High-amplitude spikes, low-frequency drift, muscle artifact contamination |
| Typical MA Duration | Seconds to minutes (hemodynamic response time) [75] | Milliseconds to seconds (electrical signal time scale) [59] |
| Sensitivity to Movement | Moderate (more tolerant than EEG) [75] | High (very susceptible to movement) [75] |
FAQ: How can I distinguish motion artifacts from true neural signals in my data?
Answer: Recognizing artifact patterns is the first step in effective correction:
FAQ: Which modality is more suitable for studies involving significant movement?
Answer: fNIRS generally demonstrates superior tolerance to movement artifacts compared to EEG [75]. This makes fNIRS particularly advantageous for naturalistic studies involving walking, rehabilitation exercises, or research with pediatric populations. However, simultaneous fNIRS-EEG recordings can provide complementary information, with fNIRS offering better spatial localization and EEG providing superior temporal resolution [59] [26].
A standardized framework for evaluating motion artifact correction methods requires multiple quantitative metrics that assess both noise suppression and signal fidelity. The following table summarizes essential metrics proposed for universal adoption:
Table 2: Universal Evaluation Metrics for Motion Artifact Correction Performance
| Metric Category | Specific Metric | Calculation | Interpretation | Applicable Modalities |
|---|---|---|---|---|
| Noise Suppression | ΔSignal-to-Noise Ratio (ΔSNR) [28] | SNRpost - SNRpre | Higher positive values indicate better noise reduction | fNIRS & EEG |
| Noise Suppression | Percentage Reduction in Motion Artifacts (η) [28] | (MApre - MApost) / MApre × 100% | Higher percentage indicates greater artifact removal | fNIRS & EEG |
| Signal Distortion | Mean Squared Error (MSE) [30] | (1/n) × Σ(originali - correctedi)² | Lower values indicate less signal distortion | fNIRS & EEG |
| Signal Distortion | Contrast-to-Noise Ratio (CNR) [30] | (Signaltask - Signalrest) / σrest | Higher values indicate better preservation of physiological signals | Primarily fNIRS |
| Classification Accuracy | Confusion Matrix Metrics [30] | Accuracy, Precision, Recall, F1-score | Higher values indicate better restoration of brain-state discriminability | fNIRS & EEG (BCI contexts) |
FAQ: How many metrics should I use to evaluate my motion correction algorithm?
Answer: Comprehensive evaluation requires multiple metrics from different categories. Relying on a single metric provides an incomplete picture. For example, an algorithm might show excellent noise reduction (high ΔSNR) but poor signal preservation (high MSE). We recommend using at least one metric from each category: noise suppression (e.g., ΔSNR), signal distortion (e.g., MSE), and task-performance (e.g., CNR or classification accuracy) [30] [15].
FAQ: What are common pitfalls in metric interpretation?
Answer: The most common pitfalls include:
Validating motion artifact correction methods requires rigorous experimental protocols using both simulated and real datasets. The diagram below illustrates a comprehensive validation workflow:
Figure 1: Comprehensive Validation Workflow for Motion Artifact Correction Methods
Simulated Data Generation: Create hybrid datasets by adding real motion artifacts (from motion-only recordings) to clean fNIRS/EEG baselines [15]. This approach provides ground truth for quantitative evaluation. For fNIRS, synthetic hemodynamic responses can be generated with varying shapes and amplitudes to test an algorithm's ability to recover known signals [30].
Experimental Data Collection: Implement protocols that induce controlled motion artifacts:
Task Paradigms: Include both resting-state and task-active conditions (e.g., motor execution, observation, or imagery) to evaluate correction performance across different neural states [26].
FAQ: How can I validate my correction method without ground truth data?
Answer: When pure ground truth is unavailable, employ these strategies:
FAQ: What is the minimum sample size for method validation?
Answer: While requirements vary by research question, studies with robust validation typically include:
Recent comprehensive evaluations have compared the performance of various motion artifact correction algorithms. The table below synthesizes findings from multiple studies:
Table 3: Comparative Performance of Motion Artifact Correction Algorithms
| Algorithm | Core Principle | Best For | Performance Highlights | Limitations |
|---|---|---|---|---|
| Temporal Derivative Distribution Repair (TDDR) [15] | Statistical repair of temporal derivatives based on normal distribution assumptions | Functional connectivity analysis | Superior recovery of original FC patterns; Best ROC performance | Requires parameter tuning |
| Wavelet Filtering Methods [28] [15] | Multiresolution analysis with thresholding of wavelet coefficients | Single-channel denoising; Combined with other methods | Effective for both fNIRS & EEG; Excellent noise suppression | Choice of wavelet basis affects performance |
| Wavelet-CCA (WPD-CCA) [28] | Wavelet decomposition followed by canonical correlation analysis | Single-channel EEG & fNIRS with prominent artifacts | Highest ΔSNR (30.76 dB for EEG; 16.55 dB for fNIRS) | Computationally intensive; Two-stage process |
| Kalman Filtering [15] | Autoregressive modeling with state estimation | Online, real-time applications | Suitable for real-time implementation | Requires noise covariance estimation |
| Spline Interpolation (MARA) [15] | Spline interpolation over detected artifact segments | Offline analysis with distinct artifacts | Supported in major toolboxes; Effective for sharp artifacts | Sensitive to accurate artifact detection |
| Correlation-Based Signal Improvement (CBSI) [15] | Leverages negative correlation between HbO and HbR | fNIRS with coupled HbO/HbR changes | No auxiliary hardware needed; Simple implementation | fNIRS-specific; Assumes negative correlation |
Table 4: Essential Research Materials and Tools for Motion Artifact Investigation
| Item Category | Specific Examples | Function in Research | Implementation Notes |
|---|---|---|---|
| Hardware Solutions | Accelerometers [33], 3D motion capture systems [33] | Direct measurement of head movement for reference-based artifact removal | Requires synchronization with fNIRS/EEG systems |
| Software Toolboxes | HOMER2 [30], NIRS-KIT [15] | Provide implemented algorithms for standardized processing | Facilitates method replication and comparison |
| Wavelet Packages | Daubechies (db1-db3), Symlets (sym4-sym6), Fejer-Korovkin (fk4-fk8) [28] | Basis functions for wavelet-based denoising methods | Wavelet choice affects performance; db1 often optimal for EEG [28] |
| Multimodal Platforms | Integrated EEG-fNIRS systems [59] [26] | Simultaneous acquisition for multimodal artifact analysis | Enables cross-validation of neural signals |
| Validation Datasets | Simulated data with ground truth [30] [15], Public repositories (e.g., OpenNeuro) | Benchmarking algorithm performance | Critical for method validation and comparison |
Implementing an effective motion artifact management strategy requires a systematic approach. The following workflow integrates prevention, correction, and validation:
Figure 2: Integrated Motion Artifact Management Workflow
FAQ: How do I choose the right correction algorithm for my study?
Answer: Consider these factors when selecting an algorithm:
FAQ: What are common implementation mistakes in motion artifact correction?
Answer: Frequent implementation errors include:
Establishing universal evaluation criteria for motion artifact correction in fNIRS and EEG research is crucial for advancing neuroimaging methodology. This proposed framework—incorporating standardized metrics, validation protocols, and algorithm benchmarking—provides a foundation for more rigorous and reproducible research practices. As the field evolves, future work should focus on developing modality-specific benchmarks, establishing reporting standards, and creating shared datasets with ground truth annotations.
The integration of machine learning approaches presents promising avenues for future development [30]. However, these methods must be evaluated using the same rigorous standards as traditional algorithms. By adopting a standardized framework for assessing motion artifact correction techniques, researchers can accelerate methodological advances and enhance the reliability of neuroimaging findings across both basic and clinical applications.
Motion artifact correction is not a one-size-fits-all endeavor but a critical, modality-specific consideration for high-quality neuroimaging. The choice between fNIRS and EEG, and the subsequent selection of a correction strategy, must be guided by the research question, with fNIRS offering greater motion tolerance for sustained cortical processes and EEG providing unparalleled temporal resolution for rapid neural dynamics. The future of artifact correction lies in the refinement of hybrid and learning-based methods, such as WPD-CCA and specialized neural networks like Motion-Net and AnEEG, which show significant promise in handling complex, real-world artifacts. For the biomedical and clinical research community, adopting robust, validated correction pipelines is paramount. This will not only enhance the reliability of neural data in drug development and clinical trials but also unlock the potential for more ecologically valid studies outside controlled laboratory settings, ultimately accelerating discoveries in neuroscience and improving patient outcomes.