Home > vbmeg > demo > tutorial_for_vbmeg2 > advanced > correct_bias_in_T1.m

correct_bias_in_T1

PURPOSE ^

Correct bias in T1 image.

SYNOPSIS ^

function correct_bias_in_T1(p)

DESCRIPTION ^

 Correct bias in T1 image.
 Bias corrected image filename is 'm' + original T1 image

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function correct_bias_in_T1(p)
0002 % Correct bias in T1 image.
0003 % Bias corrected image filename is 'm' + original T1 image
0004 %
0005 % Copyright (C) 2011, ATR All Rights Reserved.
0006 % License : New BSD License(see VBMEG_LICENSE.txt)
0007 
0008 disp(mfilename);
0009 
0010 % Set input file
0011 T1_file = fullfile(p.proj_root, p.t1_dirname, [p.struct_name '.nii']);
0012 
0013 % Correct bias
0014 vb_bias_correction_by_spm(T1_file);

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