# Adjusting Spacing before Registration?

**URL:** <https://discourse.itk.org/t/adjusting-spacing-before-registration/4754>\
**Category:** Beginner Questions\
**Tags:** registration\
**Created:** [January 24, 2022, 8:01pm UTC](https://discourse.itk.org/t/adjusting-spacing-before-registration/4754 "2022-01-24T20:01:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miaomiaomiao](https://discourse.itk.org/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@miaomiaomiao](https://discourse.itk.org/u/miaomiaomiao)\
**Post date:** [January 24, 2022, 8:01pm UTC](https://discourse.itk.org/t/adjusting-spacing-before-registration/4754/1 "2022-01-24T20:01:57Z")

</div>

Hi everyone,

In every I example found on the net (including the examples, which Simple ITK provides), registration is done without adjusting the spacing before. Why not first adjust the spacing and then do the registration?

In most DICOM and NIFTI files you can easily access this kind of data.

What is the reason for that approach?

---

<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 24, 2022, 9:08pm UTC](https://discourse.itk.org/t/adjusting-spacing-before-registration/4754/2 "2022-01-24T21:08:45Z")

</div>

Hello @miaomiaomiao,

Why is there a need to “adjust spacing”?

The fundamental concept of an image is that it is a regular grid sampling of physical space with a bounded extent. During registration the intensity values at arbitrary, usually non-grid, points inside the bounded extents are used for computing a similarity between the registered images. Consequentially, there is no need to adjust spacing because we are working in a (approximately) continuous world and not a discrete one.

For additional details, please see SimpleITK’s [fundamental concepts](https://simpleitk.readthedocs.io/en/master/fundamentalConcepts.html) and [registration overview](https://simpleitk.readthedocs.io/en/master/registrationOverview.html) pages or the [ITK software guide](https://itk.org/ItkSoftwareGuide.pdf).

---

<div class="post-metadata">

**Author:** ![miaomiaomiao](https://discourse.itk.org/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@miaomiaomiao](https://discourse.itk.org/u/miaomiaomiao)\
**Post date:** [January 24, 2022, 9:13pm UTC](https://discourse.itk.org/t/adjusting-spacing-before-registration/4754/3 "2022-01-24T21:13:08Z")

</div>

That helps a lot! Thank you very much.
