Git Product home page Git Product logo

ground-extraction-from-point-cloud's Introduction

Ground-Extraction-From-Point-Cloud

This is a software for finely removing non-ground points from point clouds. The software consists of two major steps:

  1. Coarse Removal: The program coarsely filters out non-ground points in the point cloud using a morphological operation. Although this step removes almost all of the non-ground points, it also ends up removing some of the ground points.

  2. Refinement: To compensate for the removed ground points we triangulate the coarse approximation from step 1. The program then iteratively examines the points in the original cloud to check if they can be characterized as ground points in a given TIN. If the point is determined to be a ground point and does not exist in the TIN, it is added to it.

Installation

The project requires a few open-source libraries.

OpenCV (v3.1)
PCL (v1.8)
Fade2.5D (v1.73)

3rdParty libraries used by PCL
VTK (v7.0)
Boost (v1.61)
Flann

Setup

You can find a detailed tutorial on setting up OpenCV within your Visual Studio environment here: https://www.deciphertechnic.com/install-opencv-with-visual-studio/

For installing PCL, you can check out their page. They provide pre-built binaries, but if you want to play around where their source code you can do that as well. http://www.pointclouds.org/downloads/

Fade2.5D is a great library for performing delaunay triangulation operations (2D, 2.5D and 3D). You can check out their page here for more information: http://www.geom.at/fade2d/html/

Project Properties

Inside Properties of your project,

  1. Go to C/C++ > General. Copy the path to include folders of the libraries and paste it inside Additional Include Directories. The path will look similar to C:\opencv\build\include. Then, click Apply.

  2. Go to linker > General. Copy the path to folders containing the lib files and paste it inside Additional Library Directories. The path will look similar to C:\opencv\build\x64\vc14\lib. Then, click Apply.

  3. Go to linker > Input > Additional Dependencies. Add the lib files here. Then, click Apply.

Usage

To run the program, you can use the GroundExtraction.cpp file. The program uses another program called BlockProcessor to process the point cloud block by block. Each block is limited to a maximum of 100,000 points for optimization purposes. Each block is processed to initially coarsely remove non-ground points using a morphological operation and then the approximation is refined via TIN densification. At the end each block is stitched together to form the final cloud with only the ground points.

Example

Original Point Cloud: data

Ground Points: ground

License

Free-to-use (MIT), but at your own risk.

Credits

Xiaoqian Zhao, Qinghua Guo, Yanjun Su, Baolin Xue,
Improved progressive TIN densification filtering algorithm for airborne LiDAR data in forested areas,
ISPRS Journal of Photogrammetry and Remote Sensing,
Volume 117,
2016,
Pages 79-91,
ISSN 0924-2716,
https://doi.org/10.1016/j.isprsjprs.2016.03.016.

ground-extraction-from-point-cloud's People

Contributors

fazanham avatar

Stargazers

shuai 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.