fit_box3 — 3D geometry op

数据种类:pointsprimitive

调用: import fullseye as fs; fs.ledger.fit_box3(points) -> 'dict'(要直接调用实现,import measure3d; measure3d.fit_box3(points) -> 'dict';从台账取用则 ops3d.get("fit_box3"))

用法

用 PCA 拟合有向长方体(快速、抗噪;与 `obb` 同一构造)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

`pcseg.obb but with the measure`-style dict). Axes are the principal

directions of the point spread; extents come from the projected span. Returns

`center (cd/cr/cc), axes` (3, 3 — unit ROW vectors, depth/row/col

components), sorted half-extents `l1 >= l2 >= l3, full size, volume`,

`corners` (8, 3), and the RMS point-to-box-surface distance. For the true

minimum-volume box use `smallest_box3. Raises ValueError` on < 4 points

or a degenerate (flat) set.

参考(示例数据・文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

可运行的示例(实际调用该算子并已验证的样例)

oriented_bounding_boxpy -3.11 examples_3d/oriented_bounding_box.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: measure3d.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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