I’m new to Point Clouds and I’m very enthusiastic about the whole concept so I searched a bit and found the Point Cloud Library (PCL).
http://www.pointclouds.org
I was expecting PCL to load most of the popular point cloud file formats but as far as I can tell, PCL seems to orbit around their own file format, the PCD.
I’ve been poking around but I'd like more insights on a few things:
What are the most commonly used point cloud file formats?
Which point cloud file formats are supported through PCL?
EDIT: Is there any collections of point cloud files available? Ideally, XYZRGB to play with.
Thank you,
The Point Cloud Library (PCL) is an open-source library of algorithms for point cloud processing tasks and 3D geometry processing, such as occur in three-dimensional computer vision.
The Point Cloud Library (PCL) is a standalone, large scale, open project for 2D/3D image and point cloud processing. PCL is released under the terms of the BSD license, and thus free for commercial and research use.
A point cloud is a set of data points in space. The points may represent a 3D shape or object. Each point position has its set of Cartesian coordinates (X, Y, Z). Point clouds are generally produced by 3D scanners or by photogrammetry software, which measure many points on the external surfaces of objects around them.
Welcome to the fascinating point cloud world! If you like Python, contributions are welcome at https://github.com/daavoo/pyntcloud . /end recruiting.
What are the most commonly used point cloud file formats?
Well ... almost any general pourpose 3D file format implicitly supports point clouds because those formats usually store a bunch of polygons, and in order to define a polygon you must define it's vertices.
If you think carefully, those vertices are just point clouds.
A good example of this is the .ply file format. Wich is a common choice to export point clouds in many photogrammetry (one of the ways to generate point clouds from the real world) softwares:
Other common formats of this type are .obj , .stl , .off , and more.
This formats are designed for storing point clouds + metadata (mostly geospatial stuff).
Probably the most common is .las .
Many Lidar manufactures also have their own privative format.
If someone is into robotics, he will be into ROS.
If someone is into ROS and point clouds, he will use sensor_msgs/PointCloud2.
If someone uses sensor_msgs/PointCloud2, he will convert it to .pcd because PCL is the de facto library for working with point clouds in ROS.
In addition to all this, you can store the point cloud information in a plain text file separating the columns with comma, tab, spaces or wathever and name it .xyz, .pts or something like that. There is no standard and people just do whatever they like. ASCII formats are slow to read and memmory inefficient for big point clouds.
Which point cloud file formats are supported through PCL?
Many of the above.
http://docs.pointclouds.org/trunk/group__io.html
Is there any collections of point cloud files available? Ideally, XYZRGB to play with.
You can use one of the above mentioned photogrammetry softwares to generate point clouds yourself with just a camera. It's a lot of fun.
You can also use some 3D modeling software like Blender and then generate a point cloud from the exported mesh. I wrote a post about it:
https://medium.com/@daviddelaiglesiacastro/3d-point-cloud-generation-from-3d-triangular-mesh-bbb602ecf238
https://github.com/PointCloudLibrary/data
https://people.sc.fsu.edu/~jburkardt/data/ply/ply.html
http://opentopo.sdsc.edu/datasets?listAll=true
Spain has a national project with lidar data for all the country free to download:
http://centrodedescargas.cnig.es/CentroDescargas/index.jsp
Maybe other countries have something similar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With