MarkusEich / cpf_segmentation

Constrained Plane Fitting library for unsupervised segmentation of 3D point clouds
Apache License 2.0
81 stars 43 forks source link

cpf_segmentation

C++ library for unsupervised segmentation of 3D points via Constrained Plane Fitting.

To compile and use the library go to the src folder and

mkdir build
cd build
cmake ..
make
sudo make install

Make sure that $LD_LIBRARY_PATH is pointing to the install folder (/usr/local/lib by default).

To verify that everyting is set up properly use

pkg-config --list-all | grep segmentation

To test the library, run

./segmentation_test ../test_data/tum_small.pcd

If you want to cite this work, you can use the bibtex entry below

@inproceedings{Pham2016,
abstract = {Modern SLAM systems with a depth sensor are
able to reliably reconstruct dense 3D geometric maps of indoor
scenes. Representing these maps in terms of meaningful entities
is a step towards building semantic maps for autonomous
robots. One approach is to segment the 3D maps into semantic
objects using Conditional Random Fields (CRF), which requires
large 3D ground truth datasets to train the classification
model. Additionally, the CRF inference is often computationally
expensive. In this paper, we present an unsupervised geometricbased
approach for the segmentation of 3D point clouds into
objects and meaningful scene structures. We approximate an
input point cloud by an adjacency graph over surface patches,
whose edges are then classified as being either on or off. We
devise an effective classifier which utilises both global planar
surfaces and local surface convexities for edge classification.
More importantly, we propose a novel global plane extraction
algorithm for robustly discovering the underlying planes in the
scene. Our algorithm is able to enforce the extracted planes
to be mutually orthogonal or parallel which conforms usually
with human-made indoor environments. We reconstruct 654 3D
indoor scenes from NYUv2 sequences to validate the efficiency
and effectiveness of our segmentation method.
},
author = {Pham, Trung T. and Eich, Markus and Reid, Ian and Wyeth, Gordon}
booktitle = {2016 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS},
month = {October},
pages = {},
publisher = {IEEE},
title = {{Geometrically Consistent Plane Extraction for Dense Indoor 3D Maps Segmentation}},
year = {2016}
}