Git Product home page Git Product logo

cylsegment's Introduction

cylsegment

Segment point clouds into cylinder shapes based on constrained region growing

The main code about cylinder segmentation in the paper:

Xi, Z.; Hopkinson, C.; Chasmer, L. Automating Plot-Level Stem Analysis from Terrestrial Laser Scanning. Forests 2016, 7, 252.

Matlab and C++ versions are available now. New functions and python support will be added. CUDA version is also expected.

C++ Compile and build

C++ code is under the cpp folder

Required library: Armadillo, Eigen3, nanoflann

Eigen3 and nanoflann are header-only libraries. They are already included under cpp/include, no need to download additional files.

Header files of Armadillo are also included, but Armadillo also requires external library files. It is suggested to install Intel MKL (https://software.intel.com/en-us/mkl) and add libarary files (mkl_core, mkl_intel_lp64, mkl_sequential) to project.

Configure the CMakeLists.txt under cpp/include to create project files. If CMake cannot detect MKL libraries automatically, tell CMake the file path of mkl_core.lib (Windows) or libmkl_core.a(Linux).

Then compile and build the C++ project results from CMake. The final binary file is cylSegmenter(.exe)

C++ Run

Input point cloud file must be ascii format. Sample data is maple_tree_demo.txt under data. Type the following line in the command line console to see restuls. Third parameter 0.02 is 0.02m, an approximate of point resolution.

cylSegmenter.exe ../../../../data/maple_tree_demo.txt ../../../../result/maple_tree_demo_segs.txt 0.02

Snapshots

alt-text-1alt-text-2

Contact: Zhouxin Xi, [email protected]

cylsegment's People

Contributors

truebelief avatar

Watchers

 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.