阅读背景:

在Python中围绕指定原点旋转2D图像

来源:互联网 

I have a 2D image of 512x512 pixels that I would like to rotate with a certain angle at a certain origin (rotation center). All this time, I uses Scipy to rotate images with its rotate method. But, I got stumbled because the rotation always done around the center of the image. With 512x512 pixels the rotation center should be around point (x,y) 128,128. How can I rotate the image with a custom rotation center, let's say around (x,y) 20,128? I have a 2D image of 512x512 pixels that I woul




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: