Rotate point cloud on orizontal plane - script (ITA, ENG)
(italiano in basso)
Rotate point cloud on orizontal plane.
The script fits a point cloud with a plane, rotate the plane on the horizontal and retrieve the coordinates of the rotated points. For now comments in italian.
INPUT: point cloud in .ASC format;
OUTPUT: rotated point cloud coordinates in .ASC and .DAT format.
The script uses the following library:
David Legland (2019). geom3d (https://www.mathworks.com/matlabcentral/fileexchange/24484-geom3d), MATLAB Central File Exchange. Retrieved November 25, 2019.
%%%%%%%%%%%____ ITALIANO____%%%%%%%%%%%%
Data una nuvola di punti, lo script ne calcola il piano la approssima secondo un procedimento ai minimi quadrati. Poi ruota questo piano sull'orizzontale e restituisce le coordinate della nuvola di punti ruotata. Codice commentato in italiano.
INPUT: file .ASC della nuvola di punti
OUTPUT: coordinate della nuvola di punti ruotata in formato .DAT e .ASC
Lo script usa la seguente libreria:
David Legland (2019). geom3d (https://www.mathworks.com/matlabcentral/fileexchange/24484-geom3d), MATLAB Central File Exchange. Retrieved November 25, 2019.
Cite As
Veronica Taurino (2024). Rotate point cloud on orizontal plane - script (ITA, ENG) (https://www.mathworks.com/matlabcentral/fileexchange/73442-rotate-point-cloud-on-orizontal-plane-script-ita-eng), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: geom3d
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.