# Super resolution features in MRtrix ? Merging anisotropic voxels from Cor and Tran planes

**URL:** https://community.mrtrix.org/t/super-resolution-features-in-mrtrix-merging-anisotropic-voxels-from-cor-and-tran-planes/3032
**Category:** Uncategorized
**Created:** [November 18, 2019, 10:55pm UTC](https://community.mrtrix.org/t/super-resolution-features-in-mrtrix-merging-anisotropic-voxels-from-cor-and-tran-planes/3032 "2019-11-18T22:55:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Cyril](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/c/35a633/32.png) [@Cyril](https://community.mrtrix.org/u/Cyril)
#### Post date: [November 18, 2019, 10:55pm UTC](https://community.mrtrix.org/t/super-resolution-features-in-mrtrix-merging-anisotropic-voxels-from-cor-and-tran-planes/3032/1 "2019-11-18T22:55:22Z")

</div>

Hi,  
Super resolution consists of merging the DWI information from two orthogonal slices acquired with anisotropic voxel (Scherrer 2011, MICCAI).

In my case, I have acquired a 2x2x6mm3 transversal and coronal planes for 14 slices (large voxels because T2 drops in formalin fixed specimens).

Can I do this to merge the information of both acquistions :

DWI\_Tran.mif and DWI\_Cor.mif have first been corrected with topup feature and B1 inhomogeneities (dwibiascorrect, dwipreproc)

% flip DWI\_Tran.mif (Y and Z axis) into DWI\_Cor.mif coordinates  
% the 4th axis is the diffusion directions  
mrconvert -axes 0,2,1,3 DWI\_Tran.mif DWI\_Tran\_flipped.mif

% merge images  
% on which axis I should merge images on ?  
% Mrcat does not work when .mif are not in the same dimension which can be problematic when merging anisoptropic voxels  
mrcat DWI\_Tran\_flipped.mif DWI\_Cor.mif all\_DWIs.mif -axis 4

dwi2response dhollander all\_DWIs.mif csd\_response\_tissue1.txt csd\_response\_tissue2.txt csd\_response\_tissue3.txt -voxel csd\_response\_voxel\_investigated\_tissues\_1\_2\_3.mif

btw, thank you for making the tractography more accessible to researchers with your software !

Cyril

---

<div class="post-metadata">

### Author: ![jdtournier](https://community.mrtrix.org/user_avatar/community.mrtrix.org/jdtournier/32/2594_2.png) [@jdtournier](https://community.mrtrix.org/u/jdtournier)
#### Post date: [November 27, 2019, 9:28am UTC](https://community.mrtrix.org/t/super-resolution-features-in-mrtrix-merging-anisotropic-voxels-from-cor-and-tran-planes/3032/2 "2019-11-27T09:28:42Z")

</div>

What you’re talking about here is a slice-to-volume reconstruction. There’s no facilities to do this kind of super-resolution within _MRtrix3_ (yet). @bjeurissen or @dchristiaens may have their own code to do this, but it’s much more complicated than simply merging the information.

That said, you can probably merge these datasets into one if you think this is something you want to try, but you’d need to regrid each one onto the same higher resolution 2x2x2mm grid, maybe using [mrresize](https://mrtrix.readthedocs.io/en/latest/reference/commands/mrresize.html) to provide a template image at 2x2x2mm resolution (or an even smaller voxel size), and [mrtransform](https://mrtrix.readthedocs.io/en/latest/reference/commands/mrtransform.html) to regrid both dataset onto the same template before `mrcat` – but there’s no guarantee the two datasets will be aligned, and simply merging will not super-resolve as you might hope. It’ll probably give you some resolution enhancement, since even [humble linear interpolation has been shown to do that with DTI](https://www.ncbi.nlm.nih.gov/pubmed/25219332) – but it’s not true super-resolution as you would expect from dedicated slice-to-volume methods.

---

<div class="post-metadata">

### Author: ![Cyril](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/c/35a633/32.png) [@Cyril](https://community.mrtrix.org/u/Cyril)
#### Post date: [December 2, 2019, 11:45pm UTC](https://community.mrtrix.org/t/super-resolution-features-in-mrtrix-merging-anisotropic-voxels-from-cor-and-tran-planes/3032/3 "2019-12-02T23:45:41Z")

</div>

Thank you for the hint.  
I will try out and let you know

Cyril
