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.
引用格式
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. 检索来源 .
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |