You should install all dependencies using homebrew.
brew install eigen
brew install vtk
brew install boost
brew install pcl
brew install liblas
brew install llvm
brew install make
- You may possibly have to modify the Makefile that finds, compiles and links all of the dependencies together.
- To change the input file, you should correct the argument in the Makefile under
all: main
./main <input_file>
Finally, run the program using make
.
It's a simple framework implementing 3 methods of segmentation over 2 types of files containing point clouds.
- .pcd files are natively supported through PCL.
- .las files are supported through libLAS.
- All method inherit from the
Method
class. The segmentation procedure is run through thecomputeSegmentation
method.
- RegionGrowingRGB - Uses color information for clustering instead of normals.
- MinCut - separates points into foreground and background based on a center points and radius of object.
- SAC segmentation - A family of model based methods.