object segmentation code from point clouds