ransac_plane — 3D robust_fit op

• Data kinds: points → primitive

• Call: import fullseye as fs; fs.ledger.ransac_plane(points, thresh, iters=500, seed=0) (implementation को सीधे call करना हो तो import ransac_fit; ransac_fit.ransac_plane(points, thresh, iters=500, seed=0), registry से लेना हो तो ops3d.get("ransac_plane"))

उपयोग

outliers के प्रति robust RANSAC plane fitting।

3 points sample करें → plane normal (2 edges का cross product) → point-plane distance |n·(p-p0)| < thresh वाले inlier को maximise करें → अंतिम inlier पर least squares refit (normal = covariance का minor principal axis)।

Args:

points: (N,3) point cloud।

thresh: inlier मानने के लिए point-plane distance का threshold।

iters: RANSAC iterations की संख्या।

seed: random seed (deterministic)।

Returns:

(params, inlier_mask, info)। params = {"normal": (3,), "d": float, "point": (3,)}

और plane normal·x + d = 0 है। inlier_mask=(N,) bool।

पृष्ठभूमि guides (इस op के पीछे की physics और conventions)

• blas_threads_and_memory — Matrix decompositions धीमे क्यों हैं — BLAS threads, caches, memory layout

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• ransac_prim — py -3.11 examples_3d/ransac_prim.py

वे अगले ops जिनसे type जुड़ता है (primitive को input के रूप में लेते हैं)

fuse_to_voxel · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line · distance_segment_segment

इसी category के (robust_fit)

ransac_sphere · ransac_line · ransac_cylinder · fit_cone · fit_torus · fit_ellipsoid


*Provenance: ransac_fit.py — 3D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.