Artifact Detection and Repair: Overview and Sample Outputs

Similar documents
Artifact detection and repair in fmri

Quality Checking an fmri Group Result (art_groupcheck)

SPM8 for Basic and Clinical Investigators. Preprocessing. fmri Preprocessing

Functional MRI in Clinical Research and Practice Preprocessing

FMRI Pre-Processing and Model- Based Statistics

SPM8 for Basic and Clinical Investigators. Preprocessing

Basic fmri Design and Analysis. Preprocessing

EPI Data Are Acquired Serially. EPI Data Are Acquired Serially 10/23/2011. Functional Connectivity Preprocessing. fmri Preprocessing

Journal of Articles in Support of The Null Hypothesis

Quality Assurance SPM8. Susan Whitfield-Gabrieli MIT

Robust Realignment of fmri Time Series Data

Fmri Spatial Processing

Introduction to fmri. Pre-processing

fmri Analysis Sackler Ins2tute 2011

Functional MRI data preprocessing. Cyril Pernet, PhD

SPM Introduction. SPM : Overview. SPM: Preprocessing SPM! SPM: Preprocessing. Scott Peltier. FMRI Laboratory University of Michigan

SPM Introduction SPM! Scott Peltier. FMRI Laboratory University of Michigan. Software to perform computation, manipulation and display of imaging data

Single Subject Demo Data Instructions 1) click "New" and answer "No" to the "spatially preprocess" question.

Group (Level 2) fmri Data Analysis - Lab 4

White Pixel Artifact. Caused by a noise spike during acquisition Spike in K-space <--> sinusoid in image space

Analysis of fmri data within Brainvisa Example with the Saccades database

fmri Preprocessing & Noise Modeling

SPM Course! Single Subject Analysis

Normalization for clinical data

Diffusion MRI Acquisition. Karla Miller FMRIB Centre, University of Oxford

AFNI Preprocessing: Outline, Recommendations, and New(ish) Stuff. Robert W Cox SSCC / NIMH & NINDS / NIH / DHHS / USA / EARTH

CS 229 Final Project Report Learning to Decode Cognitive States of Rat using Functional Magnetic Resonance Imaging Time Series

This exercise uses one anatomical data set (ANAT1) and two functional data sets (FUNC1 and FUNC2).

The organization of the human cerebral cortex estimated by intrinsic functional connectivity

CONN fmri functional connectivity toolbox

GLM for fmri data analysis Lab Exercise 1

FSL Pre-Processing Pipeline

Tutorial BOLD Module

FSL Pre-Processing Pipeline

Politecnico di Torino. Porto Institutional Repository

Automated MR Image Analysis Pipelines

Statistical Analysis of Neuroimaging Data. Phebe Kemmer BIOS 516 Sept 24, 2015

fmri pre-processing Juergen Dukart

Pre-processing of ASL data T CT

A User s Guide to Graphical-Model-based Multivariate Analysis

Preprocessing of fmri data

INDEPENDENT COMPONENT ANALYSIS APPLIED TO fmri DATA: A GENERATIVE MODEL FOR VALIDATING RESULTS

fmri Basics: Single Subject Analysis

This Time. fmri Data analysis

2. Creating Field Maps Using the Field Map GUI (Version 2.0) in SPM5

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, April 5

CHAPTER 2. Morphometry on rodent brains. A.E.H. Scheenstra J. Dijkstra L. van der Weerd

7/15/2016 ARE YOUR ANALYSES TOO WHY IS YOUR ANALYSIS PARAMETRIC? PARAMETRIC? That s not Normal!

How to make ROI files

Improvement and Evaluation of a Time-of-Flight-based Patient Positioning System

Decoding the Human Motor Cortex

Generate Digital Elevation Models Using Laser Altimetry (LIDAR) Data

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2006

Locating Motion Artifacts in Parametric fmri Analysis

Zurich SPM Course Voxel-Based Morphometry. Ged Ridgway (Oxford & UCL) With thanks to John Ashburner and the FIL Methods Group

MRI image formation 8/3/2016. Disclosure. Outlines. Chen Lin, PhD DABR 3. Indiana University School of Medicine and Indiana University Health

