fullseye

ransac_plane — 3D robust_fit op

使い方

外れ値に頑健な RANSAC 平面適合。

3 点をサンプル → 平面法線(2 辺の外積)→ 点-平面距離 |n·(p-p0)| < thresh の inlier を最大化 → 最終 inlier で最小二乗リフィット(法線=共分散の最小主軸)。

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

Returns: (params, inlier_mask, info)。params = {“normal”: (3,), “d”: float, “point”: (3,)} で平面は normal·x + d = 0。inlier_mask=(N,) bool。

背景知識ガイド(この 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_sphere · 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.