Hi,
How can I calculate the number of None segmentation in right or left hippocampus or another structure in Matlab or in Freesufer?
Knut J
Hi Knut,
I'm not positive what you mean, but if you want None voxels that are adjacent to hippocampus you could use mri_morphometry to dilate each hippocampus, then do the rest in 3-4 lines of matlab. Something like
[vol_lh_dilated,M,mr] = load_mgh('lh.hippo.dilated.mgz') ; [vol_lh,M,mr] = load_mgh('aseg.mgz') ;
ind = find(vol_lh_dilated == 17 & vol_lh == 0);
although you may need to binarize, in which case you would replace the 17 above with 1.
cheers Bruce
On Mon, 21 Jan 2013, Knut J Bjuland wrote:
Hi,
How can I calculate the number of None segmentation in right or left hippocampus or another structure in Matlab or in Freesufer?
Knut J
freesurfer@nmr.mgh.harvard.edu