rotatedObject: Rotate any 2D object by handle, vertex list, or bounding box
版本 1.1.0.1 (6.4 KB) 作者:
Brett Shoelson
Easily rotate any 2D object: rectangles, ellipses, imrois, xy-coordinates
Rotate any 2D object (specified by its vertices or by handle(s) to an imroi object) by angle theta (in degrees), about any center of rotation.
Create rotated rectangle or ellipse specified by its (unrotated) bounding box.
Specify center of rotation by point, or by corner or centroid of bounding box.
Includes shortcut functions rotateRectangle and rotateEllipse for convenience.
引用格式
Brett Shoelson (2025). rotatedObject: Rotate any 2D object by handle, vertex list, or bounding box (https://www.mathworks.com/matlabcentral/fileexchange/49529-rotatedobject-rotate-any-2d-object-by-handle-vertex-list-or-bounding-box), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2014b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
在 Help Center 和 MATLAB 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!