# fMRI BOLD projection to native space of DTI data

**URL:** https://community.mrtrix.org/t/fmri-bold-projection-to-native-space-of-dti-data/3151
**Category:** Uncategorized
**Created:** [December 27, 2019, 11:42am UTC](https://community.mrtrix.org/t/fmri-bold-projection-to-native-space-of-dti-data/3151 "2019-12-27T11:42:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![TR-Abir](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/t/c68b51/32.png) [@TR-Abir](https://community.mrtrix.org/u/TR-Abir)
#### Post date: [December 27, 2019, 11:42am UTC](https://community.mrtrix.org/t/fmri-bold-projection-to-native-space-of-dti-data/3151/1 "2019-12-27T11:42:52Z")

</div>

Dear all,  
I’m working with BOLD fMRI data and DTI data, after extracting the active brain areas from the BOLD data, I need to project them into the native space of the DTI data in order to generate a tractography guided by these ROIs, so how can I perform this projection step with MRtrix3 ?  
I will appreciate any help, Thanks.  
Abir

---

<div class="post-metadata">

### Author: ![Julien\_J](https://community.mrtrix.org/user_avatar/community.mrtrix.org/julien_j/32/2221_2.png) [@Julien\_J](https://community.mrtrix.org/u/Julien_J)
#### Post date: [December 27, 2019, 12:12pm UTC](https://community.mrtrix.org/t/fmri-bold-projection-to-native-space-of-dti-data/3151/2 "2019-12-27T12:12:29Z")

</div>

Hello!

If you are running fMRI group analysis in a standard template (i.e. MNI), then you need to first insure proper co-registration between your DWI and fMRI native space. I suggest you move the undistorted fMRI image to match the undistorted DWI’s and not the other way around. This way you reduce the risk of messing around the b-matrix (see [https://www.ncbi.nlm.nih.gov/pubmed/20886566](https://www.ncbi.nlm.nih.gov/pubmed/20886566) for more detail about this issue). Once this is done, make sure that you save the inverse and forward transformation matrices during the segmentation/normalization step. This way you will be able to reverse normalize (invert transform) your clusters of activation back to the native space.

If you are only running single subject fMRI analysis, then I suggest to only insure proper co-registration between the modalities.

Enjoy

---

<div class="post-metadata">

### Author: ![TR-Abir](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/t/c68b51/32.png) [@TR-Abir](https://community.mrtrix.org/u/TR-Abir)
#### Post date: [December 27, 2019, 12:27pm UTC](https://community.mrtrix.org/t/fmri-bold-projection-to-native-space-of-dti-data/3151/3 "2019-12-27T12:27:49Z")

</div>

Dear #Julien\_J,  
thank you a lot for your attention, actually I’m only running a single subject fMRI analysis, that’s why I find some difficulties, so I will try to only insure as you mention proper co-registration between the two modalities.  
thanks again,  
Abir

---

<div class="post-metadata">

### Author: ![maxpietsch](https://community.mrtrix.org/user_avatar/community.mrtrix.org/maxpietsch/32/25_2.png) [@maxpietsch](https://community.mrtrix.org/u/maxpietsch)
#### Post date: [December 27, 2019, 12:46pm UTC](https://community.mrtrix.org/t/fmri-bold-projection-to-native-space-of-dti-data/3151/4 "2019-12-27T12:46:57Z")

</div>

We have some related threads in the community that should get you going for nonlinear

> [@Warping functional ROIs from MNI space to wmFOD template space](https://community.mrtrix.org/t/warping-functional-rois-from-mni-space-to-wmfod-template-space/3104):
>
> Hi MRtrix Community, I write for a suggestion on the best steps to ‘move’ (or warp) functional ROIs (6mm sphere) from the MNI to the FOD template space. These ROIs were obtained with a functional localizer (fMRI) and will be the seeds to generate ‘tracks of interest’ from a whole-brain sift track file. This issue was partially covered in a couple of old posts, but the poor description of the steps made me even more confused (sorry! :S). My general understanding is: [] Take the first volume…

and linear registration

> [@Registration of structural and diffusion weighted data](https://community.mrtrix.org/t/registration-of-structural-and-diffusion-weighted-data/203/6):
>
> Just a comment. Updated some old scripts that uses FLIRT for registration for this purpose. So the ref image is the highres structural image and moving image a suitable dwi image. Now with transformconvert you don’t have to bother with flipping dims for the subsequent mrtransform So in principle it works like this: flirt -in mov\_brain.nii.gz -ref ref\_brain.nii.gz -dof 6 -omat mov2ref.mat transformconvert mov2ref.mat mov\_brain.nii.gz ref\_brain.nii.gz flirt\_import mov2ref\_mrtrix.txt mrtransfo…

---

<div class="post-metadata">

### Author: ![TR-Abir](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/t/c68b51/32.png) [@TR-Abir](https://community.mrtrix.org/u/TR-Abir)
#### Post date: [December 27, 2019, 12:52pm UTC](https://community.mrtrix.org/t/fmri-bold-projection-to-native-space-of-dti-data/3151/5 "2019-12-27T12:52:55Z")

</div>

Thanks a lot #maxpietsch this threads helped me so much to understand how I can solve my problem.  
Abir
