fMRI Preprocessing Pipeline Guide

Guide fMRI preprocessing decisions for motion correction, normalization, and QC workflows.

34|5|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/NeuroAIHub/awesome_cognitive_and_neuroscience_skills --skill fmri-preprocessing-pipeline-guide-neuroaihub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fMRI Preprocessing Pipeline Guide
Source: https://github.com/NeuroAIHub/awesome_cognitive_and_neuroscience_skills/tree/main/skills/fmri-preprocessing-pipeline-guide
Command: npx skills add https://github.com/NeuroAIHub/awesome_cognitive_and_neuroscience_skills --skill fmri-preprocessing-pipeline-guide-neuroaihub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill guides researchers through domain-specific preprocessing choices so that they avoid artifacts and misalignments before statistical modeling. It covers every decision from slice timing and motion correction through distortion correction, normalization, smoothing, and confound handling while stressing verification and QC checkpoints.

Core Features & Use Cases

  • Adaptive decision tree for when to apply slice timing correction, smoothing, and normalization depending on TR, acquisition pattern, and whether the analysis is task, resting-state, or MVPA.
  • Step-by-step protocols for conversion, motion correction, distortion correction, coregistration, and smoothing with recommended tools such as fMRIPrep plus links to reference documents for parameters and QC procedures.
  • Rigorous quality control guidance with FD/DVARS/tSNR thresholds, visual inspection checklists, and exclusion criteria tailored to task, resting-state, and decoding studies, helping teams justify their preprocessing plan.

Use case: a graduate student preparing an event-related study asks for this skill to justify skipping smoothing for MVPA, to enforce FD < 0.2 mm before connectivity analysis, and to cite fMRIPrep QC outputs.

Quick Start

Ask the skill to plan a motion correction, distortion correction, normalization, and QC regime for your upcoming task fMRI project.

Frequently Asked Questions about fMRI Preprocessing Pipeline Guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right fMRI preprocessing steps for task versus resting-state analysis?

fMRI preprocessing requires an adaptive decision tree to select steps like slice timing correction and normalization based on whether your analysis is task-based, resting-state, or MVPA. This ensures artifacts are avoided before statistical modeling by tailoring motion correction and smoothing to your specific study design.

What are the recommended quality control thresholds for fMRI motion correction?

fMRI quality control thresholds typically enforce framewise displacement below 0.2 mm for connectivity analysis, alongside DVARS and tSNR metrics. You should use visual inspection checklists and quantitative exclusion criteria tailored to your study type to justify preprocessing decisions and remove high-motion outliers.

Can I skip spatial smoothing for MVPA preprocessing?

Skipping spatial smoothing for MVPA is recommended to preserve fine-grained spatial patterns needed for decoding. The preprocessing guide provides domain-informed justifications for omitting smoothing in multivariate analyses, ensuring your pipeline maintains the localized voxel information critical for pattern classification.

How do I handle distortion correction and motion correction in an fMRIPrep pipeline?

Distortion and motion correction in an fMRIPrep pipeline are handled through step-by-step protocols that integrate BIDS-compliant inputs. The workflow guides coregistration and confound handling, utilizing fMRIPrep tooling to generate precise alignment and correct susceptibility distortions before handing off to GLM stages.

Do I need BIDS-compliant data to run fMRI preprocessing workflows?

BIDS-compliant inputs are required to run fMRI preprocessing workflows using fMRIPrep. Ensuring your neuroimaging data is converted to the BIDS format before starting allows the pipeline to automatically parse acquisitions and apply the correct motion correction and normalization parameters.

When should I apply slice timing correction in my fMRI preprocessing pipeline?

Slice timing correction should be applied based on your TR and acquisition pattern, determined via an adaptive decision tree. This preprocessing step corrects temporal offsets from interleaved or sequential slice acquisition, which is critical for event-related task studies before accurate statistical modeling.