Image Processing

The alignment process uses two alignment methods: (1) the mrvista function, rxalign, for a rough alignment, and then (2) KNK's alignment for

Linear Operations Using Masks

Fuzzy C-means Clustering For Retinal Layer Segmentation On High Resolution OCT Images

Version. Getting Started: An fmri-cpca Tutorial

Basic Introduction to Data Analysis. Block Design Demonstration. Robert Savoy

Neuroimaging and mathematical modelling Lesson 2: Voxel Based Morphometry

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008

MEDICAL IMAGE COMPUTING (CAP 5937) LECTURE 4: Pre-Processing Medical Images (II)

Data mining for neuroimaging data. John Ashburner

Introduction to Neuroimaging Janaina Mourao-Miranda

NA-MIC National Alliance for Medical Image Computing fmri Data Analysis

fmri/dti analysis using Dynasuite

fmri Image Preprocessing

Analysis of Functional MRI Timeseries Data Using Signal Processing Techniques

Software Release Notes for nordicbrainex v1.1.3

MIDAS FAQ. 1) Supported MR Systems and SI Acquisition Protocols. 2) Recommended Computer Systems

Preprocessing of fmri data (basic)

Measuring baseline whole-brain perfusion on GE 3.0T using arterial spin labeling (ASL) MRI

COBRE Scan Information

Spatial Filtering Methods in MEG. Part 3: Template Normalization and Group Analysis"

Brain Extraction, Registration & EPI Distortion Correction

Data Visualisation in SPM: An introduction

HyperBlade Wireless Saber Sound Software Scimitar Operating Instructions w/ Bluetooth Sound Modules Hyperdyne Labs 2006

Comparative Neuroanatomy Tutorial: Hippocampal Quantification with ImageJ

I.e. Sex differences in child appetitive traits and Eating in the Absence of Hunger:

Effect of age and dementia on topology of brain functional networks. Paul McCarthy, Luba Benuskova, Liz Franz University of Otago, New Zealand

SIEMENS MAGNETOM Verio syngo MR B17

Playing with data from lab

Table of Contents. IntroLab < SPMLabs < Dynevor TWiki

Getting Started Guide

MR IMAGE SEGMENTATION

A Model-Independent, Multi-Image Approach to MR Inhomogeneity Correction

Data Visualisation in SPM: An introduction

Supplementary methods

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

Software Release Notes for nordicbrainex v2.3.2

EE795: Computer Vision and Intelligent Systems

Role of Parallel Imaging in High Field Functional MRI

Pattern Recognition for Neuroimaging Toolbox: PRoNTo

Topology and fmri Data

Source Reconstruction in MEG & EEG

Function-Structure Integration in FreeSurfer

Extending the GLM. Outline. Mixed effects motivation Evaluating mixed effects methods Three methods. Conclusions. Overview

Transcription:

Artifact Detection and Repair: Overview and Sample Outputs Paul Mazaika February 2007 Programs originated in Gabrieli Neuroscience Laboratory, updated and enhanced at Center for Interdisciplinary Brain Science Research, Stanford University. Questions? Please contact: mazaika@stanford.edu

ArtRepair Overview ArtRepair software Detects and repairs artifacts at the volume, slice, and voxel level Specifies scans to deweight for more accurate estimation Compares estimation accuracy using Global Quality measure Credits Original version by Susan Whitfield, and Jeff Cooper in Gabrieli Neurosciences Lab. Updated and enhanced by Paul Mazaika for clinical subjects in Center for Interdisciplinary Brain Science Research in Stanford Psychiatry and Behavioral Sciences. Grant support from National Institute of Mental Health Reference Detection and Repair of Transient Artifacts in fmri Data, by Paul Mazaika, Susan Whitfield, and Jeffrey C. Cooper, HBM 2005. Bugs and questions: mazaika@stanford.edu

Start-Up Install the ArtRepair software Insert ArtRepair software folder into SPM toolbox folder Start the ArtRepair interface Select ArtRepair in the SPM toolbox Five main programs Contrast Movie to visualize all the data Noise Filtering to remove noise spikes and bad slices Artifact Repair to repair outlier volumes Repair and Compare to re-analyze results after repairs Global Quality to review quality of estimates from SPM

