Function plane_segmentation_ransac

Source
pub fn plane_segmentation_ransac(
    cloud: &PointCloud<Point3f>,
    max_iters: usize,
    threshold: f32,
) -> Result<(Vector4<f32>, Vec<usize>)>
Expand description

RANSAC plane segmentation (alias for segment_plane_ransac)

This function is an alias for segment_plane_ransac to maintain compatibility with the README documentation.

§Arguments

  • cloud - Input point cloud
  • max_iters - Maximum number of RANSAC iterations
  • threshold - Maximum distance for a point to be considered an inlier

§Returns

  • Result<(Vector4<f32>, Vec<usize>)> - Plane coefficients and inlier indices