rotatedObject: Rotate any 2D object by handle, vertex list, or bounding box

Easily rotate any 2D object: rectangles, ellipses, imrois, xy-coordinates
471 descargas
Actualizado 30 Jan 2018

Ver licencia

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.

Citar como

Brett Shoelson (2024). 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. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2014b
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.

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.1.0.1

Providing missing function vertToPos(); necessary for one of the examples. Thanks to Gary for pointing out the omission.
Updated license

1.1.0.0

Extends, replaces the original rotatedRectangle file.

1.0.0.0