Hi,
Is there any tool or function to create a histogram to check if I am distinguishing in the right way the white matter from the grey matter??
_________________________________________________________________ Con Vodafone disfruta de Hotmail gratis en tu móvil. ¡Pruébalo! http://serviciosmoviles.es.msn.com/hotmail/vodafone.aspx
not sure what you mean. You can load the data into matlab and use the matlab hist function to look at histograms. For example, from the subject's mri directory:
[vaseg, M,mr] = load_mgh('aseg.mgz'); [vnorm, M,mr] = load_mgh('norm.mgz'); ind_wm = find(vaseg == 2); ind_gm = find(vaseg == 3); hist(vnorm(ind_wm),255); hold on hist(vnorm(ind_gm),255);
where the 2 and 3 come from the FreeSurferColorLUT.txt file and correspond to left cerebral white matter and left cortical gray matter respectively.
cheers, Bruce
On Thu, 17 Sep 2009, africa millan wrote:
Hi,
Is there any tool or function to create a histogram to check if I am distinguishing in the right way the white matter from the grey matter??
Con Vodafone disfruta de Hotmail gratis en tu móvil. ¡Pruébalo! http://serviciosmoviles.es.msn.com/hotmail/vodafone.aspx
freesurfer@nmr.mgh.harvard.edu