You could do it in matlab, something like waveforms = fast_vol2mat(MRIread('waveform.nii.gz'));
% this will be a matrix ntimepoints by nvertices You can then load the label with read_label.m and then pull out the columns from waveforms that you want. Make sure to account for the fact that the label indices are 0-based but matlab uses 1-based On 08/31/2017 02:27 PM, Mcnorgan, Christopher wrote: > Though one workaround might be to subdivide a label many, many times > using mris_divide_parcellation, I was wondering if it is possible to > obtain a per-vertex (or even per-face) fMRI waveform for a label. In > other words, rather than compute the average waveform across all > vertices, as with mri_segstats --label subject semi /path/to/label > --avgwf avgwave.txt, which yields a single value that averages across, > say, 5000 vertices, I would like to obtain each of the 5000 waveforms > averaged over. I assume this would be more comparable to the scale of > analysis used by those looking at voxel populations (e.g., as in MVPA). > > Thanks, Chris > > /********************************************** > * Chris McNorgan > * Assistant Professor > * Department of Psychology > * University at Buffalo, > * The State University of New York > * http://ccnlab.buffalo.edu/ > * Office: 716.645.0236 > * Lab: 716.645.0222 > **********************************************/ > > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/ _______________________________________________ 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.