Procedure to repair Outliers Preview the data before any preprocessing art_global to locate unusual scans in the time series art_movie to look at EVERY voxel over a range of images Repair bad slices and voxel spike noise, before preprocessing art_slice automatically locates bad slices, or suppresses all spike noise Can use art_movie to observe data before and after repairs Repair bad volume data just before estimation, after preprocessing art_global, using realignment files, finds large scan-to-scan motion Re-analyze an existing SPM result with Repair and Compare Set up a new folder for Repaired Results art_redo starts with existing SPM.mat results, repairs image data (preserving all existing data!), runs SPM with the repaired data, and compares the Global Quality of results before and after repairs. Review quality of estimation results for each subject art_summary measures distribution of contrasts and noise over the head Writes file GlobalQuality.txt that summarizes the results.

Detect and repair noise and bad slices before preprocessing Raw Images Repair Physically-Based Outliers SPM Preprocessing Programs ( in ArtRepair toolbox ) - art_global (to locate the bad volumes) - art_movie (visualization) - art_slice (bad slices) Repair bad data before preprocessing, otherwise large outliers will propagate to good data through slicetiming and realignment.

Detection of Bad Volumes (art_global) dip fast motion This subject is a squirmy child healthy adult data looks like region from scans 200 to 300. Art_global identifies volume outliers with red lines. Use it to locate bad volumes to review with the Contrast Movie. Recommend not to repair any volumes until after preprocessing. typical motion This GUI interface is the 2005 version. The updated 2006 version is shown later.

Contrast x 10 to view Artifacts (art_movie) Full head slice montage VENTRAL A Contrast Image of good data should be nearly black. +10% Contrast Image shows difference of each volume from a reference volume, enhanced 10x. Reference Image DORSAL Contrast scale is 160 counts (+ or 10% for 1600 mean). All input images are scaled to this size. -10%

Normal Contrast Image (vol.575) On slider, click arrow to move one volume, click box area to move ten volumes. Typical image showing subject motion in +z direction, eye movement or blink, and dropouts in anterior slices.

Subject Induced Artifacts Vol 430 Vol 560 Global Dip Unusual effect, perhaps hyperventilation. Volume should be discarded. Sudden subject motion Volume should be discarded.

Scanner Artifacts Warm-Up Scan (Vol. 002) Overall gain has not stabilized. Warm up volumes should be discarded. Bad volume Should be discarded.

Example of Bad Slices Slice artifacts probably due to RF-coil fluctuation. Slice-time alignment will smear this noise over time on a voxel. Most of the data Is good art_slice program can fix it.

Bad Slice and Speckle Repair (art_slice) Raw data After median filter and head mask Art_slice finds slice outliers - repair bad slices by interpolation ( TR > 2 ) & writes logfile - repair all data by median filter ( TR < 2 )

Detect and repair bad volumes just before estimation Preprocessed Images SPM Estimation Results (No repairs) Repaired Images SPM Estimation with deweighting Results (With repairs) Programs ( in ArtRepair toolbox ) - art_global (to repair the bad volumes) - art_redo (re-estimate with deweighting) - art_summary (to measure Global Quality)

Detection and Repair of bad volumes, after realignment and smoothing (art_global) Clinical subject data with high motion from FraX child See software notes on following page.

Notes on art_global Outliers are selected by large variations in average global intensity, or excessive scan-to-scan motion Thresholds for outliers are user adjustable Individual outlier editing is also possible Outliers are marked by red vertical lines Additional volumes (marked in green) are recommended for deweighting in estimation, to satisfy slowly-varying background assumption of the GLM. When user hits repair button, a new set of repaired images is written to the same folder. Outlier volumes are changed, all other images remain the same. All old images are preserved.

