shapeaxis - compute the axis/orientation of 3d shapes
Version 1.0.0 (1,32 ko) par
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.
Citation pour cette source
Carson Purnell (2025). 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. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2022a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |