help in applying rotation using Affinematrix

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 the Transforms and Resampling notebook and the Data Augmentation notebook.