스크랩/fMRIB(fsl)

fMRIB(FSL) 로 추적한 TRACT의 FA MEAN 구하기

푸른너구리 2018. 5. 31. 16:15

Create a Tract consisting of FA value

<warning>

Before you start, PROBTRACKX Probabilistic tracking should already be done.

If you have already done, you have 'fdt_paths.nii.gz' files.


#threshold an image to create a binary mask

#calculate the lower 15 percentile of an image

$fslstats fdt_paths.nii.gz -P 15

1.000000 


$fslmaths fdt_paths.nii.gz -thr 1.000000 -bin bin_fdt_paths.nii.gz


# create  FA value path

$fslmaths bin_fdt_paths.nii.gz -mul dti_FA.nii.gz output_fa_path.nii.gz


#'-M' options mean not including voxels with zeros

$fslstats output_fa_path.nii.gz -M

0.365507 


FA MEAN Value = 0.365507