Hi Srishti,

your volume maps are in some template space right? (the template you can open 
them on) This might be some MNI template space, but not necessarily the same 
the other people have used. You can register these to one another, e.g. with 
ANTS:

Start ANTS in terminal

> ants.sh 3 TheirTemplate.nii YourTemplate.nii

This will give you a transformation matrix (xxx_Warp.nii and xxx_Affine.txt) 
that you can use to warp your ROIs to their template space:

> WarpImageMultiTransform 3 YourROI.nii output_image -R TheirTemplate.nii 
> xxx_Warp.nii.gz xxx_Affine.txt

Then you can open the output image (Your ROI warped to their template space) 
and their ROI on their template with fslview, or compute any analysis to 
compare them.

I don't understand why you would use mri_vol2surf if you only want the volume. 
What this function does is to map the volume to the surface, so if you don't 
need the surface you don't need the fct.

Best

Charlotte



----- Original Message -----
From: "23srishtigoel" <23srishtig...@gmail.com>
To: "wiesmann" <wiesm...@cbs.mpg.de>
Sent: Tuesday, March 20, 2018 2:16:21 PM
Subject: Re: [Freesurfer] mir_vol2surface registration file error

Hi Charlotte,

Thank you so much for your detailed response, I really appreciate it.

With respect to your third point, comparing volume maps, what exactly do
you mean by registering our template to their MNI152 template? What exactly
will be our template file?
I was using the same mri_Vol2surf for comparing the volume maps as well,
for example:

mri_vol2surf --src negative_allsocial.nii --mni152reg --hemi lh --o
./neg_allsocial.nii --projfrac 0.5


Best,
Srishti
Social/Clinical Research Specialist
Child Imaging Research and Life Experiences Lab
University of North Carolina at Chapel Hill
email (W): srish...@email.unc.edu
skype: srishti.goel12


On Mon, Mar 19, 2018 at 6:14 AM, Charlotte Grosse Wiesmann <
wiesm...@cbs.mpg.de> wrote:

