Skip to content

myermo/octree-mpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipeline status Master pipeline status Dev

rule-based-classifier: C++ version.

Background

LiDAR (Light and Ranging Detection) technology has now become the quintessential technique for collecting geospatial data from the earth's surface. This code implements a method for automatic classification of objects with LiDAR data, with the aim of detecting ground, vegetation and buildings in the cloud of points.

Original project: https://gitlab.citius.usc.es/lidar/rule-based-classifier.

Install

Cloning the project

git clone https://gitlab.citius.usc.es/lidar/rule-based-classifier-cpp.git
cd rule-based-classifier-cpp

Dependencies

  • Eigen and Armadillo
    • Ubuntu
      sudo apt install libeigen3-dev libarmadillo-dev
    • ArchLinux
      sudo pacman -S eigen
      git clone https://aur.archlinux.org/armadillo.git lib/armadillo
      (cd armadillo && makepkg -si --noconfirm)

The following commands must be executed in the root folder of the project.

  • LASTools:
    wget https://lastools.github.io/download/LAStools.zip && unzip LAStools.zip -d ./lib && rm LAStools.zip
  • LASlib:
    (cd lib/LAStools && cmake . && make)

Usage

There are two ways to compile the project:

Make

In the project directory, just execute

make

An executable main is created in the same directory

CMakeLists

In the project directory, just execute

cmake -B build -DCMAKE_BUILD_TYPE=Release ..
make

This creates the executable build/rule-based-classifier-cpp.

/!\ WARNING: If cmake is executed in the project directory, the already existing Makefile will be overwrited.

Execution

${path_to_binary_executable} -i data/ptR_18C.las [-o output_dir]

Authorship

Grupo de Arquitectura de Computadores (GAC)
Centro Singular de Investigación en Tecnologías Inteligentes (CiTIUS)
Universidad de Santiago de Compostela (USC)

Maintainers:

About

Tomás García Barreiro's TFG source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published