fit_sphere3 — 3D geometry op

データ種: pointsprimitive

呼び出し: import fullseye as fs; fs.ledger.fit_sphere3(points) -> 'dict' (実装を直接呼ぶなら import measure3d; measure3d.fit_sphere3(points) -> 'dict'、台帳から引くなら ops3d.get("fit_sphere3"))

使い方

Algebraic (Kåsa) least-squares sphere fit to `(depth, row, col)` points:

solve `|P|^2 = 2 P·c + (r^2 - |c|^2)` in the least-squares sense — exact for

points on a sphere, a standard robust estimator under moderate noise. Returns

`center (cd/cr/cc), radius r`, and the RMS radial residual. Raises

`ValueError` on < 4 points or a coplanar set (no finite sphere).

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

• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。

• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。

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

primitive_fitting_3dpy -3.11 examples_3d/primitive_fitting_3d.py

roi_domain_boundarypy -3.11 examples_3d/roi_domain_boundary.py

型が繋がる次の 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

同カテゴリ(geometry)

line_from_2points · plane_from_3points · angle_3points · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line


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

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