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.