Coder Social home page Coder Social logo

pointcloudsegmentation's Introduction

PointCloudSegmentation-V2

Modification: (1) use nanoflann.cpp to replace the ann library; (2) remove some cpps

Three algorithms on point cloud segmentation used in the following paper:

Pairwise Linkage for Point Cloud Segmentation, Xiaohu Lu, etc. ISPRS2016. https://github.com/xiaohulugo/xiaohulugo.github.com/blob/master/papers/PLinkage_Point_Segmentation_ISPRS2016.pdf

*The algorithm used in the ISPRS2016 paper is ClusterGrowPLinkage.cpp

Prerequisites:

  1. OpenCV > 2.4.x
  2. OpenMP

Usage:

  1. build the project with Cmake
  2. run the code
  3. see main.cpp for interfaces/demos

Docker: (For linux)

  1. Build the docker image by running docker build -t opencv:cpp . to build the docker image with name opencv and tag cpp
  2. Modify the code as you wish. Also the default data folder for test is ./data in the root path.
  3. Modify the test_segment.sh. This is the script the container will run after it is set up.
  4. Run the following command in the root path of the project.
docker run -it --rm \
    -v $(pwd):/pointSegment \
    opencv:cpp \
    /pointSegment/test_segment.sh

Performance:

Please cite these two papers if you feel this code useful:

@ARTICLE{Lu2016Pairwise,
author = {Lu, Xiaohu and Yao, Jian and Tu, Jinge and Li, Kai and Li, Li and Liu, Yahui},
title = {PAIRWISE LINKAGE FOR POINT CLOUD SEGMENTATION},
journal = {ISPRS Annals of Photogrammetry, Remote Sensing \& Spatial Information Sciences},
year = {2016},
}

}

Feel free to correct my code, if you spotted the mistakes. You are also welcomed to Email me: [email protected]

pointcloudsegmentation's People

Contributors

argan719 avatar xiaohulugo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pointcloudsegmentation's Issues

Visualization tool

Hello, @xiaohulugo ,I want to know do you have any tool to visualize the data in test_data.txt?
I find it a little complicated to use pcl_viewer visualize the data in test_data.txt.
Any help will be appreciated! Thank you!

How to extract the outline of the point cloud

Hello @xiaohulugo, I'm trying to obtain the outline of the point cloud after segmentation. However, the result is terrible as you can see in the picture, especially those in the red circle.
jietu
I'm using normal-based region growing to segmentation and I would like to use your ouP-Linkage algorithm next time.

I wonder how do you extract the outline of the point cloud as you shown in the paper,
vehicle

Any help will be appreciated! Thank you!

你好打扰下,请问这个代码跟平台有关吗?

你好打扰下,请问这个代码跟平台有关吗?我用同样的数据在windows平台和Linux平台下运行的效果不一样,并且windows平台的效果比较好,比如聚类的数量,win10下测试的为1170个,Linux下为1668,最后得到的面片数,win10下为33,linux下为89,请问这有可能是哪方面的原因?

How do I select best parameters?

Hi, Thanks for your work.

I had a Areal dataset, Which algorithm shall I use & what parameter combinations should I try?

Any pointers would help.

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.