GithubHelp home page GithubHelp logo

sean85914 / normals_hough Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aboulch/normals_hough

0.0 1.0 0.0 1.08 MB

License: Other

CMake 0.08% C++ 99.61% Python 0.17% C 0.14% Objective-C 0.01%

normals_hough's Introduction

normals_Hough

Normal Estimation in Unstructured Point Clouds with Hough transform

Paper

Please acknowledge our reference paper :

"Fast and robust normal estimation for point clouds with sharp features" by Alexandre Boulch and Renaud Marlet, Symposium on Geometry Processing 2012 (SGP 2012) and Computer Graphics Forum

Code

The code for normal estimation is C++ hearder only. Three version are proposed, previous version are located in archives/cgal/ and archives/pcl/ relies on CGAL and PCL libriaries. The current version Normals.h relies on Eigen and nanoflann (we provide them in the third_party_includes folder).

Parameters

  • neighborhood_size (default 200) the neighborhood size for computing the normals.
  • n_planes (default 700) the number of random sample to be picked to estimate the distribution.
  • n_rot (default 5) the number of random rotations of the accumulator.
  • n_phi (default 15) the discretization of the sphere accumulator.
  • tol_angle_rad (default 0.79) the maximal angle used for normal cluster (final normal decision).
  • k_density (defautl 5) the neighborhood size for density computation.

Examples and tests

Python

Using the library with Python requires building the wrapper. All python code has been built and tested under Unbuntu 18.04 and Anaconda.

Building the wrapper

pip install -ve /path/to/notmals_Hough/

Python test

From the root directory:

python example.py

The script creates a point cloud on a cube and estimate the normals. It produces a .xyz containing both points and normals, it can be displayed using Meshlab or CloudCompare.

C++

In the folder test_cpp, the executable can be generated using CMake.

Usage

Hough_Exec [options] -i input_file.xyz -o output_file.xyz

Author webpage

Alexandre Boulch

License

The code is released under a GPLv3 license. For commercial purposes contact the authors. The detailed licence is here.

Previous versions

Previous version of the code are located in folders archives/cgal/ and archives/pcl/

normals_hough's People

Contributors

aboulch avatar asmaloney avatar hroncok avatar nirzarrabi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.