/point-cloud-tools

Small utilities to work with point clouds

Primary LanguagePythonMIT LicenseMIT

point-cloud-tools

Small utilities to work with point clouds. Supports LAS/LAZ and E57 formats.

mountain mesh

Tools

  • Meshify: transform point clouds to mesh, with texture

Meshify

Transforms point clouds to mesh, with texture. BPA and Poisson methods implemented.

python .\src\meshify.py -h
usage: meshify.py [-h] --input INPUT [-bpa] [-poisson] [--radius RADIUS] [--depth DEPTH] [--max_triangles MAX_TRIANGLES]

Transform a point cloud into a triangle mesh

optional arguments:
  -h, --help            show this help message and exit
  --input INPUT         Path to point cloud file
  -bpa                  Use BPA strategy
  -poisson              Use Poisson strategy
  --radius RADIUS       Scale of the radius (only for BPA)
  --depth DEPTH         Increase the depth to get more details (only for Poisson)
  --max_triangles MAX_TRIANGLES
                        Reduce the output mesh to the specified triangles

Test

python .\src\meshify.py --input .\samples\mountain.las -poisson --depth 10

Origiinal mountain.las Generated mesh
mountain point cloud mountain mesh

python .\src\meshify.py --input .\samples\bunnyDouble.e57 -bpa

Origiinal doubleBunny.e57 Generated mesh
mountain point cloud mountain mesh

Known issues

  • Only one scan is supported on E57 files.
  • E57 normals are not supported.

License

This software is released under the MIT license

I built a tool to convert point clouds into triangle mesh with textures. Pretty impresive results on open surfaces, but still room for improvement on complex closed ones. Look at the code at https://github.com/emepetres/point-cloud-tools!