# Correction of MRI image distortion

**URL:** <https://discourse.slicer.org/t/correction-of-mri-image-distortion/13475>\
**Category:** Support\
**Created:** [September 14, 2020, 4:41am UTC](https://discourse.slicer.org/t/correction-of-mri-image-distortion/13475 "2020-09-14T04:41:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aseman](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@aseman](https://discourse.slicer.org/u/aseman)\
**Post date:** [September 14, 2020, 4:41am UTC](https://discourse.slicer.org/t/correction-of-mri-image-distortion/13475/1 "2020-09-14T04:41:33Z")

</div>

Slicer version:4.10.1  
Hi 3D Slicer experts and all  
I have 2 images( CT and MRI). We calculated the displacement (distortion) of each point in MRI relative to CT image(Slicer B splin Tranform). Now, I have a question. How can I apply a matrix on my MRI image to correct these distortions, to different points of the MRI image be without distortion? (As CT image).  
Thanks a lot

---

<div class="post-metadata">

**Author:** ![wpgao](https://avatars.discourse-cdn.com/v4/letter/w/8e8cbc/32.png) [@wpgao](https://discourse.slicer.org/u/wpgao)\
**Post date:** [September 14, 2020, 3:52pm UTC](https://discourse.slicer.org/t/correction-of-mri-image-distortion/13475/2 "2020-09-14T15:52:25Z")

</div>

You can use the transform module. The transformation type is grid transform, whose parameter is the displacement matrix. Then this transform is applied to your MR image.
