Any chance I could get some help on this? still having this problem
On Apr 20, 2017, at 6:26 PM, Jared P Zimmerman jaredz@mail.med.upenn.edu wrote:
Hi FS Experts,
I’m having trouble getting anatomical stats from a parcellation I made out of scanner-space volume ROIs. I have taken the following steps to do this.
mri_vol2vol --mov myROI.nii.gz --targ orig.mgz --regheader --o myROI_orig.nii.gz --interp nearest mris_sample_parc Subj111 lh myROI_orig.nii.gz myROIs.annot -ct ROI_test_table.txt On this step I ALWAYS get an error “could not open translation file /share/apps/freesurfer/5.3.0/cma_parcellation_colors.txt” even though I specify a CT with -ct, or when I specify a table with -t, or with both This seems to work though and I can view this annot on the surface with tksurfer mris_anatomical_stats -a /path/to/myROIs.annot -b Subj111 lh
When I run mris_anatomical_stats I get the following error: CTABfindAnnotation: ct was NULL Segmentation fault (core dumped)
I’m guessing this is from the color-table not being embedded in the annot file, but I’ve tried to get that embedded in many ways.
My questions are:
What is causing the error with mris_anatomical_stats? What is the difference between the -t and -ct flags for mris_sample_parc and which should I use? Should I use a specific color-table for this? I made my own which was just a space delimited file with “index name r g b a” for all my ROIs, but should I be adding this data to some existing color-table to make this work?
Thanks, Jared _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.