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

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

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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