You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
the forum question:
http://uk.mathworks.com/matlabcentral/answers/287017-imrotate-won-t-work-in-this-scenario-any-other-suggestions
asks for function other than imrotate to rotate image around any point.
The experts already commented to use padarray, but depending on where the arbitrary point is located
padarray requires different options.
imrotate rotates image around centre point, and inflates image depending on the rotation angle.
The resulting image is zoomed back 67% byt the figure display. May want to zoom back before
possible cropping.
Rotation point introduced with mouse click on image.
Furthest pixel rotation radius calculated.
Open to suggestions, feedback to improve initial version.
Cite As
John BG (2026). rotate image around arbitrary point (https://www.mathworks.com/matlabcentral/fileexchange/57492-rotate-image-around-arbitrary-point), MATLAB Central File Exchange. Retrieved .
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers
General Information
- Version 1.0.0.0 (285 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | - |
