# Functional ROIs as seeds? resampling and grey matter to white matter registration

**URL:** https://community.mrtrix.org/t/functional-rois-as-seeds-resampling-and-grey-matter-to-white-matter-registration/3069
**Category:** Uncategorized
**Created:** [November 28, 2019, 10:27pm UTC](https://community.mrtrix.org/t/functional-rois-as-seeds-resampling-and-grey-matter-to-white-matter-registration/3069 "2019-11-28T22:27:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mvm](https://community.mrtrix.org/user_avatar/community.mrtrix.org/mvm/32/2306_2.png) [@mvm](https://community.mrtrix.org/u/mvm)
#### Post date: [November 28, 2019, 10:27pm UTC](https://community.mrtrix.org/t/functional-rois-as-seeds-resampling-and-grey-matter-to-white-matter-registration/3069/1 "2019-11-28T22:27:42Z")

</div>

Hi,  
I am new to diffusion imaging and have a few basic questions

1. How can I use the fmri ROI coordinates to get the FA and other values form specific tracts? I am not sure how that can be implemented in the diffusion NATIVE space of the participant? The fMRI ROI coordinates are in a resampled MNI space. I also have the ROI masks (6mm), but again in the resampled space. How do I register? or do I need to register? and how do I deproject/move into the diffusion space from the GM space? Any documentation/guidance in this direction is a bliss… Thank you !
2. I plan to use SS3D\_CSD now as my data is restricted (single shell,b=700 + b0 (x10)). here, my doubt is regarding the stage at which I implement the fROIs. I believe first I will do the tractography and then use the fROI masks to select only those tracts that pass through it? I need a direction here.  
Thank you much!  
MM

---

<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: [November 29, 2019, 9:57am UTC](https://community.mrtrix.org/t/functional-rois-as-seeds-resampling-and-grey-matter-to-white-matter-registration/3069/2 "2019-11-29T09:57:08Z")

</div>

Hi,

Regarding 1, yes, you will need to register your fMRI and diffusion data. There are multiple ways to do this. I’d register the first volume or an average across (a subset of) volumes of the fMRI data to the average b0. This gives you transformations that you can apply to your ROIs and/or the images to perform your analysis in either space. If you need nonlinear transformations, have a look [here](https://community.mrtrix.org/t/warping-tck-files-using-flirt-fsl/459/8). Otherwise there is more information for instance [here](https://community.mrtrix.org/t/registration-of-structural-and-diffusion-weighted-data/203/30) or [here](https://community.mrtrix.org/t/registration-of-structural-and-diffusion-weighted-data/203/6).

---

<div class="post-metadata">

### Author: ![ThijsDhollander](https://community.mrtrix.org/user_avatar/community.mrtrix.org/thijsdhollander/32/1617_2.png) [@ThijsDhollander](https://community.mrtrix.org/u/ThijsDhollander)
#### Post date: [November 30, 2019, 7:11am UTC](https://community.mrtrix.org/t/functional-rois-as-seeds-resampling-and-grey-matter-to-white-matter-registration/3069/3 "2019-11-30T07:11:45Z")

</div>

Hi @mvm,

> [@mvm](#):
>
> I plan to use SS3T-CSD now as my data is restricted (single shell,b=700 + b0 (x10)).

Nice to hear. It’ll be interesting to see how well it performs at such a low b-value of b=700. Consider showing some of the output as feedback [over here](https://github.com/3Tissue/MRtrix3Tissue/issues). I can then also advise you if / how well it worked. I’ve had lots of feedback, both on- as well as offline about performance on low b-values: looking good so far, but I’m happy to keep on confirming this on a variety of data.

> [@mvm](#):
>
> here, my doubt is regarding the stage at which I implement the fROIs. I believe first I will do the tractography and then use the fROI masks to select only those tracts that pass through it? I need a direction here.

Follow [this pipeline](https://3tissue.github.io/doc/single-subject.html) all the way to the end, including tractography (at the end); but make sure you generate a good (large) number of streamlines, and choose an appropriate `-cutoff` value. Experiment a bit with the latter to get it right for your data. Finally, use `tckedit` and provide it for each tract you’re after e.g. with 2 separate `-inclusion` regions, located where you expect the tract to end up (at both ends). If your fMRI results are a bit messy or all over the place, you might want to manually draw 2 regions, guided by the fMRI results. This might further help in getting alignment right, even after registration, as fMRI results are often quite blurred due to various smoothing operations in the analysis. Once you get decent looking results, I always tend to re-run `tckgen` itself again, with the `-inclusion` ROIs and parameters I’ve figured out through the process of the initial `tckgen` and `tckedit`. In this way, you can assure that the final tract itself has enough streamlines or is “dense” enough for your purposes.

Cheers,  
Thijs