How to measure performance? Usual GLM-based accuracy measures may not be reliable Since artifacts and large motion could make activations falsely high or low, simple activation strength is not reliable. Since artifacts make the data non-stationary, the model residual ResMS is not reliable. Global Quality assumptions For artifacts and large motion, the motion-induced noise (residual after motion correction) is often far larger than the true cognitive contrasts. Assume the true contrasts are small, then the concentration of the ensemble of contrasts (effect sizes) over all the voxels in the head reflects the statistical efficiency of the GLM estimator operating in this data. Validation Inject known test pulses into clinical data sets, and then measure the accuracy of estimations relative to truth, and the Global Quality relative to the accuracy of estimations.

Validation of Repair effectiveness and Global Quality measure of repair 1. Add test injections to real clinical data, and measure accuracy of estimates. 2. Repair the data after test injections, and measure accuracy of estimates. Since StDev is smaller, the repairs are effective. 3. Find art_summary of estimates from the same test injected data. 4. Compare art_summary of estimates for same repaired, test injected data. Validation means art_summary reflects repair performance.

Validation of Global Quality for 24 test cases

Effect of Repairs (art_summary) Repair results are highly variable! Sometimes spectacular (error is cut in half), sometimes good (these figures show 27% improvement), little change for controls, and occasionally worse. If the results are worse, try tweaking the threshold or just use the unrepaired results.

Notes on art_summary Art_summary shows a summary figure and writes results to GlobalQuality.txt above the images folder GlobalQuality.txt shows results for inner region, outer region, and total for the head, where the outer region is roughly the 1 cm thick boundary of the head mask. Inner region is everything else. Better estimates have small STD and bias for the contrasts, and small mean value for ResMS. Recommendations: Try a low motion subject to learn the typical accuracy level Always check repair results with art_summary. Sometimes repairs produce worse results! If so, try choosing a threshold that repairs less than 1/3 of the data.

Re-analyze an existing SPM result using repaired data. Compare results to original. Preprocessed Images SPM Results (No repairs) Repairs Images SPM Estimation with deweighting Results (With repairs) Programs ( in ArtRepair toolbox ) - art_redo ( Repair and Compare button) - which calls art_global and art_summary All old images and results are preserved!

Global Quality.txt file compares results before and after repairs. Example text file Output: GlobalQuality.txt C:\fraX\fr1369\ResultsSPM\con_0010.img Voxels/1000 Mean Std RMS Trimmean 90ile %Vox > 1% AbsMax 13.5820-0.0090 0.7744 0.7744-0.0164 0.8316 7.4216 6.1105 C:\fraX\fr1369\ResultsSPM\ResMS.img Voxels/1000 Mean Std RMS Trimmean 90ile %Vox > 1% AbsMax 13.5820 28.5143 15.4679 32.4395 26.9395 22.2822 100.0000 172.9981 C:\fraX\fr1369\ResultsRepaired\con_0010.img Voxels/1000 Mean Std RMS Trimmean 90ile %Vox > 1% AbsMax 13.5820 0.0418 0.5663 0.5678 0.0341 0.6163 4.4692 4.0296 C:\fraX\fr1369\ResultsRepaired\ResMS.img Voxels/1000 Mean Std RMS Trimmean 90ile %Vox > 1% AbsMax 13.5820 17.3786 10.5526 20.3316 16.1886 15.2464 100.0000 124.2562 Global Quality is the Std value in the top row under the con_ images. SMALLER VALUES ARE BETTER. In the data above, that value is 0.7744 without repairs, and 0.5663 after repairs. Thus, the repairs reduced the Std of the estimation error for this contrast by (0.7744-0.5663)/0.7744 = 27%. The average (over the head) of the ResMS image is the Mean value in the top row under the ResMS image. This value represents an "average" error in cases when GLM assumptions are valid. In the data above, that value is 28.5143 without repairs, and 17.3786 after repairs. With this measure, the repairs reduced the average ResMS error by (28.5143-17.3786)/28.5143 = 39%. Both measures show that repairs are helping. The test case validations indicate that Global Quality correlates better with RMS accuracy for severe motion cases.

Create Head Mask (art_automask) Utility program to automatically generate a full head mask from a single functional image (Alternative to SPM Mask) with special logic to eliminate wraparound artifact from spiral scan. The mask is written out as ArtifactMask.img in the image folder. Check mask quality using SPM Display button