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.