rotate image around arbitrary point

Versión 1.0.0.0 (285 KB) por John BG
answer to forum question asking how to rotate image around any point
119 Descargas
Actualizado 3 jun 2016

Ver licencia

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.

Citar como

John BG (2025). rotate image around arbitrary point (https://es.mathworks.com/matlabcentral/fileexchange/57492-rotate-image-around-arbitrary-point), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Geometric Transformation and Image Registration en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

-