> Hi Shrishti,
>
> 1) by recon-all I meant recon-all in the freesurfer pipeline (
> https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all ) to reconstruct the
> subject's cortical surfaces because if I got you right you have the maps on
> the surface (SN_like_cortical_lh.gz) and in the volume. If you only want to
> compare the maps in the volume you can skip this part I only compare the
> volume maps.
>
> 2) As far as I know with mri_vol2surf and tksurfer you can use a number of
> different formats including .nii (if not you can convert with mri_convert)
>
> 3) I'm not sure I understand your question. Make sure both of your volume
> maps are registered to the same MNI152 template. (Best is if you ask the
> people who gave you their maps to also give you the template. Then you can
> register your template to that template (e.g., using ANTS) and the
> transformation matrix you obtain to map your maps onto the other
> template.)  If both volume maps are in the same space you can both open
> them with fslview on the template they have been registered to (fslview
> template.nii map1.nii map2.nii) and compare them visually.
>
> Best
>
> Charlotte
>
>
>
> ----- Original Message -----
> From: "23srishtigoel" <23srishtig...@gmail.com>
> To: "wiesmann" <wiesm...@cbs.mpg.de>
> Sent: Sunday, March 18, 2018 5:37:40 PM
> Subject: Re: [Freesurfer] mir_vol2surface registration file error
>
> Hi Charlotte,
>
> Thank you so much for your help, I really appreciate it and this is super
> helpful for me. I just want to clarify a couple small thing
>
> 1) By running recon-all on that subject do you mean reconstructing that
> subject's DICOM basically?
> 2) I notice that the extension you are using is .mgh so would I have to
> convert the volume maps (which is SN_like_cortical.nii) into mgh/mgz/gz as
> well?
> 3) Also, would you be able to elaborate a little on how to view the volumes
> on the MNI. I have used fslview and I think I know how to map our volume
> maps on the MNI152 volume space but I am not sure what would be the best
> way to use fslview to view it.
>
> Thanks once again!
>
> Best,
> Srishti
>
> Best,
> Srishti
> Social/Clinical Research Specialist
> Child Imaging Research and Life Experiences Lab
> University of North Carolina at Chapel Hill
> email (W): srish...@email.unc.edu
> skype: srishti.goel12
>
>
> On Sun, Mar 18, 2018 at 10:55 AM, Charlotte Grosse Wiesmann <
> wiesm...@cbs.mpg.de> wrote:
>
> > Hi Srishti,
> >
> > I had a similar problem recently, so I will try to help. To compare your
> > maps with the surface maps SN_like_cortical_lh.gz of the others you need
> to
> > map your volume to the surface of the same subject they are using.
> >
> > That is, you first have to run recon-all on that subject (unless they
> gave
> > you the link to the subject folder for which recon-all has already been
> > run. Say, the name of the subject folder is SUBJECT-ID).
> >
> > Then, you need to map your volume to the surface of that subject:
> > mri_vol2surf --src negative_allsocial_proportion.nii --regheader
> > SUBJECT-ID --hemi lh --o ./neg_allsocial_lh.mgh [more options]
> >
> > Then, you should be able to look at both surface maps on your subject
> > surface, e.g., with tksurfer
> >
> > tksurfer SUBJECT-ID lh inflated -overlay ./neg_allsocial_lh.mgh -overlay
> > SN_like_cortical_lh.mgh -fthresh 0.5
> >
> > For the volume, you need to map your volume maps to the same MNI152
> volume
> > space the other volume maps are in, and then you should be able to view
> > them both on the according MNI template with any brain volume viewer
> > program (e.g., fslview,...).
> >
> > Hope this helps.
> >
> > Best,
> >
> > Charlotte
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "srishti goel" <23srishtig...@gmail.com>
> > To: "Freesurfer support list" <freesurfer@nmr.mgh.harvard.edu>
> > Sent: Saturday, March 17, 2018 2:48:23 PM
> > Subject: Re: [Freesurfer] mir_vol2surface registration file error
> >
> > Hi,
> >
> > I tried using bbregister to register my files with the following command:
> >
> >
> > bbregister --mov negative_allsocial.nii --bold --s SN_like_cortical_lh.gz
> > --init-rr --lta register.lta
> >
> > and this is the error I received:
> >
> >
> > reading source './tmp.bbregister.173331/template.nii'...
> >
> > mri_robust_register.bin: only pass single frame MRI source
> > ./tmp.bbregister.173331/template.nii.
> >
> >
> >
> >
> > No such file or directory
> >
> >
> >
> >
> > I would like to re-iterate my issue as that might be helpful. We have
> > carried out a meta analysis and want to compare our meta analytic maps to
> > someone's else's map. Our meta analytic map is negative_allsocial.vmp
> which
> > we converted to a nifti using neuroelf and now have the
> > negative_allsocial.nii. We want to see how someone else's map which is
> the
> > SN_like_cortical_lh.gz (they said to view this on a subject file to which
> > they gave us the link) compares to our map. We would also further want to
> > see how our map compares to their volume map which is
> > SN_like_subcortical.nii (these are in MNI152 volume space). We are using
> > mri_vol2surf to view compare the two files.
> >
> >
> >
> >
> > mri_vol2surf --src negative_allsocial_proportion.nii --src_type analyze
> > --srcreg [REGISTRATION MATRIX] --hemi lh --o ./neg_allsocial.nii
> --projfrac
> > 0.5
> >
> >
> >
> >
> >
> > And for the registration matrix I tried using bbregister as told my the
> > freeSurfer help group.
> >
> > I can send the files as well if required and would highly appreciate some
> > prompt help on this.
> >
> >
> >
> >
> > Thanks so much!
> >
> >
> >
> >
> > Best,
> >
> > Srishti
> >
> >
> >
> > Best,
> > Srishti
> > Social/Clinical Research Specialist
> > Child Imaging Research and Life Experiences Lab
> > University of North Carolina at Chapel Hill
> > email (W): srish...@email.unc.edu
> > skype: srishti.goel12
> >
> >
> > On Fri, Mar 9, 2018 at 11:15 AM, Douglas Greve < dgr...@mgh.harvard.edu
> >
> > wrote:
> >
> >
> >
> >
> >
> > You create it with bbregister. See the multimodal integration tutorial
> >
> >
> > https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MultiModal_freeview
> >
> > On 3/6/18 6:36 PM, srishti goel wrote:
> >
> >
> >
> > I am sorry but that is what I am unsure about it. I don't know how to
> > obtain a registration matrix or which registration matrix to use for
> this.
> >
> > Best,
> > Srishti
> > Social/Clinical Research Specialist
> > Child Imaging Research and Life Experiences Lab
> > University of North Carolina at Chapel Hill
> > email (W): srish...@email.unc.edu
> > skype: srishti.goel12
> >
> >
> > On Mon, Mar 5, 2018 at 3:24 PM, Douglas N Greve <
> > gr...@nmr.mgh.harvard.edu > wrote:
> >
> >
> > Why did you remove the registration file? --srcreg below
> >
> >
> > On 02/28/2018 04:13 PM, srishti goel wrote:
> > > Hello,
> > >
> > > Thank you so much! I used the following command as you said and got an
> > > error : must specify a source registration file or --regheader
> > >
> > > mri_vol2surf --src negative_allsocial_avgnull.nii --src_type analyze
> > > --trgsubject fsaverage --hemi lh --o ./neg_allsocial.nii --projfrac 0.5
> > >
> > >
> > > Best,
> > > Srishti
> > > Social/Clinical Research Specialist
> > > Child Imaging Research and Life Experiences Lab
> > > University of North Carolina at Chapel Hill
> > > email (W): srish...@email.unc.edu <mailto: srish...@email.unc.edu >
> > > skype: srishti.goel12
> > >
> > >
> > > On Wed, Feb 28, 2018 at 10:13 AM, Douglas Greve
> > > < gr...@nmr.mgh.harvard.edu <mailto: gr...@nmr.mgh.harvard.edu >>
> wrote:
> > >
> > > you need to add --trgsubject fsaverage to your mri_vol2surf
> > > command line
> > >
> > >
> > > On 2/27/18 12:23 PM, srishti goel wrote:
> > >> Hello,
> > >>
> > >> We are trying to project a volume map onto a surface. Our network
> > >> based volume map is a .vmp file and our surface is a nifti file.
> > >> We were able to convert the volume maps from .vmp to nifti.
> > >> Our volume map is: negative_allsocial_proportion.nii
> > >> Our surface is: SN_like_cortical_lh.nii
> > >> The output file is named: neg_allsocial.nii
> > >>
> > >> We are trying to use the following command to now project the
> > >> volume map on surface and the issues we are facing are:
> > >> 1) We are unsure of what the purpose of the registration file is
> > >> and where in the mir_vol2surf command should we specify the surface
> > >> 2) If it is a matrix for something related to the surface on
> > >> which we want to project our volume then how should we go about
> > >> obtaining the registration file appropriate for our comparison.
> > >>
> > >> _Command:_
> > >> mri_vol2surf --src negative_allsocial_proportion.nii --src_type
> > >> analyze --srcreg [REGISTRATION MATRIX] --hemi lh --o
> > >> ./neg_allsocial.nii --projfrac 0.5
> > >>
> > >> _Then to project it:_
> > >> tksurfer fsaverage lh inflated -ov neg_allsocail.nii
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> Freesurfer mailing list
> > >> Freesurfer@nmr.mgh.harvard.edu
> > >> <mailto: Freesurfer@nmr.mgh.harvard.edu >
> > >> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> > >> < https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer >
> > >
> > >
> > > _______________________________________________
> > > Freesurfer mailing list
> > > Freesurfer@nmr.mgh.harvard.edu <mailto: Freesurfer@nmr.mgh.harvard.edu
> >
> > > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> > > < 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
> > > < 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.
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > 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
> >
> >
> >
> > _______________________________________________
> > 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
> >
> >
> > 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.
> >
> >
> >
> > _______________________________________________
> > 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.
> >
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to