External Email - Use Caution        

To create rReslice_Combined_roi_meanRD.nii, I extracted ROIs from the AAL atlas to code the lesion map by frequency.

 

Could I use fsaverage for the anatomical reference?

 

So far, I have:

mri_vol2surf --src rReslice_Combined_roi_meanRD.nii --out rReslice_Combined_roi_meanRD_surf.nii --hemi lhrh --out_type nii --regheader /usr/home/register.dat

 

Which seems to pull the incorrect registration file. Do I need to recreate the registration file with MNI?

 

Thank you very much – I admit I’m not well versed with coding, trying to learn!

 

 

From: Douglas N. Greve
Sent: July 10, 2022 6:11 PM
To: Freesurfer support list
Subject: Re: [Freesurfer] FW: How to project SPM image

 

First, what is rReslice_Combined_roi_meanRD.nii? How was it created? If that is you lesion map, then it is  not the right input to BBR. I can't remember, but if the AAL is in the MNI152 space, then it will be easier to just run recon-all on the MNI152 ( or whatever the atnatomical reference is for the AAL). You can then just run mri_vol2surf using --regheader and  skip BBR. You may have to play with some of the options (eg, projection fraction)


On 7/5/2022 2:08 PM, Rachel Wagner wrote:

        External Email - Use Caution        

Hello Dr. Greve,

 

I hope this finds you well! I am currently working on displaying my SPM overlay on a 3D brain volume in FreeSurfer (email below). Dr. Fischl mentioned you may know the command line to do so – I hope this isn’t a bother, I know you must be quite busy – totally understood if you don’t have the time.

 

So far, I have the following:

bbregister --mov rReslice_Combined_roi_meanRD.nii --bold \ inflated -overlay --s  fsaverage \ --init-rr --lta register.lta

 

I am hoping to smooth out the surface and change the coloring to ultimately export a heatmap image from FreeSurfer that looks something like this.

 

Would you have any suggestions for how I should alter my code?

 

Thank you very much in advance – no problem again if you don’t have the time!

    

Kind Regards,

Rachel Wagner

 

 

From: Fischl, Bruce
Sent: July 5, 2022 9:34 AM
To: Freesurfer support list
Subject: Re: [Freesurfer] How to project SPM image

 

Hi Rachel

 

I’ll leave bbreg command lines to others (Doug?), but in general you don’t want to base the registration on the inflated since it doesn’t have a meaningful location within the volume. I would use the standard bbreg command, then use mri_vol2surf to paint what you want onto the surface. Once it is on any surface for a subject you should be able to display it on any other surface for that same subject (and same hemisphere).

Cheers

Bruce

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Rachel Wagner
Sent: Tuesday, July 5, 2022 12:17 AM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] How to project SPM image

 

        External Email - Use Caution        

Thank you, that would work very well! I’m trying this code without success, am I missing a component to display on an inflated surface?

 

bbregister --mov rReslice_Combined_roi_meanRD.nii --bold \ inflated -overlay --s  fsaverage \ --init-rr --lta register.lta

 

From: Fischl, Bruce
Sent: July 4, 2022 3:45 PM
To: Freesurfer support list
Subject: Re: [Freesurfer] How to project SPM image

 

Well you can display it on inflated surfaces instead of white ones, which will remove most of the folds. Then you can smooth the surface overlay however you like (the colors on the surface) in freeview

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Rachel Wagner
Sent: Monday, July 4, 2022 3:27 PM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] How to project SPM image

 

        External Email - Use Caution        

Thank you, noted!

 

I think I am on the right track, but I’d like to smooth the surface out (particularly the coloring and the sulci, which are quite deep) considerably – is there any way for me to do that?

 

From: Fischl, Bruce
Sent: July 3, 2022 7:44 PM
To: Freesurfer support list
Subject: Re: [Freesurfer] How to project SPM image

 

I see, and what’s wrong with the screen shot you have? (and “Bruce” is fine).

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Rachel Wagner
Sent: Sunday, July 3, 2022 7:41 PM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] How to project SPM image

 

        External Email - Use Caution        

