ransac_sphere — 3D robust_fit op

• Data kinds: points → primitive

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

उपयोग

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

4 points sample करें → linear method (algebraic fit) से sphere का centre और radius → |‖p-c‖ - r| < thresh वाले inlier को maximise करें → अंतिम inlier पर least squares refit। pipe ball / spherical surface मापन के लिए।

Args:

points: (N,3) point cloud।

thresh: inlier मानने के लिए |distance-r| का threshold।

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

seed: random seed (deterministic)।

Returns:

(params, inlier_mask, info)। params = {"center": (3,), "radius": float}।

पृष्ठभूमि 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_plane · 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.