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 |