pointnet icon indicating copy to clipboard operation
pointnet copied to clipboard

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

Open niranjanreddy891 opened this issue 6 years ago • 8 comments

niranjanreddy891 avatar Apr 10 '18 05:04 niranjanreddy891

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.

charlesq34 avatar Apr 11 '18 19:04 charlesq34

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

niranjanreddy891 avatar Apr 12 '18 04:04 niranjanreddy891

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

DBobkov avatar Apr 27 '18 00:04 DBobkov

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

Jaiy avatar Jul 31 '18 03:07 Jaiy

I am focusing on raw format i.e., las/ laz files. :) On Tuesday, July 31, 2018, Jaiy [email protected] wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/charlesq34/pointnet/issues/96#issuecomment-409085482, or mute the thread https://github.com/notifications/unsubscribe-auth/AgSVaSuxnAlNxAtJkhwBLcKmCSkevryRks5uL9PAgaJpZM4TNo1D .

niranjanreddy891 avatar Jul 31 '18 06:07 niranjanreddy891

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.

maryumjam avatar Feb 12 '19 23:02 maryumjam

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

rohitrameshrao avatar Dec 14 '19 15:12 rohitrameshrao

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.

zazgf avatar Dec 04 '20 03:12 zazgf