User Tools

Site Tools


This is an old revision of the document!

How to correct by Intracraneal Volume (ICV)

I'm going to suppose you did the pipeline thing over your MRI images and you already have the study_mri.csv file. The Freesurfer version I'm using makes an estimation of Intracraneal volume and the pipeline scripts put it as EstimatedTotalIntraCranialVol_eTIV into the results file. First do this for a real CSV file:

$ sed 's/;/,/g' ab255_mri.csv > ab255_mri_rc.csv

Let's say we want to get the hippocampus volume (HV) correct by ICV. Then we must get Left and Right HV and calculate its medium value. HV = 0.5*(HVR+HVL)

Now first step is to fit a straight line for HV vs ICV and the ICV mean value (<ICV>). The adjusted HV will be aHV = HV - b*(ICV-<ICV>), with b as the regression coefficient of HV vs ICV.

Now we need to get the data. Let's try it in R.

x <- read.csv("ab255_mri_rc.csv")
x$HV = 0.5*(x$"Right.Hippocampus"+x$"Left.Hippocampus")
neuroimagen/byicv.1422439678.txt.gz · Last modified: 2020/08/04 10:47 (external edit)