# Multimodal Registration of Dicom file in physical space (mm space)

**URL:** <https://discourse.itk.org/t/multimodal-registration-of-dicom-file-in-physical-space-mm-space/5639>\
**Category:** Beginner Questions\
**Tags:** dicom, registration\
**Created:** [January 20, 2023, 10:29am UTC](https://discourse.itk.org/t/multimodal-registration-of-dicom-file-in-physical-space-mm-space/5639 "2023-01-20T10:29:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurav\_patel](https://discourse.itk.org/user_avatar/discourse.itk.org/gaurav_patel/32/3171_2.png) [@gaurav\_patel](https://discourse.itk.org/u/gaurav_patel)\
**Post date:** [January 20, 2023, 10:29am UTC](https://discourse.itk.org/t/multimodal-registration-of-dicom-file-in-physical-space-mm-space/5639/1 "2023-01-20T10:29:33Z")

</div>

I am new to simpleITK. My task is to register MR volume with CT volume. The CT volume is entire body while MR volume is abdomen only. Moreover MR volume is rotated i.e. direction cosines are not (1,0,0,1) from dicom IOP tag. My question is in registration example ([Image Registration Method 4 — SimpleITK 2.0rc2 documentation](https://simpleitk.readthedocs.io/en/master/link_ImageRegistrationMethod4_docs.html)) when dicom image is loaded and registration performed, is it done in Physical space(mm space) or in index space(pixel space)?

---

<div class="post-metadata">

**Author:** ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)\
**Post date:** [January 20, 2023, 2:37pm UTC](https://discourse.itk.org/t/multimodal-registration-of-dicom-file-in-physical-space-mm-space/5639/2 "2023-01-20T14:37:35Z")

</div>

Hello @gaurav_patel,

ITK/SimpleITK always work in physical space so you don’t need to worry about the direction cosine matrix being different from identity. Please see the [registration overview](https://simpleitk.readthedocs.io/en/master/registrationOverview.html), and the toolkit’s [Jupyer notebook repository](https://github.com/InsightSoftwareConsortium/SimpleITK-Notebooks), specifically the registration notebook series (6\* prefix).

A key aspect of registration is the initialization (see [this notebook](https://github.com/InsightSoftwareConsortium/SimpleITK-Notebooks/blob/master/Python/63_Registration_Initialization.ipynb)). In your case, because of the significantly different image extents this will likely be a bit more complex than naively centering the two volumes. The initialization notebook illustrates various commonly used initialization strategies which you can readily evaluate for your needs.

---

<div class="post-metadata">

**Author:** ![gaurav\_patel](https://discourse.itk.org/user_avatar/discourse.itk.org/gaurav_patel/32/3171_2.png) [@gaurav\_patel](https://discourse.itk.org/u/gaurav_patel)\
**Post date:** [January 23, 2023, 5:13am UTC](https://discourse.itk.org/t/multimodal-registration-of-dicom-file-in-physical-space-mm-space/5639/3 "2023-01-23T05:13:28Z")

</div>

Thank you very much for prompt reply. I will look into the resources you shared. Issue may be closed.