Hi Dr. Fischl,

 

My apologies, I don’t have much of a background in software generally!

 

For the SPM image, I used the AAL atlas to label lesioned brain regions and colored by frequency to generate the heatmap. Image dimensions: 1x1x1, Image Size [91 109 91], Pixel Dimensions [2 2 2], Bits Per Pixel: 32. I will map onto fsaverage!

 

I’m hoping to display it as a heatmap on an average surface, to look something like this: MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be | Decreased functional connectivity from Wernicke's area homologue in... | Download Scientific Diagram (researchgate.net)

 

This is a screenshot of what I currently have within FreeSurfer: MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://drive.google.com/file/d/150V0yIx6T1oSiCwiFmFiKU9rbNk1BfhD/view?usp=sharing

 

Thank you very much again for your help!

Rachel

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Fischl, Bruce <BFISCHL@mgh.harvard.edu>
Sent: Sunday, July 3, 2022 6:37:42 PM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] How to project SPM image

 

Can you give us more details? How did you create the rReslice_Combined_roi_meanRD.nii? What resolution is it? And how are you trying to display it? On an average surface? Why are you mapping it to bert and not fsaverage?

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Rachel Wagner
Sent: Sunday, July 3, 2022 6:26 PM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] How to project SPM image

 

        External Email - Use Caution        

Hello Dr. Fischl, thank you for your reply, it is much appreciated.

 

I am trying to cortically project my spm lesion location/frequency map, according to instructions linked here: AnalyzingData/MNE_SPM2Freesurfer - Meg Wiki (cam.ac.uk)

 

I have used the following code: bbregister --mov rReslice_Combined_roi_meanRD.nii --bold \ --s bert \ --init-rr --lta register.lta

 

However, my results still look very grainy. Is there a better way to do this?

 

Thank you again,

Rachel Wagner

 

 

 

 

From: Fischl, Bruce
Sent: June 30, 2022 9:09 PM
To: Freesurfer support list
Subject: Re: [Freesurfer] How to project SPM image

 

Can you summarize what you are trying to do? What kind of overlay are you trying to visualize and what exactly do you mean by a “3D image”?

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Rachel Wagner
Sent: Thursday, June 30, 2022 2:48 PM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] How to project SPM image

 

        External Email - Use Caution        

Thank you so much for your response – I’m a master’s student and am really struggling - I’ve been stuck trying to do this for about 2 weeks now, so the help is so appreciated!

 

My results look very grainy in mricron so my supervisor wants me to keep trying in FreeSurfer unfortunately for me.

 

I uploaded a the brain.mgz volume in freeview, but I’m not sure how to add an overlay and project as a 3D image. Would you happen to have any ideas?

 

Thank you so, so much again,

Rachel Wagner

 

From: niels.foit@gmx.de
Sent: June 30, 2022 2:35 PM
To: 'Freesurfer support list'
Subject: Re: [Freesurfer] How to project SPM image

 

You don't often get email from niels.foit@gmx.de. Learn why this is important

Sure is, through freeview, however if you already have spm format files, it is much easier to use mricron

 

Von: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> Im Auftrag von Rachel Wagner
Gesendet: Donnerstag, 30. Juni 2022 18:18
An: Freesurfer support list <
freesurfer@nmr.mgh.harvard.edu>
Betreff: Re: [Freesurfer] How to project SPM image

 

        External Email - Use Caution        

Thanks very much, I will absolutely do so! Just so I know – is there not any way of generating such figures in Freesurfer?

 

From: niels.foit@gmx.de
Sent: June 30, 2022 4:47 AM
To: Freesurfer support list
Subject: Re: [Freesurfer] How to project SPM image

 

You don't often get email from niels.foit@gmx.de. Learn why this is important

        External Email - Use Caution        

Rachel,  these figures were likely created with a software called mricron, not freesurfer.  Check it out :)

 

Holen Sie sich Outlook für Android