Skip to content

Python wrapper around C++ utility to compute local geometric features of a point cloud

Notifications You must be signed in to change notification settings

loicland/point_geometric_features

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point Geometric Features

Linux python license

📌 Description

Python wrapper around C++ helper to compute the following local geometric features in parallel on CPU:

  • linearity
  • planarity
  • scattering
  • verticality
  • normal_x
  • normal_y
  • normal_z
  • length
  • surface
  • volume
  • curvature

🧱 Installation

Tested

# clone project
https://github.com/drprojects/point_geometric_features.git
cd point_geometric_features

# Installation in a dedicated conda environment
bash install.sh

🚀 Demo

python demo.py

💳 Credits

This implementation was largely inspired from Superpoint Graph. The main modifications here allow:

  • parallel computation on all points' local neighborhoods, with neighborhoods of varying sizes
  • more geometric features
  • some corrections on geometric features computation

License

Point Geometric Features is licensed under the MIT License.

MIT License

Copyright (c) 2021 ashleve

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Python wrapper around C++ utility to compute local geometric features of a point cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 65.7%
  • Python 25.3%
  • Shell 9.0%