geometry op• 資料種類:points → primitive
• 呼叫: import fullseye as fs; fs.ledger.fit_plane_3d(points)(要直接呼叫實作,import match3d; match3d.fit_plane_3d(points);從台帳取用則 ops3d.get("fit_plane_3d"))
點群 → 最小平方平面(過重心,法線=最小主軸,殘差 RMS)。回傳 (point, normal, resid)。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
`(N,3) の点群(列数 3 でない・3 点未満は ValueError)の重心 c` と散布行列の最小固有値の
固有ベクトルを法線にする(直交距離の二乗和を最小化。`resid = sqrt(λ_min/N)` = 面からの直交
距離の RMS)。`normal` は単位ベクトルで 符号は任意(外向きにするなら視点や重心との関係で
反転する)。3 点なら厳密に通る面で resid=0(BLAS の負の丸めは 0 に clamp)。
点が直線状(2 番目の固有値も 0)だと法線は不定。外れ値に弱い(`ransac_plane` /
`plane_segmentation` で先にインライアを取る)。3-D 専用。
後段: `distance_point_plane / angle_between_planes / intersect_planes`、高さ場の
平面度なら `surface_form_error(degree=1)`。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• geometry_metrology — py -3.11 examples_3d/geometry_metrology.py
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: match3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.