Rotate an image around a point

Version 1.3.0.0 (2.28 KB) by Jan Motl
Performs rotation of an image around any point inside of the image.
3.9K Downloads
Updated 27 Oct 2014

View License

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 (2024). Rotate an image around a point (https://www.mathworks.com/matlabcentral/fileexchange/40469-rotate-an-image-around-a-point), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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