https://github.com/edisonslightbulbs/segment
A tiny helper library for extracting an orthogonal planar surface 3D point clouds
https://github.com/edisonslightbulbs/segment
cxx11 library submodule
Last synced: 3 months ago
JSON representation
A tiny helper library for extracting an orthogonal planar surface 3D point clouds
- Host: GitHub
- URL: https://github.com/edisonslightbulbs/segment
- Owner: edisonslightbulbs
- Created: 2021-04-22T09:45:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-16T10:08:37.000Z (almost 4 years ago)
- Last Synced: 2025-01-14T09:12:14.866Z (4 months ago)
- Topics: cxx11, library, submodule
- Language: C++
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### :mortar_board: :mortar_board: :mortar_board: :mortar_board:
#### a tiny library for segmenting a 3D point cloud and extracting an orthogonal planar surface* the interface
```cpp
#include
#include "point.h"namespace region {
/** segment
* Segments a 3D point cloud and extracts an
* orthogonal planar surface.
*
* @param points
* The given set of 3D points
*
* @retval
* Set of 3D points corresponding to the
* orthogonal planar surface
*/
std::vector segment(std::vector& points);}
```
* usage example
```cpp
#include#include "point.h"
#include "region.h" // <-- include the libraryint main(int argc, char* argv[]){
logger(argc, argv);
std::vector points = readPoints();
std::vector pCloudSeg = region::segment(points);
write(pCloudSeg);return 0;
}```
###### Checkout:
* a flexible `point.h` header [here](https://github.com/edisonslightbulbs/point).
* the [`outliers`](https://github.com/edisonslightbulbs/outliers) submodule dependency
* the [`svd`](https://github.com/edisonslightbulbs/svd) submodule dependency