Session 4 - Preprocessing Flashcards
(16 cards)
What is preprocessing (MRI)?
Preparation of data for anlysis
- apply statistical methods but not for analysis but for filtering data
- involves different steps:
1. Motion correction
2. Normalisation
3. Smoothing
4. Slice time correction
5. Unwarping
6. Reslicing
Motion correction
- scanner moves due to strong magnetic field
- people move (head, breathing, swallowing, spine relaxes, sagging of head pads, position changes, etc.)
β> re-align all images to create one final image: to increase sensitivity and specificity - modern scanners can perform online motion correction
reduced sensitivity
= major part of voxel-timeseries variance due to subject motion (~60%)
β> increases error variance: false negatives
reduces specificity
- motion can be correlated with experimental paradigm
- motion βmimicsβ experimental variance
β> false positive activations
Description of subject motion
- rigid body transformation:
β> topology is preserved - 6 transformation parameters
β> 3 translations (in x,y,z)
β> 3 rotations (on x,y,z) - jumps occur after break between runs: new positioning
- spine relaxes: people become longer: up to 1 voxel size
aim = minimise the sum of squared differences between volume to register and reference volume β> iteratively
z_i = x-yi (z_i - difference, x - selected reference volume, y_i - other volumes to register)
- typically this step creates a file for each volume defining how it has to be transformed to best match reference volume
What is reslicing?
= resample data to make it fit in the same space β> required interpolation
- different possibilities to interpolate
Interpolation methods
- Nearest neighbour:
- take two real values and add one close to it
- could cause a jump - Linear
- take mean β> trilinear possible for 3D - B-spline: typically used, take different points and fit function to it
- SINC: often used, can make images more sharp/blurry
Residual error
- after motion correction and reslicing
- get number (overall) and for each voxel: motion in image
Sources of residual error
Rigid body distortion
- slices of a volume are acquired successively
- motion occurs during the acquisition of a single volume not between volumes
- ghosts and other artefacts do not move synchronously with the rigid body
- motion can shift the slice position (eg slice 5 is not at previous location of slice 6)
- induces change of TR
- head motion distorts homogeneity of main magnetic field (B0) β> signal drop out
Solution
- include motion parameters as nuisance regressors in statistical model
B0 unwarping/inhomogeneity of B0
- geometrical distortion along phase encoding direction
- signal drop (mainly front, face): darker, less signal
- measure strength: can differ
- create field map to calculate with a shift map how much needs to be adjusted β> needs to be done for each location
slice time correction
- for long time a whole brain scan wasnβt possible β> causes a problem
- slices are acquired sequentially: take 2sec then the first slice has been recorded 2sec before the last one
β> typical time delay 60-100ms - take one slice time and correct all other slice times to the same time as the reference
- interpolation needed: realing points to a certain time
- why: important for event-related designs β> data is not collected at the same time but all is in reaction to the same event
- during statistical analysis: slices are treated as being acquisited simultaneously
Spatial normalisation
Reason:
- different head sizes, different brains β> get template to normalise brain to standardised space
β> one way to perform statistics across subjects (also see ROI analyses)
- different standard brains (blurry): start with image β> sequeeze into standard brain β> get normalised brain
- there are different atlases and reasons to use them
Allows for report in standardised coordinates across studies β> databases, meta-analyses
Parameters in spatial normalisation
12 parameters:
- 3 translations
- 3 rotations
- 3 zooms
- 3 sheers
optimisation of nonlinear basis function
β> possible important for spatial normalisation
- cosine basis function: multiply origianl image
β> shift right/left - minimise squared difference between reference volume and volume to register weighted by set of basis-function
β> ie find the optimal beta-weights for basis function
Spatial smoothing
Aim:
- reduce noise
- improve signal to noise ratio of the data
Why:
- high frequency noise is independent for each voxel
- signal (BOLD) spreads across voxels
- functional homology across subjects increases β> very important in group studies
Matched filter theory:
- if the filter is of the same form and size as the signal, noise is filtered maximally
Random-Field theory:
- FWHM minimally three times the voxel size
How:
- blurr the image, typcial smoothing between 2mm
- often Gaussian kernel, take width between two points
- multiply intensity value with kernel: convolusion
β> take pixel that needs to be adjusted plus a little bit of the neighbouring pixel depending on distance
β> after smoothing, the data fit better to the assumptions of the Random field theory
Reasons not to smooth
- brain gets enlarged (voxel beyond boundary)
- effective resolution is reduced
- fine-grained information can get lost β> multivariate pattern classification