# How do you compose transforms after registration to perform resampling?

**URL:** https://discourse.itk.org/t/how-do-you-compose-transforms-after-registration-to-perform-resampling/6401
**Category:** Beginner Questions
**Tags:** python, transforms, simpleitk
**Created:** [January 18, 2024, 11:28am UTC](https://discourse.itk.org/t/how-do-you-compose-transforms-after-registration-to-perform-resampling/6401 "2024-01-18T11:28:16Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![sdiebolt](https://discourse.itk.org/user_avatar/discourse.itk.org/sdiebolt/32/3863_2.png) [@sdiebolt](https://discourse.itk.org/u/sdiebolt)
#### Post date: [January 22, 2024, 9:32am UTC](https://discourse.itk.org/t/how-do-you-compose-transforms-after-registration-to-perform-resampling/6401/4 "2024-01-22T09:32:13Z")

</div>

After some further research, I think there might be an error in most of SimpleITK’s documentation and courses: the order of transform composition after registration is wrong. It was actually already noticed by the two Discourse posts I linked above ([here](https://discourse.itk.org/t/is-order-of-transforms-in-a-composite-transform-reversed-relative-to-transform-order-during-registration/3829) and [here](https://discourse.itk.org/t/image-registration-method-displacement-1-example-composite-transform-order/3920)). I’ve opened an issue on [SimpleITK’s repo](https://github.com/SimpleITK/SimpleITK/issues/2043) about this error.

---

_[View the full topic](https://discourse.itk.org/t/how-do-you-compose-transforms-after-registration-to-perform-resampling/6401)._
