fullseye

ransac_sphere — 3D robust_fit op

使い方

外れ値に頑健な RANSAC 球適合。

4 点をサンプル → 線形法(代数フィット)で球中心・半径 → |‖p-c‖ - r| < thresh の inlier を最大化 → 最終 inlier で最小二乗リフィット。配管ボール/球面計測用。

Args: points: (N,3) 点群。 thresh: inlier とみなす |距離-r| のしきい値。 iters: RANSAC 反復数。 seed: 乱数シード(決定論)。

Returns: (params, inlier_mask, info)。params = {“center”: (3,), “radius”: float}。

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(primitive を入力に取れる)

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

同カテゴリ(robust_fit)

ransac_plane · ransac_line · ransac_cylinder · fit_cone · fit_torus · fit_ellipsoid


Provenance: ransac_fit.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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