And these are all the same scanner/protocol!
T1WB=T1−μWBσWB
zscore_img
is a function in neurobase
that does this.zscore_img(img = img, mask = mask)
Procedure:
Procedure:
Find white matter area on histogram
Estimate mean μWS and variance σWS of voxel intensities in that area
Normalize with those means/variances: T1WS=T1−μWSσWS
Procedure:
Find white matter area on histogram
Estimate mean μWS and variance σWS of voxel intensities in that area
Normalize with those means/variances: T1WS=T1−μWSσWS
library(WhiteStripe) ind = whitestripe(img = t1, type = "T1", stripped = TRUE)$whitestripe.ind ws_t1 = whitestripe_norm(t1, indices = ind)
whitestripe
function takes an image, image type (in our case T1), and a logical indicating whether the image has been skull stripped.$whitestripe.ind
.whitestripe_norm
takes an image and the indicies from a call to whitestripe
and returns the White Stripe normalized image as a nifti.Fortin, Jean-Philippe, Elizabeth M Sweeney, John Muschelli, Ciprian M Crainiceanu, Russell T Shinohara, Alzheimer’s Disease Neuroimaging Initiative, and others. 2016. “Removing Inter-Subject Technical Variability in Magnetic Resonance Imaging Studies.” NeuroImage 132. Elsevier:198–212.
Shinohara, Russell T, Elizabeth M Sweeney, Jeff Goldsmith, Navid Shiee, Farrah J Mateen, Peter A Calabresi, Samson Jarso, et al. 2014. “Statistical Normalization Techniques for Magnetic Resonance Imaging.” NeuroImage: Clinical 6. Elsevier:9–19.