Hi Michael

you can use either --projfrac-avg or --projdist-avg (dist I guess if you want to specify 10mm). Note that this is an average along 1D (the surface normal direction), not in a volume window

cheers
Bruce
On Wed, 27 Feb 2019, Michael Jordan wrote:


        External Email - Use Caution        

Hi Bruce,

thank you it worked!

Another short question:

I want mri_surf2vol to assign the average of all volume voxel values within 10 
mm to the
corresponding vertices.
So if there is only one voxel value greater than zero in the volume, all 
vertices which are closer
than 10 mm should
get that value (or the mean if there is more than one value). Can I use ' 
--projdist 10' for this
purpose?

Thank you!!

Cheers,
Michael

Am Mo., 18. Feb. 2019 um 15:01 Uhr schrieb Bruce Fischl 
<fis...@nmr.mgh.harvard.edu>:
      Hi Michael

      you can use --regheader, which uses the ras2vox matrices to compute the
      registration (which is also what freeview does).

      cheers
      Bruce
      On Mon, 18 Feb
      2019, Michael Jordan wrote:

      >
      >         External Email - Use Caution        
      >
      > Hi,
      >
      > i would like to sample the t-values of a SPM output volume 
(spmT_0001.nii) onto the
      pial surface of
      > the same subject.
      > The volume is already aligned to the surface files (so if I view the 
volume as well as
      the surface
      > files in Freeview they are already aligned).
      >
      > Therefore I am unsure how to use mri_vol2surf because from my point of 
view I do not
      need any
      > registration (srcreg).
      > Nevertheless the registration is required to run the command. I only 
found the
      --mni152reg option to
      > avoid specifying a registration.
      >
      > How I should use the mri_vol2surf command to sample the volume onto the 
pial surface
      of the same
      > subject under the condition that
      > surface and volume are already aligned?
      >
      > Thank you!
      >
      >_______________________________________________
      Freesurfer mailing list
      Freesurfer@nmr.mgh.harvard.edu
      https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to