MATLAB: Image Rotation

matrixrotation

I want to rotate an image through the rotation matrix whose center of rotation is variable.

Best Answer

doc maketform
doc imtransform
Or you could pad the image so that the center of rotation is the center, use imrotate and then unpad as necessary.