rotate image around arbitrary point

버전 1.0.0.0 (285 KB) 작성자: John BG
answer to forum question asking how to rotate image around any point
다운로드 수: 118
업데이트 날짜: 2016/6/3

라이선스 보기

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.

인용 양식

John BG (2024). rotate image around arbitrary point (https://www.mathworks.com/matlabcentral/fileexchange/57492-rotate-image-around-arbitrary-point), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

-