Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will it support for LiDAR data specifically LAS format and PCD format? #96

Open
niranjanreddy891 opened this issue Apr 10, 2018 · 8 comments

Comments

@niranjanreddy891
Copy link

No description provided.

@charlesq34
Copy link
Owner

I think one can easily convert those data types to raw point clouds as N by C arrays. You are welcomed to post your converting code (link) here if you'd like to.

@niranjanreddy891
Copy link
Author

niranjanreddy891 commented Apr 12, 2018

@charlesq34, will Pointnet will support for processing LAS files and PCD files?

@DBobkov
Copy link

DBobkov commented Apr 27, 2018

One can easily convert PCD and LAS format to .txt format and then to hdf5 or similar using Python or Matlab. See https://stackoverflow.com/questions/44408141/how-to-convert-las-file-to-ply-file?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa for more info. Liblas library for python can also do the job for las https://www.liblas.org/tutorial/python.html or for pcd https://github.com/dimatura/pypcd

@Jaiy
Copy link

Jaiy commented Jul 31, 2018

@niranjanreddy891 Hello, have you made any progress about the PCD files? I'm interested of the project, could you give me some advices?

@niranjanreddy891
Copy link
Author

niranjanreddy891 commented Jul 31, 2018 via email

@maryumjam
Copy link

Hi I am wondering how did you go about las/laz files. I have unlabelled asci files and las/laz files. I have converted them to hdf5 files should i sample them to 2048 randomly and what should I do about data labels.

@rohitrameshrao
Copy link

@maryumjam were you able to prepare data from las/laz?

@zazgf
Copy link

zazgf commented Dec 4, 2020

Read pcd file to arrays

import numpy as np 
import open3d as o3d
pcd = o3d.io.read_point_cloud("pointcloud_path.pcd")
out_arr = np.asarray(pcd.points)  

worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants