pub fn segment_plane_parallel(
cloud: &PointCloud<Point3f>,
threshold: f32,
max_iters: usize,
) -> Result<PlaneSegmentationResult>
Expand description
Parallel RANSAC plane segmentation for better performance on large point clouds
This version uses parallel processing to speed up the RANSAC algorithm by running multiple iterations in parallel.
§Arguments
cloud
- Input point cloudthreshold
- Maximum distance for a point to be considered an inliermax_iters
- Maximum number of RANSAC iterations
§Returns
Result<PlaneSegmentationResult>
- The best plane model and inlier indices