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 cloudmax_iters
- Maximum number of RANSAC iterationsthreshold
- Maximum distance for a point to be considered an inlier
§Returns
Result<(Vector4<f32>, Vec<usize>)>
- Plane coefficients and inlier indices