Hi,
I’ve a .mgh that is a volume projected on the surface of the same subject at mid-thickness (output of mri_vol2surf) .
I would like to extract the mean hemipheric value in this X.mgh.
I guess it is possible with mris_anatomical stats but probably my command line is incorrect (see below).
Any advices?
Thank you and best,
Damien
mris_anatomical_stats ct_pp1_N4_bet_MP2RAGEcorr -a ct_pp1_N4_bet_MP2RAGEcorr/label/lh.aparc.annot lh R1.mgh
computing statistics for each annotation in ct_pp1_N4_bet_MP2RAGEcorr/label/lh.aparc.annot. reading volume /home/damien/bin/freesurfer6/subjects/ct_pp1_N4_bet_MP2RAGEcorr/mri/wm.mgz... reading input surface /home/damien/bin/freesurfer6/subjects/ct_pp1_N4_bet_MP2RAGEcorr/surf/lh.R1.mgh... ERROR: MRISread: file '/home/damien/bin/freesurfer6/subjects/ct_pp1_N4_bet_MP2RAGEcorr/surf/lh.R1.mgh' has 0 vertices! Probably trying to use a scalar data file as a surface!
Use mri_segstats with the --slabel option, eg,
mri_segstats --slabel subject $SUBJECTS_DIR/subject/label/lh.cortex --id 1 --i X.mgh --avgwf meanX.dat
On 05/10/2017 08:45 AM, Damien MARIE wrote:
Hi,
I’ve a .mgh that is a volume projected on the surface of the same subject at mid-thickness (output of mri_vol2surf) .
I would like to extract the mean hemipheric value in this X.mgh.
I guess it is possible with mris_anatomical stats but probably my command line is incorrect (see below).
Any advices?
Thank you and best,
Damien
mris_anatomical_stats ct_pp1_N4_bet_MP2RAGEcorr -a ct_pp1_N4_bet_MP2RAGEcorr/label/lh.aparc.annot lh R1.mgh
computing statistics for each annotation in ct_pp1_N4_bet_MP2RAGEcorr/label/lh.aparc.annot. reading volume /home/damien/bin/freesurfer6/subjects/ct_pp1_N4_bet_MP2RAGEcorr/mri/wm.mgz... reading input surface /home/damien/bin/freesurfer6/subjects/ct_pp1_N4_bet_MP2RAGEcorr/surf/lh.R1.mgh... ERROR: MRISread: file '/home/damien/bin/freesurfer6/subjects/ct_pp1_N4_bet_MP2RAGEcorr/surf/lh.R1.mgh' has 0 vertices! Probably trying to use a scalar data file as a surface!
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu