# Transformation

**URL:** <https://community.mrtrix.org/t/transformation/4966>\
**Category:** Uncategorized\
**Created:** [June 8, 2021, 3:34pm UTC](https://community.mrtrix.org/t/transformation/4966 "2021-06-08T15:34:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 9, 2021, 7:53am UTC](https://community.mrtrix.org/t/transformation/4966/2 "2021-06-09T07:53:10Z")

</div>

Could you please clarify what you are trying to achieve? Your error message indicates that the transformation is transposed but that might not be the only source of incompatibility wich affine3d. In general, transformations are typically specific to the software package.

You might find the following links helpful to get you started:  
[https://mrtrix.readthedocs.io/en/latest/getting\_started/image\_data.html](https://mrtrix.readthedocs.io/en/latest/getting_started/image_data.html)

> [@Registration, transformation, regridding: concepts](https://community.mrtrix.org/t/registration-transformation-regridding-concepts/3684):
>
> This wiki post aims to introduce the concepts and terminology associated with modifications of the voxel grid of an image and with changing the real-world location of its content and to highlight related tools within MRtrix3. TL/DR In image regridding, the grid of the image data is modified but the relation between the content of the image and the real-world location is preserved. Regridding entails interpolation which can cause a loss of information and introduce bias between images if perform…

> [@Registration: using transformations generated from other packages](https://community.mrtrix.org/t/registration-using-transformations-generated-from-other-packages/2259):
>
> The [mrtransform](https://mrtrix.readthedocs.io/en/latest/reference/commands/mrtransform.html) allows the spatial transformation of images when provided with a suitable linear or nonlinear transformation (“warp”). For linear transformations, MRtrix3 uses homogeneous transformation matrices stored as plain text. These can be converted from FSL and ITK-based (plain text) convention with the command [transformconvert](https://mrtrix.readthedocs.io/en/latest/reference/commands/transformconvert.html). The MRtrix3 tools expect nonlinear transformations in an image format where each voxel defines the scanner space location in the other image. This transformatio…

---

_[View the full topic](https://community.mrtrix.org/t/transformation/4966)._
