How can I use scipy.ndimage.interpolation.affine_transform to rotate an image about its centre?

后端 未结 3 878
刺人心
刺人心 2020-12-23 22:52

I am perplexed by the API to scipy.ndimage.interpolation.affine_transform. And judging by this issue I\'m not the only one. I\'m actually wanting to do more interesting th

3条回答
  •  清歌不尽
    2020-12-23 23:23

    Just doing some quick & dirty testing I noticed that taking the negative value of your offset seems to rotate about the centre.

提交回复
热议问题