Align/Rotate Point Cloud Along Z direction based on PCA

版本 1.0.0 (850.0 KB) 作者: Kin Sung Chan
Align point cloud of arbitrary shape and direction along z-axis based on PCA analysis.
230.0 次下载
更新时间 2020/8/24

查看许可证

This function rotates the point cloud of the highest eigenvector
to be along z-direction.
For the 2nd highest eigenvector, the user can choose to align either
along x or y direction

parameters:
inputs:
pc: point cloud of size N * 3 size
direction: 'x' or 'y' (align the 2nd highest eigenvector along 'x' or
'y' direction

output:
pc2: rotated point cloud

引用格式

Kin Sung Chan (2024). Align/Rotate Point Cloud Along Z direction based on PCA (https://www.mathworks.com/matlabcentral/fileexchange/79472-align-rotate-point-cloud-along-z-direction-based-on-pca), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
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