Rotate an image around a point

Performs rotation of an image around any point inside of the image.

You are now following this Submission

The rotation around a point is performed in following sequence:
1) Padding of the image.
2) Rotation of the image around the image's center with IMROTATE.
3) Cropping of the image.

Cite As

Jan Motl (2026). Rotate an image around a point (https://au.mathworks.com/matlabcentral/fileexchange/40469-rotate-an-image-around-a-point), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.0

Removed unnecessary Mac metainformation.

1.2.0.0

Removed dependency on deg2rad function.

1.1.0.0

Extended support from grayscale to RGB images. Swapped order of the parameters in imrotate function call.

1.0.0.0