使用MATLAB如何围绕非图像中心点的点旋转图像?

使用MATLAB如何围绕非图像中心点的点旋转图像?

问题描述:

使用MATLAB将图像围绕不是图像中心点的点旋转的方法是什么?

What is the method to use to rotate an image about a point that is not the image's center point using MATLAB?

相同角度的两次旋转最多等于一次平移.因此,您可以绕中心旋转,然后平移图像以将自己的旋转中心置于其旧位置.

Two rotations of the same angle are equal up to a translation. So you can just do rotation around the center, and then translate the image to put your own center of rotation at its old position.