Home > vbmeg > functions > tool_box > dmri_processor > functions > test > test_dmri_FA_image_create.m

test_dmri_FA_image_create

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 niftigz_file    = '/home/cbi-data4/rhayashi/te1-face/fsl/Sub08/dti_rot_mod/data.nii.gz';
0003 brain_mask_file = '/home/cbi-data4/rhayashi/te1-face/fsl/Sub08/dti_rot_mod/nodif_brain_mask.nii.gz';
0004 bval_file       = '/home/cbi-data4/rhayashi/te1-face/fsl/Sub08/dti_rot_mod/bvals';
0005 bvec_file       = '/home/cbi-data4/rhayashi/te1-face/fsl/Sub08/dti_rot_mod/bvecs';
0006 output_basename = '/home/cbi-data4/rhayashi/DWI/test_create_FA_image/DTI_data';
0007 
0008 dmri_FA_image_create(niftigz_file, ...
0009                      brain_mask_file, ...
0010                      bval_file, bvec_file, ...
0011                      output_basename);
0012 
0013 if exist([output_basename, '_FA.nii.gz'], 'file') ~= 2
0014     error('Failed to create FA image.');
0015 end
0016

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005