Hi FS folks
I was trying to use the load_segstats function to read aseg.stats and wmparc.stats
It works well will these files but I get the following error if I try to read lh.aparc.stats or rh.aparc.stats
[segname segindex segstats] = load_segstats('lh.aparc.stats','bert'); ??? Subscripted assignment dimension mismatch.
Error in ==> load_segstats at 113 segstats(nthrow,:) = [nvox vol segmn segstd segmin segmax segrng];
Any suggestions on how I could fix the matlab function ? Thanks Mehul
That program is for loading "seg stats", ie, anything created by mri_segstats, which creates aseg.stats. Unfortunately, it does not create ?h.parc.stats. We don't have a program to read that in.
doug
Mehul Sampat wrote:
Hi FS folks
I was trying to use the load_segstats function to read aseg.stats and wmparc.stats
It works well will these files but I get the following error if I try to read lh.aparc.stats or rh.aparc.stats
[segname segindex segstats] = load_segstats('lh.aparc.stats','bert'); ??? Subscripted assignment dimension mismatch.
Error in ==> load_segstats at 113 segstats(nthrow,:) = [nvox vol segmn segstd segmin segmax segrng];
Any suggestions on how I could fix the matlab function ? Thanks Mehul
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu