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 

'스크랩 > fMRIB(fsl)' 카테고리의 다른 글

[펌] FSL(fMRIB) some useful fslmaths commands  (0) 2018.05.31

+ Recent posts