# help in applying rotation using Affinematrix

**URL:** <https://discourse.itk.org/t/help-in-applying-rotation-using-affinematrix/3592>\
**Category:** Algorithms\
**Tags:** simpleitk, python\
**Created:** [November 3, 2020, 11:26am UTC](https://discourse.itk.org/t/help-in-applying-rotation-using-affinematrix/3592 "2020-11-03T11:26:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 3, 2020, 3:02pm UTC](https://discourse.itk.org/t/help-in-applying-rotation-using-affinematrix/3592/2 "2020-11-03T15:02:17Z")

</div>

Hello @prms,

Your understanding of the resampling operation in SimpleITK is incorrect. To understand the concept of images as a spatial object and how resampling is performed, please go over the [fundamental concepts](https://simpleitk.readthedocs.io/en/master/fundamentalConcepts.html) the [Transforms and Resampling](https://github.com/InsightSoftwareConsortium/SimpleITK-Notebooks/blob/master/Python/21_Transforms_and_Resampling.ipynb) notebook and the [Data Augmentation](https://github.com/InsightSoftwareConsortium/SimpleITK-Notebooks/blob/master/Python/70_Data_Augmentation.ipynb) notebook.

---

_[View the full topic](https://discourse.itk.org/t/help-in-applying-rotation-using-affinematrix/3592)._
