shapeaxis - compute the axis/orientation of 3d shapes
Version 1.0.0 (1,32 KB) von
Carson Purnell
Provides a vector describing the major axis of any 3d shape represented by a grayscale 3d array.
Shapeaxis determines the major axis of 3d shapes that are encoded within volumetric grayscale arrays. Only useful for shapes that have a real major axis/midline orientation. Allows easy plotting of the shape axis. Intended to make it easy to use imrotate3 for shape-centric rotational operations, a the produced vector is in that axis format.
Outputs the object center if desired, and accept an optional second argument to threshold the grayscale intensity required for a pixel to contribute to the calculations.
Zitieren als
Carson Purnell (2024). shapeaxis - compute the axis/orientation of 3d shapes (https://www.mathworks.com/matlabcentral/fileexchange/113325-shapeaxis-compute-the-axis-orientation-of-3d-shapes), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2022a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |