File Exchange

image thumbnail

Rotate point cloud on orizontal plane - script (ITA, ENG)

version 1.0.0.1 (4.25 KB) by Veronica Taurino
The script fits a point cloud with a plane, rotates the plane on the horizontal and retrieves the coordinates of the rotated points.

7 Downloads

Updated 25 Nov 2019

View Version History

View License

(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 (2020). 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 .

Comments and Ratings (2)

Leonardo Taurino

Good one! Thank you

TheDave

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: geom3d

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!